Documentation
¶
Overview ¶
Package mcpkit is the module root for shared primitives that build MCP servers on the official go-sdk. Functionality lives in subpackages: server (transport serving), toolkit (tool registration), elicit (write-tool confirmation), openapi (schema assembly), validate (input validators), and mcptest (in-memory test sessions). Each subpackage exports its own errors.Is-matchable sentinels.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package elicit provides the shared MCP elicitation gate and write-tool sentinels used by the toolkit's write-tool builder.
|
Package elicit provides the shared MCP elicitation gate and write-tool sentinels used by the toolkit's write-tool builder. |
|
Package mcptest provides helpers to drive a registered MCP server over the SDK's in-memory transport, for end-to-end tool tests.
|
Package mcptest provides helpers to drive a registered MCP server over the SDK's in-memory transport, for end-to-end tool tests. |
|
Package openapi assembles per-tool JSON Schemas for MCP tools from a dereferenced OpenAPI document.
|
Package openapi assembles per-tool JSON Schemas for MCP tools from a dereferenced OpenAPI document. |
|
Package registry collects MCP tool registrations as plain descriptors and binds them to a server in one pass, so the catalogue can be enumerated and filtered without a live server.
|
Package registry collects MCP tool registrations as plain descriptors and binds them to a server in one pass, so the catalogue can be enumerated and filtered without a live server. |
|
Package server provides MCP transport serving (stdio/http/both) and the Transport type shared across acidsailor MCP servers.
|
Package server provides MCP transport serving (stdio/http/both) and the Transport type shared across acidsailor MCP servers. |
|
Package toolkit provides a generic fluent builder for registering JSON MCP tools on a server.
|
Package toolkit provides a generic fluent builder for registering JSON MCP tools on a server. |
|
Package validate provides small, generic request validators for MCP tools.
|
Package validate provides small, generic request validators for MCP tools. |
Click to show internal directories.
Click to hide internal directories.