Proto Server
Enables AI assistants to explore and understand Protocol Buffer (.proto) files through fuzzy search, service definitions, and message structure analysis. Integrates with Cursor IDE to provide natural language queries about protobuf schemas and API definitions.
README
Quick Start Guide
Get up and running with MCP Proto Server in under 5 minutes.
Prerequisites
- Python 3.11 or later
- pip package manager
Setup Steps
Step 1: Clone the Repository
git clone https://github.com/umuterturk/mcp-proto.git
cd mcp-proto
Step 2: Install Dependencies
⚠️ Required: You must manually install Python dependencies.
pip install -r requirements.txt
This installs:
mcp- Model Context Protocol SDKprotobuf- Proto parsing supportrapidfuzz- Fast fuzzy searchwatchdog- File watching (optional)
Step 3: Configure Cursor
Add to your Cursor MCP settings file:
macOS: ~/Library/Application Support/Cursor/mcp.json
Windows: %APPDATA%\Cursor\mcp.json
{
"mcpServers": {
"proto-server": {
"command": "python",
"args": [
"/absolute/path/to/mcp-proto/mcp_proto_server.py",
"--root",
"/absolute/path/to/your/proto/files"
]
}
}
}
Important:
- Use absolute paths (not relative)
- Replace
/absolute/path/to/mcp-proto/with your clone location - Replace
/absolute/path/to/your/proto/fileswith your proto directory - Or use the included
examples/folder to test
Example for macOS:
{
"mcpServers": {
"proto-server": {
"command": "python",
"args": [
"/Users/yourname/mcp-proto/mcp_proto_server.py",
"--root",
"/Users/yourname/mcp-proto/examples"
]
}
}
}
Step 4: Restart Cursor
Close and reopen Cursor. The server will automatically start!
Note: Cursor automatically starts/stops the server. You don't need to run it manually.
Usage
Once configured, ask Cursor questions about your proto files:
- "What services are available?"
- "Show me the User message structure"
- "How do I authenticate?"
The AI will use three MCP tools to explore your protos:
search_proto- Fuzzy search across all definitionsget_service_definition- Get complete service with all RPCsget_message_definition- Get message with all fields
Troubleshooting
"Module not found" error:
- Run:
pip install -r requirements.txt - Check Python version:
python --version(need 3.11+)
"No proto files found":
- Verify the
--rootpath in your config points to a directory with.protofiles - Test:
find /path/to/protos -name "*.proto"
Server not appearing in Cursor:
- Ensure absolute paths are used in
mcp.json - Check Cursor's MCP logs for errors
- Restart Cursor completely
Optional: Testing Before Configuration
Want to verify everything works before configuring Cursor?
Step 3: Test the Installation (Optional)
Run the test suite:
python test_server.py
Expected output:
✓ Indexed 3 proto files
✓ Indexing: PASSED
✓ Search: PASSED
✓ Get Service: PASSED
✓ Get Message: PASSED
✓ Fuzzy Matching: PASSED
Or test the server manually:
# Test with included examples
python mcp_proto_server.py --root examples/
# Test with your own protos
python mcp_proto_server.py --root /path/to/your/protos
Press Ctrl+C to stop the server.
What's Next?
- USAGE.md - Detailed examples and JSON responses
- ARCHITECTURE.md - How the system works
- RECURSIVE_RESOLUTION.md - Efficiency features
Ready to explore your proto files with AI!
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.