Using MCP to Read API Docs
Read the P2P.ORG API documentation using our MCP server
The P2P.ORG Model Context Protocol (MCP) server connects AI-powered coding tools like Cursor or Claude Code to P2P.ORG’s API documentation, giving LLMs context for the entire API documentation. This enables developers to easily explore APIs, clarify technical questions, and streamline integrations with confidence.
Exploring the Model Context Protocol (MCP)
MCP is an open-source standard that enables AI systems to securely engage with external services and data. By leveraging the P2P.ORG MCP server, AI tools can provide context-aware support that simplifies integration and enhances development efficiency. Key benefits include:
- Providing rich context to AI systems for accurate interaction with P2P.ORG’s platform.
- Simplifying the process of clarifying and answering technical questions about APIs and features.
- Facilitating smoother and faster integration with P2P.ORG’s ecosystem through tailored support.
Note: The P2P.ORG MCP server currently supports only read and search functionalities. Direct API execution is not yet available.
Configuring the P2P.ORG MCP Server
To connect your AI tools to P2P.ORG’s resources, direct your AI tools to the MCP server at
https://docs.p2p.org/mcp
P2P.ORG hosts a remote MCP server at this URL. Configure your AI development tools to connect to this server:
Add to~/.cursor/mcp.json
:
{
"mcpServers": {
"p2p-staking": {
"url": "https://docs.p2p.org/mcp"
}
}
}
Testing Your P2P.ORG MCP Setup
Once configured, you can test your MCP server connection:
- Open your AI editor (Cursor, Windsurf, etc.)
- Start a new chat with the AI assistant
- Ask about P2P.ORG - try questions like:
- "How do I [common use case]?"
- "Show me an example of [API functionality]"
- "Create a [integration type] using P2P.ORG"
The AI should now have access to your P2P.ORG account data and documentation through the MCP server.
Alternative: Using Context7 MCP
Context7 MCP setup: Alternatively, you can reference our API documentation directly using the Context7 MCP:
- See setup instructions here: https://github.com/upstash/context7
- Reference our documentation: Context7 - P2P.ORG API Documentation Hub
Testing Your Context7 MCP Setup
Once you have set up Context7 MCP, you can ask your LLM to use it to check the P2P.ORG documentation. Here are some prompt examples:
Please read the P2P.ORG API documentation with context7 MCP and prepare for any questions I might have.
Please read the P2P.ORG API documentation with context7 MCP and tell me what are the two different ways to integrate with SSV. Make a concise table overview.
Please read the P2P.ORG API documentation with context7 MCP and tell me how many networks are supported in the Unified API. Make a concise table overview.
AI tools can make mistakes, so double-check the answer, and in case of doubt contact us: Contacts.
Updated 20 days ago