AgentRPC + Windsurf Editor: Complete MCP Integration
AgentRPC is a MCP server that Connect to any function, any language, across network boundaries using AgentRPC..
When integrated with Windsurf Editor, you can:
- Register functions across languages and networks
- Call functions across network boundaries
- List all registered functions across languages
This guide provides step-by-step instructions to set up AgentRPC in Windsurf Editor, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- AgentRPC will be fully integrated and operational
- You can use AgentRPC tools directly in Windsurf Editor
- All AgentRPC capabilities will be available for your workflows
- Access to 4 different tools
Prerequisites
Before starting, ensure you have:
- API secret from AgentRPC dashboard
- Windsurf Editor installed and configured
- Compatible operating system (Desktop App)
Installation
Step 1: Install AgentRPC
Configuration
Step 2: Configure Windsurf Editor
-
Locate your configuration file:
- Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json - macOS:
~/.codeium/windsurf/mcp_config.json - Linux:
~/.codeium/windsurf/mcp_config.json
- Windows:
-
Add server configuration:
{
"mcpServers": {
"agentrpc": {
"command": "agentrpc",
"args": []
}
}
}
Note: If AgentRPC requires environment variables, add them to the server configuration:
"env": {
"AGENTRPC_API_SECRET": "rpc_secret_1234567890",
"AGENTRPC_NAMESPACE": "my-team-functions"
}
- Restart Windsurf Editor
Completely quit and restart Windsurf Editor to load the new configuration.
Examples
Once configured, you can use AgentRPC in Windsurf Editor:
Multi-Language Microservices
undefined
Ask Windsurf Editor: "Call Python ML model from TypeScript app via Go API"
Expected Result: undefined
Cross-Cloud Function Calls
undefined
Ask Windsurf Editor: "Execute distributed data processing across three clouds"
Expected Result: undefined
Kubernetes Function Registry
undefined
Ask Windsurf Editor: "List available functions in production cluster"
Expected Result: undefined
Testing Your Setup
- Launch Windsurf Editor
- Verify AgentRPC is available in the tools list
- Test basic AgentRPC functionality
Troubleshooting
Common Issues
Tools Not Appearing
Symptoms: Cascade does not see new tools, Hammer icon missing
Cause: Configuration syntax error or server failed to start.
Solution:
- Check the JSON configuration for syntax errors.
- Verify the command (e.g.,
npx,python) is in your system PATH. - Check Windsurf logs for MCP connection errors.
Environment Variables
Symptoms: Authentication failed, Permission denied
Cause: Missing API keys in configuration.
Solution:
- Ensure
envblock is correctly defined inside the server config. - Restart Windsurf after changing environment variables.
AgentRPC not appearing in Windsurf Editor
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check AgentRPC installation
- Restart Windsurf Editor
- Check logs for error messages
Next Steps
Now that AgentRPC is integrated with Windsurf Editor:
- Explore all AgentRPC capabilities through Windsurf Editor
- Check out other MCP servers that work with Windsurf Editor
- Join the MCP community for tips and support
- Consider contributing to AgentRPC development
Need Help?
- Search for AgentRPC documentation
- Check the Windsurf Editor MCP guide
- Join the MCP community discussions