Class BowireMcpResources

Namespace
Kuestenlogik.Bowire.Mcp
Assembly
Kuestenlogik.Bowire.Mcp.dll

MCP resource surface for the Bowire-self adapter — read-only "browse the workbench's state" endpoint pendants to the BowireMcpTools tools. Where a tool is an action the agent takes (bowire.invoke, bowire.mock.start), a resource is data the agent reads to decide what to do next.

URI shape: bowire://<collection>[/<id>]. Listing the collection without an id returns the index; appending an id returns the full item. The id space mirrors what the workbench stores on disk under ~/.bowire/.

[McpServerResourceType]
public sealed class BowireMcpResources
Inheritance
BowireMcpResources
Inherited Members

Constructors

BowireMcpResources()

public BowireMcpResources()

Methods

Collection(string)

[McpServerResource(UriTemplate = "bowire://collections/{id}", Name = "Collection", MimeType = "application/json")]
public static TextResourceContents Collection(string id)

Parameters

id string

Returns

TextResourceContents

CollectionsIndex()

[McpServerResource(UriTemplate = "bowire://collections", Name = "Collections (index)", MimeType = "application/json")]
public static TextResourceContents CollectionsIndex()

Returns

TextResourceContents

Environments()

[McpServerResource(UriTemplate = "bowire://environments", Name = "Environments", MimeType = "application/json")]
public static TextResourceContents Environments()

Returns

TextResourceContents

Flow(string)

[McpServerResource(UriTemplate = "bowire://flows/{id}", Name = "Flow", MimeType = "application/json")]
public static TextResourceContents Flow(string id)

Parameters

id string

Returns

TextResourceContents

FlowsIndex()

[McpServerResource(UriTemplate = "bowire://flows", Name = "Flows (index)", MimeType = "application/json")]
public static TextResourceContents FlowsIndex()

Returns

TextResourceContents

Plugins()

[McpServerResource(UriTemplate = "bowire://plugins", Name = "Installed plugins", MimeType = "application/json")]
public static TextResourceContents Plugins()

Returns

TextResourceContents

Recording(string)

[McpServerResource(UriTemplate = "bowire://recordings/{id}", Name = "Recording (full)", MimeType = "application/json")]
public static TextResourceContents Recording(string id)

Parameters

id string

Returns

TextResourceContents

RecordingsIndex()

[McpServerResource(UriTemplate = "bowire://recordings", Name = "Recordings (index)", MimeType = "application/json")]
public static TextResourceContents RecordingsIndex()

Returns

TextResourceContents