Skip to main content

MCP server

Model Context Protocol (MCP) is an open standard that lets AI assistants securely access external data sources. Privy’s MCP server connects your AI coding assistant directly to our documentation, giving it live access to search and retrieve the exact information you need in real time.

Setup with Cursor

1

Open MCP settings

In Cursor, open Settings and navigate to Tools & MCP, then click Add MCP Server
2

Add Privy docs server

In the mcp.json configuration file, add:
{
  "mcpServers": {
    "privy-docs": {
      "url": "https://docs.privy.io/mcp"
    }
  }
}
3

Save and restart

Save the file and restart Cursor to apply the changes
4

Start building

Your AI assistant can now access Privy docs in real time. Try asking: “How do I add Privy login to my React app?”

Setup with Claude Desktop

1

Find your config file

Open your Claude Desktop configuration file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
2

Add Privy MCP server

Add this to the mcpServers section:
{
  "mcpServers": {
    "privy-docs": {
      "url": "https://docs.privy.io/mcp"
    }
  }
}
3

Restart Claude

Restart Claude Desktop to load the new server
4

Verify it works

Ask Claude: “Search Privy docs for wallet creation” to test the connection

Static docs file

If your AI tool doesn’t support MCP yet, you can use a static documentation file instead. This gives your AI assistant the entire Privy documentation as one text file.
The static llms-full.txt file is a snapshot and may not include the latest updates. Use MCP when possible for always current docs.

Setup with Cursor

1

Open docs settings

Go to Settings > Features > Docs
2

Add Privy docs

Click “Add new doc” and paste: https://docs.privy.io/llms-full.txt
3

Reference in chat

Use @docs -> Privy in your AI chat to reference the documentation

Setup with Claude Desktop

1

Download the docs file

Download the static documentation file from: https://docs.privy.io/llms-full.txt
2

Add to your project

Save the file in your project directory or a known location on your system
3

Reference in chat

Drag and drop the file into your Claude Desktop chat, or use the attachment button to upload it. Claude will then have access to the full Privy documentation for that conversation