mcpField
@
@anycast/mcp

@anycast/mcp

Local
github.com/anycast-netAI & Agents0Updated 32w ago

About @anycast/mcp

@anycast/mcp is an MCP server for managing Anycast Platform agents, connectivity, groups, tokens, and webhooks. It gives MCP-compatible clients tools and resources for operating the network.

Key features

  1. 01Manage agents and registration tokens
  2. 02Organize agents into groups
  3. 03Inspect P2P connections and statistics
  4. 04Manage webhook destinations and events
  5. 05Read agent, connection, and stats resources

Use cases

  1. 01Check online agents and their connection history
  2. 02Create or revoke agent registration tokens
  3. 03Review P2P connection counts and bandwidth
  4. 04Set up webhook destinations for event delivery

MCP support

Exposes 19 tools and resources to MCP clients for managing Anycast Platform agents, connections, groups, tokens, and webhooks.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"anycast-net": {
"command": "npx",
"args": [
"-y",
"@anycast/mcp"
],
"env": {
"ANYCAST_API_KEY": "<ANYCAST_API_KEY>"
}
}
}
}
Run commandnpx -y @anycast/mcp
Environment variables to set
ANYCAST_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@anycast/mcp

Tools

18

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
statusenumNoFilter by agent statusONLINE | OFFLINE | CONNECTING
searchstringNoSearch by agent name
limitnumberNoMax results (default 20)

Details

From the project README

Anycast Platform npm version MIT License

@anycast/mcp

Connect AI assistants to the Anycast network. Manage agents, P2P connections, and webhook delivery directly from Claude, Cursor, or any MCP-compatible client.

Sign up free · Documentation · npm

MCP (Model Context Protocol) server for the Anycast Platform. Enables AI assistants like Claude, Cursor, and Copilot to manage agents, webhooks, and P2P connectivity.

Installation

npm install -g @anycast/mcp

Configuration

Set your Anycast API key:

export ANYCAST_API_KEY=your-api-key-here
export ANYCAST_API_URL=https://agents.anycast.com  # optional

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "anycast": {
      "command": "anycast-mcp",
      "env": {
        "ANYCAST_API_KEY": "your-api-key-here",
        "ANYCAST_API_URL": "https://agents.anycast.com"
      }
    }
  }
}

Usage with Claude Code

Add to your project's .claude/settings.json:

{
  "mcpServers": {
    "anycast": {
      "command": "npx",
      "args": ["@anycast/mcp"],
      "env": {
        "ANYCAST_API_KEY": "your-api-key-here"
      }
    }
  }
}

Usage with Cursor

Add to Cursor settings > MCP Servers:

{
  "anycast": {
    "command": "anycast-mcp",
    "env": {
      "ANYCAST_API_KEY": "your-api-key-here"
    }
  }
}

Available Tools

Agents
ToolDescription
list_agentsList all agents with status, IP, version
get_agentGet agent details by ID
update_agentUpdate agent name or labels
delete_agentDelete agent (disconnects connections)
get_agent_connectionsGet connection history for an agent
Tokens
ToolDescription
list_tokensList registration tokens (prefixes only)
create_tokenCreate new registration token
revoke_tokenRevoke a token
Groups
ToolDescription
list_groupsList agent groups
create_groupCreate a new group
add_agent_to_groupAdd agent to group
remove_agent_from_groupRemove agent from group
Connectivity
ToolDescription
get_discoveryGet rendezvous server URL
list_connectionsList P2P connections
get_connection_statsBandwidth and connection counts
Webhooks (Ramps)
ToolDescription
list_destinationsList webhook destinations
create_destinationCreate webhook destination
list_eventsList webhook events
Resources
URIDescription
anycast://agentsAll registered agents
anycast://connectionsRecent connections (24h)
anycast://statsPlatform statistics

Examples

Ask Claude:

"List all my online agents"

"Create a registration token called 'production' with a limit of 50 uses"

"Show me the connection stats for the last week"

"Create a webhook destination at https://api.example.com/webhooks"

"Which agents are in the 'production' group?"

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.