SDKs
mcpd exposes an HTTP REST API, so any language that can make an HTTP request can drive it. The SDKs on this page remove the boilerplate.
There are two kinds, and they answer different questions:
Client SDK
How does my application call the tools?
Your agent application
Plugin SDK
How do I intercept what passes through mcpd?
A plugin process
Client SDKs
A client SDK lists the servers mcpd manages, reads tool schemas, and calls tools from your own code.
Both follow the same shape. You construct a client against the daemon address, then reach a tool through the server that provides it:
from mcpd import McpdClient
client = McpdClient(api_endpoint="http://localhost:8090")
result = client.call.time.get_current_time(timezone="UTC")import { McpdClient } from "@mozilla-ai/mcpd";
const client = new McpdClient({ apiEndpoint: "http://localhost:8090" });
const result = await client.servers.time.tools.get_current_time({ timezone: "UTC" });Each SDK also hands a framework its tool definitions in one call, so you do not write a conversion layer. The Python SDK targets any-agent, and the JavaScript SDK targets LangChain JS and the Vercel AI SDK.
Plugin SDKs
A plugin SDK wraps the gRPC stubs generated from mcpd-proto and the startup handshake, so a plugin only has to implement the behavior you care about. Writing a Plugin covers the protocol itself.
The Python, Rust, and .NET repositories each include an examples/ directory with runnable plugins.
Community plugin SDKs
These are maintained by their authors. Mozilla AI does not maintain or test them.
No SDK for your language
Write against the API directly. The API Reference documents every endpoint, and mcpd daemon serves the same specification at /docs.
To build a plugin instead, generate stubs from mcpd-proto with your language's gRPC tooling and implement the handshake described in Writing a Plugin.
Last updated