mcptoolkit

package module
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL