Client integrations
Set up the Meshkit MCP server in Cursor, Claude Desktop, or a remote Kubo node.
Cursor
Add to your MCP settings file (mcp.json in your Cursor config directory):
{
"mcpServers": {
"meshkit": {
"command": "npx",
"args": ["-y", "@ipfs-meshkit/mcp"],
"env": {
"MESHKIT_LOCAL_NODE": "true"
}
}
}
}If you already have Kubo running, omit MESHKIT_LOCAL_NODE and point MESHKIT_NODES at your RPC URL:
{
"mcpServers": {
"meshkit": {
"command": "npx",
"args": ["-y", "@ipfs-meshkit/mcp"],
"env": {
"MESHKIT_NODES": "http://127.0.0.1:5001"
}
}
}
}Claude Desktop
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"meshkit": {
"command": "npx",
"args": ["-y", "@ipfs-meshkit/mcp"],
"env": {
"MESHKIT_NODES": "http://127.0.0.1:5001"
}
}
}
}Restart Claude Desktop after saving the config.
Remote or authenticated Kubo
{
"mcpServers": {
"meshkit": {
"command": "npx",
"args": ["-y", "@ipfs-meshkit/mcp"],
"env": {
"MESHKIT_NODES": "https://kubo.example.com:5001",
"MESHKIT_HEADERS": "{\"Authorization\":\"Bearer YOUR_TOKEN\"}"
}
}
}
}Verify the setup
Once configured, ask your AI assistant:
"List my pinned IPFS CIDs"
or
"Upload 'Hello world' to IPFS and give me the CID"
The assistant will call ipfs_list_pins or ipfs_upload automatically.