Skip to main content
Glama
AgentAnycast

AgentAnycast MCP Server

Official
by AgentAnycast

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTANYCAST_HOMENoData directory for daemon state. Default: ~/.agentanycast
AGENTANYCAST_RELAYNoRelay server multiaddr for cross-network P2P. Default: None (LAN only)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_node_infoA

Get this node's PeerID, DID, and connection status on the P2P network.

list_connected_peersA

List all peers currently connected to this node over the P2P network.

discover_agentsA

Find AI agents on the P2P network that offer a specific skill.

Use this to search for agents before sending them tasks. For example, discover_agents("translate") finds agents that can translate text.

Args: skill: The skill to search for (e.g. "translate", "summarize", "code-review").

send_taskA

Send an encrypted task to a remote AI agent and wait for the result.

The target determines how the agent is reached:

  • PeerID (starts with "12D3KooW"): direct encrypted P2P connection

  • Skill name (e.g. "translate"): automatic routing to the best agent

  • HTTP URL (starts with "http"): standard A2A HTTP bridge

Args: target: PeerID, skill name, or HTTP URL of the target agent. message: The message or instruction to send to the agent. timeout: Maximum seconds to wait for a response (default: 30).

get_task_statusA

Get the current status and result of a previously sent task.

Args: task_id: The task ID returned by send_task.

get_agent_cardA

Get the capability card (A2A Agent Card) for a peer or this node.

Returns the agent's name, description, skills, PeerID, and DID.

Args: peer_id: PeerID of the agent to query. Leave empty or "self" to get this node's card.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgentAnycast/agentanycast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server