About Handler
Handler is an MCP server published by alDuncanson in the AI category: a2A protocol client for your terminal. Conduid read 13 tools from its source: cancel_task, clear_session_data, delete_task_notification, get_agent_card, get_session_info, get_task and 7 more. It is published to PyPI as a2a-handler and runs with uvx.
The repository has 47 stars and 6 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is v0.2.0 (15 Aug 2026). It follows v0.1.26 (30 Jul 2026), and the 5 most recent releases go back to v0.1.23 (30 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include a2a, adk, a2a-client, a2a-cli, a2a-protocol and a2a-server.
Install
uvx a2a-handlerpip install a2a-handlergit clone https://github.com/alDuncanson/HandlerTools (13)
cancel_taskCancel a running task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| custom_headers | object | |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task to cancel |
clear_session_dataClear saved session data.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | URL of agent to clear. If None, clears ALL sessions. |
delete_task_notificationDelete a push notification config from a task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| config_id * | string | ID of the config to delete |
| custom_headers | object | |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task |
get_agent_cardRetrieve an agent's card with full details.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent (e.g., "http://localhost:8000") |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| custom_headers | object | |
| extended | boolean | If True, fetch the extended card agents offer to authenticated clients. Fails clearly when the agent does not offer one. |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
get_session_infoGet session information for a specific agent.| Parameter | Type | Description |
|---|---|---|
| agent_url * | string | Base URL of the A2A agent |
get_taskGet the current status and details of a task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| custom_headers | object | |
| history_length | integer | Optional number of history messages to include |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task to retrieve |
get_task_notificationGet the push notification configuration for a task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| config_id | string | Optional specific config ID to retrieve |
| custom_headers | object | |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task |
list_sessionsList all saved sessions.list_task_notificationsList every push notification config for a task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| custom_headers | object | |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task |
list_tasksList an agent's tasks, following pagination to the end.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| context_id | string | Only list tasks in this context |
| custom_headers | object | |
| history_length | integer | History messages to include per task |
| include_artifacts | boolean | Whether to include task artifacts |
| key_path | string | |
| page_size | integer | Tasks per request page (all pages are still fetched) |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| status | string | Only list tasks in this state (e.g., "completed", "working", "input_required") |
send_messageSend a message to an A2A agent and receive a response.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent (e.g., "http://localhost:8000") |
| api_key | string | Optional API key for authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for authentication |
| ca_cert_path | string | |
| cert_path | string | |
| context_id | string | Optional context ID for conversation continuity |
| custom_headers | object | |
| key_path | string | |
| message * | string | The text message to send to the agent |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id | string | Optional task ID to continue an existing task |
| use_session | boolean | If True, use saved session context (context_id/task_id) |
set_task_notificationConfigure push notifications for a task.| Parameter | Type | Description |
|---|---|---|
| agent_url | string | Base URL of the A2A agent |
| api_key | string | Optional API key for agent authentication |
| api_key_env | string | Env var holding an API key |
| bearer_env | string | Env var (in the MCP server's environment) holding a bearer token |
| bearer_token | string | Optional bearer token for agent authentication |
| ca_cert_path | string | |
| cert_path | string | |
| custom_headers | object | |
| key_path | string | |
| server | string | Name of a server from servers.toml, used instead of agent_url |
| task_id * | string | ID of the task to configure notifications for |
| webhook_token | string | Optional authentication token for the webhook |
| webhook_url * | string | URL that will receive notification POSTs |
validate_agent_cardValidate an A2A agent card from a URL or local file.| Parameter | Type | Description |
|---|---|---|
| from_file | boolean | If True, treat source as a file path. If False (default), treat source as an agent URL. |
| source * | string | URL of the agent (e.g., "http://localhost:8000") or path to a local JSON file containing the agent card. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 359 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by flake.lock and uv.lock.
- ✓No dynamic code executionScanned 47 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/a2a_handler/cli/mcp.py:11, src/a2a_handler/cli/mcp.py:11, src/a2a_handler/cli/mcp.py:11
- Starts other programs
- 1 callsrc/a2a_handler/cli/__init__.py:226
- Outbound network calls
- 28 callssrc/a2a_handler/auth.py:155, src/a2a_handler/auth.py:196, src/a2a_handler/cli/_helpers.py:60
- Writes or deletes files
- 7 callssrc/a2a_handler/cli/server.py:354, src/a2a_handler/cli/server.py:357, src/a2a_handler/common/config.py:41
- Lockfile
- flake.lock and uv.lock
Pattern matches on the source text of 47 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 359 words, fetched a month ago. The original in the repository is authoritative.
Read full README