Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ __pycache__/
*.pb.go
*_pb2.py
.superpowers/
docs/superpowers/
sdk/rust/target/
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Max Silverblatt

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ protomcp is a language-agnostic MCP runtime. Write your server logic in Python,

pmcp uses the [official MCP Go SDK](https://github.com/modelcontextprotocol/go-sdk) for full spec compliance. Your code registers tools, resources, and prompts through a simple protobuf protocol over a unix socket. pmcp handles everything else — protocol negotiation, transport, pagination, session management, and hot reload.

The unix socket + protobuf layer adds ~0.5ms of overhead per tool call.

## Quick Start

### Install
Expand All @@ -29,6 +31,22 @@ pmcp uses the [official MCP Go SDK](https://github.com/modelcontextprotocol/go-s
brew install msilverblatt/tap/protomcp
```

### Install SDK

```sh
# Python
pip install protomcp

# TypeScript
npm install protomcp

# Go
go get github.com/msilverblatt/protomcp/sdk/go/protomcp

# Rust
# Add to Cargo.toml: protomcp = "0.1"
```

### Python

```python
Expand Down Expand Up @@ -346,7 +364,7 @@ See the [full documentation](https://msilverblatt.github.io/protomcp/) for detai

protomcp is not a replacement for the official MCP SDKs — it's built on top of the [official Go SDK](https://github.com/modelcontextprotocol/go-sdk). Use protomcp when:

- **You want one server in multiple languages** — write tools in Python, prompts in TypeScript, resources in Go, all served by a single MCP server
- **You want the same API across languages** — switch between Python, TypeScript, Go, and Rust with identical concepts and patterns
- **You want zero-config hot reload** — save a file, everything reloads instantly
- **You don't want to learn MCP internals** — no JSON-RPC, no transport wiring, no session management
- **You want a single binary** — `pmcp` is a single Go binary, no runtime dependencies for the server itself
Expand Down
Loading
Loading