# pmcp

A Rust toolkit for building MCP servers, including config-driven options that need no Rust code. Use it to expose SQL databases or REST APIs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 52
- Author: paiml
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/paiml/rust-mcp-sdk
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/mcp/pmcp

## What it does

pmcp brings together a Rust SDK for the Model Context Protocol and tools for building servers. SQL and OpenAPI/HTTP servers can be described in `config.toml` and run with a prebuilt binary; an Excel workbook can be compiled into a bundle and served. The ecosystem also includes the `cargo pmcp` CLI, agent tooling, and a reference book.

SQL examples cover SQLite, Postgres, MySQL, and Athena. OpenAPI/HTTP servers support six outgoing-auth models, and demo configurations for live APIs require any credentials specified by their instructions. For a project you want to extend, `cargo pmcp new` scaffolds a Rust crate. Deployment targets include AWS Lambda, Google Cloud Run, and Cloudflare.

This is a development toolkit, not a ready-made database connection. Choose a server package and prepare its configuration or workbook first.

## Requirements
- Needs: a prebuilt binary from the repository releases

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- create a config-driven MCP server for a SQL database
- connect a REST backend through OpenAPI
- expose Excel output tables as MCP tools
- scaffold a Rust server for deployment

## Example prompts
- Build an MCP server for this SQL database from a configuration.
- Set up a server for this REST API using its OpenAPI description.
- Show me which tools would come from `pricing.xlsx`.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
