Directories
¶
| Path | Synopsis |
|---|---|
|
Package a2a implements an A2A (Agent-to-Agent) Protocol v1.0 bridge for mcpkit.
|
Package a2a implements an A2A (Agent-to-Agent) Protocol v1.0 bridge for mcpkit. |
|
Package a2h provides types for the Agent-to-Human (A2H) protocol.
|
Package a2h provides types for the Agent-to-Human (A2H) protocol. |
|
Package agent provides core types for agent execution threads and events.
|
Package agent provides core types for agent execution threads and events. |
|
Package auth provides authentication and authorization utilities for MCP servers.
|
Package auth provides authentication and authorization utilities for MCP servers. |
|
Package bootstrap provides agent workspace initialization and capability reporting.
|
Package bootstrap provides agent workspace initialization and capability reporting. |
|
bridge
|
|
|
a2a
Package a2a implements a bidirectional bridge between MCP (Model Context Protocol) tool registries and the A2A (Agent-to-Agent) Protocol v1.0.
|
Package a2a implements a bidirectional bridge between MCP (Model Context Protocol) tool registries and the A2A (Agent-to-Agent) Protocol v1.0. |
|
openapi
Package openapi bridges OpenAPI v3 specifications to MCP tool registries.
|
Package openapi bridges OpenAPI v3 specifications to MCP tool registries. |
|
Package client provides shared HTTP client utilities for MCP tool modules.
|
Package client provides shared HTTP client utilities for MCP tool modules. |
|
cmd
|
|
|
rdloop
command
Command rdloop runs autonomous R&D cycles using the Ralph Loop pattern.
|
Command rdloop runs autonomous R&D cycles using the Ralph Loop pattern. |
|
Package device provides cross-platform abstractions for input device discovery, connection, event reading, and feedback output.
|
Package device provides cross-platform abstractions for input device discovery, connection, event reading, and feedback output. |
|
Package discovery provides MCP Registry integration for server discovery, publishing, metadata extraction, and server card serving.
|
Package discovery provides MCP Registry integration for server discovery, publishing, metadata extraction, and server card serving. |
|
Package dispatcher provides a priority worker pool with concurrency groups and middleware integration for controlled parallel tool execution.
|
Package dispatcher provides a priority worker pool with concurrency groups and middleware integration for controlled parallel tool execution. |
|
Package eval provides an evaluation framework for scoring MCP tool accuracy.
|
Package eval provides an evaluation framework for scoring MCP tool accuracy. |
|
ab
Package ab provides a framework for A/B testing prompt variants.
|
Package ab provides a framework for A/B testing prompt variants. |
|
examples
|
|
|
a2a-bridge
command
Command a2a-bridge demonstrates exposing mcpkit MCP tools as an A2A agent.
|
Command a2a-bridge demonstrates exposing mcpkit MCP tools as an A2A agent. |
|
elicitation
command
Command elicitation demonstrates MCP elicitation patterns for requesting additional information from the client during tool execution.
|
Command elicitation demonstrates MCP elicitation patterns for requesting additional information from the client during tool execution. |
|
full
command
Command full demonstrates a production-grade mcpkit MCP server with the full middleware stack: lifecycle, observability, finops, truncate, sanitize, security, and resilience.
|
Command full demonstrates a production-grade mcpkit MCP server with the full middleware stack: lifecycle, observability, finops, truncate, sanitize, security, and resilience. |
|
gateway
command
Command gateway demonstrates a production-grade mcpkit gateway server that aggregates tools from multiple upstream MCP servers into a single namespaced registry.
|
Command gateway demonstrates a production-grade mcpkit gateway server that aggregates tools from multiple upstream MCP servers into a single namespaced registry. |
|
http
command
Command http demonstrates a production-grade mcpkit StreamableHTTP server.
|
Command http demonstrates a production-grade mcpkit StreamableHTTP server. |
|
minimal
command
Command minimal demonstrates the simplest possible mcpkit MCP server.
|
Command minimal demonstrates the simplest possible mcpkit MCP server. |
|
rdcycle
command
Command rdcycle demonstrates the full R&D cycle: research + roadmap + rdcycle modules registered on a tool registry, wired into a workflow graph, and executed via ralph's WorkflowLoop.
|
Command rdcycle demonstrates the full R&D cycle: research + roadmap + rdcycle modules registered on a tool registry, wired into a workflow graph, and executed via ralph's WorkflowLoop. |
|
stateless-http
command
Command stateless-http demonstrates a horizontally scalable MCP server with Redis-backed sessions.
|
Command stateless-http demonstrates a horizontally scalable MCP server with Redis-backed sessions. |
|
truncate-demo
command
Command truncate-demo demonstrates the truncation middleware, which limits response size to prevent oversized payloads from consuming model context.
|
Command truncate-demo demonstrates the truncation middleware, which limits response size to prevent oversized payloads from consuming model context. |
|
Package extensions implements MCP Extensions negotiation and capability handshake.
|
Package extensions implements MCP Extensions negotiation and capability handshake. |
|
Package finops provides token accounting, budget policies, dollar-cost estimation, and usage tracking for MCP servers.
|
Package finops provides token accounting, budget policies, dollar-cost estimation, and usage tracking for MCP servers. |
|
Package gateway aggregates tools from multiple upstream MCP servers into a single namespaced registry.
|
Package gateway aggregates tools from multiple upstream MCP servers into a single namespaced registry. |
|
adapter
Package adapter defines the ProtocolAdapter interface for multi-protocol agent gateway support.
|
Package adapter defines the ProtocolAdapter interface for multi-protocol agent gateway support. |
|
multi
Package multi implements a multi-protocol HTTP gateway for mcpkit.
|
Package multi implements a multi-protocol HTTP gateway for mcpkit. |
|
Package handler provides helpers for building MCP tool handlers.
|
Package handler provides helpers for building MCP tool handlers. |
|
Package handoff implements the agent delegation protocol for MCP servers.
|
Package handoff implements the agent delegation protocol for MCP servers. |
|
Package health provides an HTTP health check endpoint and checker registry for MCP servers.
|
Package health provides an HTTP health check endpoint and checker registry for MCP servers. |
|
Package hitools provides human interaction MCP tools built on mcpkit's elicitation primitives.
|
Package hitools provides human interaction MCP tools built on mcpkit's elicitation primitives. |
|
Package lifecycle provides a production server lifecycle manager with OS signal handling, graceful drain, and LIFO shutdown hooks.
|
Package lifecycle provides a production server lifecycle manager with OS signal handling, graceful drain, and LIFO shutdown hooks. |
|
Package logging bridges the standard slog package with MCP clients.
|
Package logging bridges the standard slog package with MCP clients. |
|
Package mcptest provides testing infrastructure for MCP tool handlers.
|
Package mcptest provides testing infrastructure for MCP tool handlers. |
|
Package memory provides an agent memory registry with pluggable storage backends.
|
Package memory provides an agent memory registry with pluggable storage backends. |
|
middleware
|
|
|
debug
Package debug provides structured-logging middleware for mcpkit tool invocations.
|
Package debug provides structured-logging middleware for mcpkit tool invocations. |
|
gate
Package gate provides a ToolCallGate middleware that pauses between tool selection and execution.
|
Package gate provides a ToolCallGate middleware that pauses between tool selection and execution. |
|
prefetch
Package prefetch provides context pre-loading middleware for mcpkit tool invocations.
|
Package prefetch provides context pre-loading middleware for mcpkit tool invocations. |
|
truncate
Package truncate provides response-size-limiting middleware for mcpkit tool invocations.
|
Package truncate provides response-size-limiting middleware for mcpkit tool invocations. |
|
Package notify provides a notification abstraction with pluggable backends.
|
Package notify provides a notification abstraction with pluggable backends. |
|
Package observability provides OpenTelemetry tracing and metrics for MCP servers via a drop-in registry.Middleware.
|
Package observability provides OpenTelemetry tracing and metrics for MCP servers via a drop-in registry.Middleware. |
|
Package orchestrator provides multi-agent execution patterns for composing MCP tool calls.
|
Package orchestrator provides multi-agent execution patterns for composing MCP tool calls. |
|
Package prompts provides a registry for MCP prompt templates.
|
Package prompts provides a registry for MCP prompt templates. |
|
Package protocol provides MCP specification-compliant JSON-RPC 2.0 types, error codes, and helpers for building spec-conformant MCP servers.
|
Package protocol provides MCP specification-compliant JSON-RPC 2.0 types, error codes, and helpers for building spec-conformant MCP servers. |
|
Package ralph implements the Ralph Loop pattern — an autonomous iterative task runner for MCP-based agents.
|
Package ralph implements the Ralph Loop pattern — an autonomous iterative task runner for MCP-based agents. |
|
Package rdcycle provides R&D cycle orchestration tools for autonomous MCP development loops.
|
Package rdcycle provides R&D cycle orchestration tools for autonomous MCP development loops. |
|
compat.go — MCP SDK compatibility / migration adapter layer (mcp-go variant).
|
compat.go — MCP SDK compatibility / migration adapter layer (mcp-go variant). |
|
tasks
Package tasks provides async task lifecycle management for long-running MCP tool operations.
|
Package tasks provides async task lifecycle management for long-running MCP tool operations. |
|
Package research provides MCP ecosystem monitoring and viability assessment tools.
|
Package research provides MCP ecosystem monitoring and viability assessment tools. |
|
Package resilience provides fault-tolerance primitives for MCP tool handlers.
|
Package resilience provides fault-tolerance primitives for MCP tool handlers. |
|
Package resources provides a registry for MCP resources and resource templates.
|
Package resources provides a registry for MCP resources and resource templates. |
|
Package roadmap provides machine-readable roadmap management for MCP projects.
|
Package roadmap provides machine-readable roadmap management for MCP projects. |
|
Package roots provides client workspace root discovery for MCP servers.
|
Package roots provides client workspace root discovery for MCP servers. |
|
Package sampling provides a client interface, context helpers, and request builders for requesting LLM completions through the MCP sampling protocol.
|
Package sampling provides a client interface, context helpers, and request builders for requesting LLM completions through the MCP sampling protocol. |
|
Package sanitize provides input validation, output redaction, and URI security for MCP tool parameters.
|
Package sanitize provides input validation, output redaction, and URI security for MCP tool parameters. |
|
Package secrets provides a unified interface for retrieving secrets from multiple sources with caching and sanitization.
|
Package secrets provides a unified interface for retrieving secrets from multiple sources with caching and sanitization. |
|
providers
Package providers implements concrete secret provider backends for the mcpkit secrets framework.
|
Package providers implements concrete secret provider backends for the mcpkit secrets framework. |
|
Package security provides RBAC, audit logging, audit export, and tenant context propagation for MCP servers.
|
Package security provides RBAC, audit logging, audit export, and tenant context propagation for MCP servers. |
|
Package session provides session management for MCP servers.
|
Package session provides session management for MCP servers. |
|
Package skills provides context-aware lazy tool loading for MCP agents.
|
Package skills provides context-aware lazy tool loading for MCP agents. |
|
Package slogcfg provides a shared structured logging configuration for MCP servers.
|
Package slogcfg provides a shared structured logging configuration for MCP servers. |
|
testing
|
|
|
benchmark
Package benchmark provides cross-protocol performance benchmarks for mcpkit.
|
Package benchmark provides cross-protocol performance benchmarks for mcpkit. |
|
conformance
Package conformance provides the "everything-server" for MCP conformance testing.
|
Package conformance provides the "everything-server" for MCP conformance testing. |
|
conformance/cmd
command
Command conformance-server runs the mcpkit everything-server on stdio for the official MCP conformance suite.
|
Command conformance-server runs the mcpkit everything-server on stdio for the official MCP conformance suite. |
|
tck
Package tck provides a Technology Compatibility Kit for mcpkit servers.
|
Package tck provides a Technology Compatibility Kit for mcpkit servers. |
|
Package toolindex provides discovery meta-tools for MCP tool registries.
|
Package toolindex provides discovery meta-tools for MCP tool registries. |
|
Package transport provides a transport abstraction layer for MCP servers.
|
Package transport provides a transport abstraction layer for MCP servers. |
|
Package trigger provides types and a registry for managing event sources that initiate agent actions.
|
Package trigger provides types and a registry for managing event sources that initiate agent actions. |
|
Package workflow provides a cyclical graph engine for building stateful agent workflows with conditional branching, checkpoints, and rollback.
|
Package workflow provides a cyclical graph engine for building stateful agent workflows with conditional branching, checkpoints, and rollback. |
Click to show internal directories.
Click to hide internal directories.