Documentation
¶
Overview ¶
Package mcptoolkit provides types and helpers for defining MCP-compatible tool schemas in Go, backed by the official MCP Go SDK.
Sub-packages:
- github.com/v8tix/mcp-toolkit/v2/model — Tool interface (returns *sdkmcp.Tool)
- github.com/v8tix/mcp-toolkit/v2/schema — schema builder functions
- github.com/v8tix/mcp-toolkit/v2/handler — typed execution wrappers (NewTool, Wrap)
- github.com/v8tix/mcp-toolkit/v2/registry — thread-safe tool Registry
- github.com/v8tix/mcp-toolkit/v2/observable — retry-aware execution with backoff
- github.com/v8tix/mcp-toolkit/v2/mcp — MCP client/server bridge
Directories
¶
| Path | Synopsis |
|---|---|
|
Package handler provides generic, typed execution wrappers for LLM tool calls.
|
Package handler provides generic, typed execution wrappers for LLM tool calls. |
|
Package mcp bridges the Model Context Protocol (MCP) SDK with the mcp-toolkit ecosystem.
|
Package mcp bridges the Model Context Protocol (MCP) SDK with the mcp-toolkit ecosystem. |
|
Package model defines the Tool interface used throughout mcp-toolkit.
|
Package model defines the Tool interface used throughout mcp-toolkit. |
|
Package observable wraps mcp-toolkit handler functions in cold rxgo Observables with configurable retry, exponential backoff, and error classification.
|
Package observable wraps mcp-toolkit handler functions in cold rxgo Observables with configurable retry, exponential backoff, and error classification. |
|
Package registry provides a thread-safe, ordered collection of LLM tools for use in agent dispatch loops.
|
Package registry provides a thread-safe, ordered collection of LLM tools for use in agent dispatch loops. |
|
Package schema provides LLM-tool–oriented JSON Schema builders for Go structs.
|
Package schema provides LLM-tool–oriented JSON Schema builders for Go structs. |
Click to show internal directories.
Click to hide internal directories.