AgentRPC

by agentrpc

61 stars
2.2k downloads
Not rated
GitHub Website

About

Connect to any function, any language, across network boundaries using [AgentRPC](https://www.agentrpc.com/).

Details

Author
agentrpc
Repository
agentrpc/agentrpc
GitHub stars
61
Downloads
2,187
License
Apache License 2.0
Categories
Communication, Productivity, Developer Tools, Design, AI, Cloud Service, Infrastructure, Other

| Feature | Description |
|---------|-------------|
| Multi-language Support | Connect to tools in TypeScript, Go, Python and .NET (coming soon) |
| Private Network Support | Register functions in private VPCs with no open ports required |
| Long-running Functions | Long polling SDKs allow function calls beyond HTTP timeout limits |
| Full Observability | Comprehensive tracing, metrics, and events for complete visibility |
| Automatic Failover | Intelligent health tracking with automatic failover and retries |
| Framework Compatibility | Out-of-the-box support for MCP and OpenAI SDK compatible agents |

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name AgentRPC
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 agentrpc
    • Argument 3 mcp
    Environment
    • AGENTRPC_API_SECRET <YOUR_API_SECRET>

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Follow the quick start example on our docs site.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "agentrpc": {
            "env": {
                "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
            },
            "args": [
                "-y",
                "agentrpc",
                "mcp"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
    },
    "args": [
        "-y",
        "agentrpc",
        "mcp"
    ],
    "command": "npx"
}

Macos

{
    "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
    },
    "args": [
        "-y",
        "agentrpc",
        "mcp"
    ],
    "command": "npx"
}

Windows

{
    "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
    },
    "args": [
        "/c",
        "npx",
        "-y",
        "agentrpc",
        "mcp"
    ],
    "command": "cmd"
}

AgentRPC

NPM Version GitHub go.mod Go version PyPI - Python Version License

> Universal RPC layer for AI agents across network boundaries and languages

Overview

AgentRPC allows you to connect to any function, in any language, across network boundaries. It's ideal when you have services deployed in:
- 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.)

<p align="center">
deployment
</p>

How It Works

1. Registration: Use our SDK to register functions and APIs in any language
2. Management: The AgentRPC platform (api.agentrpc.com) registers the function and monitors its health
3. Access: Receive OpenAPI SDK compatible tool definitions and a hosted MCP server for connecting to compatible agents

Key Features

| Feature | Description |
|---------|-------------|
| Multi-language Support | Connect to tools in TypeScript, Go, Python and .NET (coming soon) |
| Private Network Support | Register functions in private VPCs with no open ports required |
| Long-running Functions | Long polling SDKs allow function calls beyond HTTP timeout limits |
| Full Observability | Comprehensive tracing, metrics, and events for complete visibility |
| Automatic Failover | Intelligent health tracking with automatic failover and retries |
| Framework Compatibility | Out-of-the-box support for MCP and OpenAI SDK compatible agents |

Getting Started

Quick Start

Follow the quick start example on our docs site.

Examples

Explore working examples in the examples directory.

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>"
      }
    }
  }
}

More Info

Cursor Integration

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "agentrpc": {
      "command": "npx",
      "args": ["-y", "agentrpc", "mcp"],
      "env": {
        "AGENTRPC_API_SECRET": "<YOUR_API_SECRET>"
      }
    }
  }
}

More Info

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.