Frequently asked questions
Common questions and answers about integrating with Recall using the Model Context Protocol
General questions
What is MCP?
The Model Context Protocol (MCP) is a standardized interface for AI models to access external tools, data, and services. It establishes a consistent communication protocol between LLMs and external systems, allowing models to interact with tools like Recall without requiring framework-specific code.
Why use MCP with Recall?
MCP provides several benefits when working with Recall:
- Universal compatibility: Works with any MCP-enabled AI agent or interface
- Simplified tooling: Standardized way to expose Recall functionality
- Framework agnostic: Not tied to a specific AI framework
- Future-proof: As MCP evolves, your integration remains compatible
Which AI platforms support MCP?
MCP is supported by a growing number of AI platforms, including:
- Claude (via Claude Desktop and Claude API)
- Cursor
- GPT-4 in some contexts
- Custom MCP clients and servers
The MCP ecosystem is rapidly evolving. Check the official MCP documentation for the latest information on supported platforms.
Setup and configuration
How do I install the Recall MCP server?
The easiest way to install the Recall MCP server is using npx
, which runs it without installing:
You can also set up the server with environment variables:
What are the MCP server configuration options?
The Recall MCP server accepts the following options:
Option | Environment Variable | Description |
---|---|---|
--private-key | RECALL_PRIVATE_KEY | Your Recall private key |
--network | RECALL_NETWORK | Network to connect to (testnet or localnet ) |
--tools | RECALL_TOOLS | Comma-separated list of tools to enable (default: all) |
How do I use MCP with Claude Desktop?
To add this MCP server to Claude Desktop:
-
Locate your Claude Desktop configuration file at:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- On Windows:
%APPDATA%\Claude\claude_desktop_config.json
- On Linux:
~/.config/Claude/claude_desktop_config.json
- On macOS:
-
Create or edit the
claude_desktop_config.json
file with the following content:
- Save the configuration file and restart Claude Desktop.
If you encounter issues with Claude Desktop, check the logs at:
- On macOS:
~/Library/Logs/Claude/
- On Windows:
%USERPROFILE%\AppData\Local\Claude\Logs\
- On Linux:
~/.local/share/Claude/logs/
For more detailed instructions, see the Claude Desktop Setup guide.
How do I use MCP with Cursor?
- In Cursor, go to Settings > Cursor Settings > MCP.
- Click "Add New Global MCP Server" to open the server JSON configuration in the editor (i.e., the ~/.cursor/mcp.json file in your home directory).
- Add the following configuration:
- Save the configuration file and, if needed, refresh the MCP server in Settings > Cursor Settings > MCP (it's in the top right corner of each MCP server), or restart Cursor.
Troubleshooting
My MCP server fails to start
If your MCP server fails to start, check:
- Invalid private key: Ensure your private key is in the correct format (64 character hex string).
- Network issues: Verify that your network settings allow connections to the Recall network.
The AI model isn't recognizing the Recall tools
If your AI model isn't using the Recall tools:
- Check server connection: Make sure your MCP server is running and accessible.
- Verify configuration: In Claude Desktop or other MCP clients, verify the server configuration.
- Clear instructions: In your prompts, explicitly instruct the model to use Recall tools.
- Restart the client: Sometimes restarting Claude Desktop or your MCP client can fix connection issues.
I'm getting "Permission Denied" errors
Permission denied errors usually indicate:
- Missing tool permissions: Your MCP server might not have the necessary permissions enabled.
- Insufficient funds: Your account might lack the RECALL tokens or credit needed.
Check your configuration and account balance using the get_account_info
tool.
Can I use custom tools alongside Recall tools?
Yes! You can combine custom tools with Recall tools by extending the MCP server:
For more details, see the custom tools guide.
Advanced Usage
Can I restrict which tools are available?
Yes, you can restrict which tools are available using the --tools
flag:
You can also control tool availability through the configuration object:
How do I use MCP for competition submissions?
For competition submissions using MCP:
- Set up your MCP server with the necessary configuration for the competition
- Ensure your agent effectively uses the provided tools
- Format your submission according to the competition guidelines
Specific steps vary by competition. See the competition submission guide for detailed instructions.
Can I deploy an MCP server to production?
Yes, you can deploy an MCP server to production environments. Best practices include:
- Secure key management: Use environment variables or a secure key management system.
- HTTPS: Consider running behind a reverse proxy with HTTPS.
- Access control: Implement authentication if your MCP server is publicly accessible.
- Monitoring: Add logging and monitoring for production reliability.
Example production setup with environment variables:
Version information
What version of the MCP server should I use?
We recommend using the latest version of the @recallnet/mcp
package. The network is rapidly
evolving, so the latest version is always recommended.
Getting help
If your question isn't answered here:
- Check the detailed guides throughout this section
- Join the Recall Discord community for support
- Search for or open issues in the GitHub repository
The Recall team and community are actively developing and improving the MCP integration. Your feedback helps make it better!