AgentRPC
AgentRPC allows you to connect to any function, in any language, across network boundaries. It's ideal when you have services deployed in:
Overview
Private VPCs
Kubernetes clusters
Multiple cloud environments
AgentRPC wraps your functions in a universal RPC interface, connecting them to a hosted RPC server accessible through open standards:
Model Context Protocol (MCP)
OpenAI-compatible tool definitions (OpenAI, Anthropic, LiteLLM, OpenRouter, etc.)
How It Works
Registration: Use our SDK to register functions and APIs in any language
Management: The AgentRPC platform (api.agentrpc.com) registers the function and monitors its health
Access: Receive OpenAPI SDK compatible tool definitions and a hosted MCP server for connecting to compatible agents
Key Features
FeatureDescriptionMulti-language SupportConnect to tools in TypeScript, Go, Python and .NET (coming soon)Private Network SupportRegister functions in private VPCs with no open ports requiredLong-running FunctionsLong polling SDKs allow function calls beyond HTTP timeout limitsFull ObservabilityComprehensive tracing, metrics, and events for complete visibilityAutomatic FailoverIntelligent health tracking with automatic failover and retriesFramework CompatibilityOut-of-the-box support for MCP and OpenAI SDK compatible agents
Getting Started
Quick Start
Follow the quick start example on our docs site.
MCP Server
The AgentRPC TypeScript SDK includes an optional MCP (Model Context Protocol) server.
ANGENTRPC_API_SECRET=YOUR_API_SECRET npx agentrpc mcp
This launches an MCP-compliant server for external AI models to interact with your registered tools.
Claude Desktop Integration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"agentrpc": {
"command": "npx",
"args": [
"-y",
"agentrpc",
"mcp"
],
"env": {
"AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
}
}
}
}
Cursor Integration
Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"agentrpc": {
"command": "npx",
"args": ["-y", "agentrpc", "mcp"],
"env": {
"AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
}
}
}
}
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
This repository contains all the open-source components and SDKs for AgentRPC.
Installation
Visit the GitHub repository for installation instructions and setup guide.
View installation guide