Pmcp vs python-sdk
Pmcp is an open-source MCP server for developer tools. python-sdk is an open-source MCP server for developer tools.
- Pmcp is best for building a rust mcp server that exposes internal apis to ai assistants.
- python-sdk is best for exposing internal python functions to an llm assistant as mcp tools.
- What it is
- Pmcp is an open-source MCP server for developer tools.python-sdk is an open-source MCP server for developer tools.
- Best for
- Building a Rust MCP server that exposes internal APIs to AI assistantsExposing internal Python functions to an LLM assistant as MCP tools
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, API, Linux, macOS, Windows, WebCLI, API, self-hosted
- GitHub stars
- 24.9K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Building a Rust MCP server that exposes internal APIs to AI assistants; Putting a SQL database behind MCP with curated tools and a restricted query mode; Testing an existing MCP server for protocol compliance in CIExposing internal Python functions to an LLM assistant as MCP tools; Prototyping and testing an MCP server with the Inspector before deployment; Writing a Python client that calls tools on remote MCP servers
What Pmcp does
Typed tool definitions
Tool arguments and outputs derive JSON schemas automatically from Rust types using schemars.
Multiple transports
Servers can run over stdio, Streamable HTTP with SSE, WebSocket, or WASM targets such as Cloudflare Workers.
Config-driven servers
SQL and OpenAPI backends can be exposed as MCP servers from a config.toml file without writing Rust.
Dual protocol era support
One binary answers both MCP 2025-11-25 and 2026-07-28 clients, negotiated per request.
OAuth and middleware
Includes OAuth 2.0 context pass-through, bearer tokens, and Tower middleware for DNS rebinding protection and CORS.
Scaffolding and testing CLI
cargo-pmcp scaffolds workspaces, runs dev mode, generates scenario tests and load tests.
What python-sdk does
Decorator-based tool definitions
Plain Python functions with type hints and docstrings are registered as MCP tools and resources.
Client and server in one package
The same library provides classes for connecting to MCP servers as well as for hosting them.
Multiple transports
Supports stdio, Streamable HTTP and SSE connections.
MCP Inspector integration
The mcp dev command starts the Inspector so you can call tools and read resources interactively.
FastAPI and Starlette mounting
The docs describe adding an MCP server to an existing FastAPI or Starlette application.
Published documentation
Includes a get-started guide, API reference, migration guide and llms.txt index.
Pmcp vs python-sdk: questions
Is Pmcp or python-sdk cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Pmcp and python-sdk?
Pmcp is an open-source MCP server for developer tools. python-sdk is an open-source MCP server for developer tools.
