Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host for HTTP/SSE transports | 0.0.0.0 |
| MCP_PATH | No | HTTP endpoint path | /mcp |
| MCP_PORT | No | Port for HTTP/SSE transports | 8000 |
| LOG_LEVEL | No | Logging level: DEBUG, INFO, WARNING, ERROR | INFO |
| MCP_DATA_DIR | No | Directory for persistent data storage | data |
| MCP_TRANSPORT | No | Transport type: stdio, streamable-http, or sse | stdio |
| MCP_REQUEST_TIMEOUT | No | Request timeout in seconds | 30 |
| MCP_REQUEST_IMMEDIATE_TIMEOUT | No | Immediate response timeout in seconds | 2 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| register_agent | Registers an Agent-to-Agent (A2A) agent with the bridge server. This tool fetches the agent's information (AgentCard) from the given URL and stores it in the server's list of registered agents, making it available for communication. Args: url (str): The base URL of the A2A agent to register. This URL should point to where the agent's card can be resolved. ctx (Context): The MCP context, used for logging information back to the client. Returns: Dict[str, Any]: A dictionary containing the registration status. On success, it includes the status and the registered agent's details. On error, it includes the status and an error message. |
| list_agents | Lists all A2A agents currently registered with the bridge server. This resource returns a list of all agents, including their URL and AgentCard information. Args: dummy (str): A dummy parameter to satisfy the MCP tool signature. Just for compatibility. Just pass the empty string. Returns: List[Dict[str, Any]]: A list of dictionaries, each containing the URL and AgentCard information of a registered agent. Each dictionary has the keys "url" and "card". |
| unregister_agent | Unregisters an A2A agent from the bridge server. This also removes any tasks associated with the unregistered agent. Args: url (str): The URL of the agent to unregister. ctx (Context): The MCP context for logging. Returns: Dict[str, Any]: A dictionary confirming the action, including the name of the unregistered agent and the number of tasks that were removed. Returns an error if the agent was not found. |
| send_message | Sends a message to an agent and returns the task status. This function initiates a task with an agent. It will return quickly.
Args: agent_url (str): The URL of the registered A2A agent. message (str): The text message to send. session_id (Optional[str]): An optional identifier for conversation context. ctx (Context): The MCP context for logging. Returns: Dict[str, Any]: A dictionary representing the task. It will contain the final result if completed quickly, or a pending status if the agent takes longer to respond. |
| get_task_result | Retrieves the result or status of a previously created task. Using the task_id returned by Args: task_id (str): The unique identifier of the task to retrieve. ctx (Context): The MCP context for logging. Returns: Dict[str, Any]: A dictionary containing the task's current status, result message, and any associated data or an error if the task ID is not found. |
| get_task_list | Retrieves a list of tasks being managed by the server. Args: status (Literal["all", "completed", "running", "error", "pending", "streaming", "cancelled"]): Filters tasks by their status. Defaults to "all". sort (Literal["Descending", "Ascending"]): Sorts tasks by their last update time. Defaults to "Descending". number (int): The maximum number of tasks to return. Defaults to 10. ctx (Context): The MCP context for logging. Returns: List[Dict[str, Any]]: A list of tasks, each represented as a dictionary. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |