A2H Gateway MCP
A self-hosted gateway for the Agent-to-Human protocol that allows AI agents to request human approval via email, Telegram, or push notifications. It supports signed answers with passkey proof, various intent types like authorize and collect, and provides an MCP server for integration with clients like Claude and Cursor.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Request human approval for agent actions via email or Telegram
- Collect user input through forms with validation
- Verify human decisions using signed passkey proofs
Source and maintenance
- Last repository push
- Latest release
- v0.3.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/andreaacanfora/a2h-gateway:0.3.0
{
"transport": "stdio",
"identifier": "ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "A2H_GATEWAY",
"format": "string",
"isRequired": true,
"description": "URL of your A2H gateway, e.g. https://a2h.example.com"
},
{
"name": "A2H_API_KEY",
"format": "string",
"isRequired": true,
"description": "API key of the gateway"
},
{
"name": "A2H_TO",
"format": "string",
"isRequired": true,
"description": "Where to reach you: mailto:you@example.com, tg:<chat_id> or an ntfy topic URL"
},
{
"name": "A2H_PRINCIPAL",
"format": "string",
"description": "Your principal ID on the gateway (optional)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"a2h-gateway-mcp-0-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY=<YOUR_A2H_GATEWAY>",
"-e",
"A2H_API_KEY=<YOUR_A2H_API_KEY>",
"-e",
"A2H_TO=<YOUR_A2H_TO>",
"-e",
"A2H_PRINCIPAL=<YOUR_A2H_PRINCIPAL>",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "<YOUR_A2H_GATEWAY>",
"A2H_API_KEY": "<YOUR_A2H_API_KEY>",
"A2H_TO": "<YOUR_A2H_TO>",
"A2H_PRINCIPAL": "<YOUR_A2H_PRINCIPAL>"
}
}
}
}Cline
{
"mcpServers": {
"a2h-gateway-mcp-0-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY=<YOUR_A2H_GATEWAY>",
"-e",
"A2H_API_KEY=<YOUR_A2H_API_KEY>",
"-e",
"A2H_TO=<YOUR_A2H_TO>",
"-e",
"A2H_PRINCIPAL=<YOUR_A2H_PRINCIPAL>",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "<YOUR_A2H_GATEWAY>",
"A2H_API_KEY": "<YOUR_A2H_API_KEY>",
"A2H_TO": "<YOUR_A2H_TO>",
"A2H_PRINCIPAL": "<YOUR_A2H_PRINCIPAL>"
}
}
}
}VS Code
{
"servers": {
"a2h-gateway-mcp-0-3-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY=<YOUR_A2H_GATEWAY>",
"-e",
"A2H_API_KEY=<YOUR_A2H_API_KEY>",
"-e",
"A2H_TO=<YOUR_A2H_TO>",
"-e",
"A2H_PRINCIPAL=<YOUR_A2H_PRINCIPAL>",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "<YOUR_A2H_GATEWAY>",
"A2H_API_KEY": "<YOUR_A2H_API_KEY>",
"A2H_TO": "<YOUR_A2H_TO>",
"A2H_PRINCIPAL": "<YOUR_A2H_PRINCIPAL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"a2h-gateway-mcp-0-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY=<YOUR_A2H_GATEWAY>",
"-e",
"A2H_API_KEY=<YOUR_A2H_API_KEY>",
"-e",
"A2H_TO=<YOUR_A2H_TO>",
"-e",
"A2H_PRINCIPAL=<YOUR_A2H_PRINCIPAL>",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "<YOUR_A2H_GATEWAY>",
"A2H_API_KEY": "<YOUR_A2H_API_KEY>",
"A2H_TO": "<YOUR_A2H_TO>",
"A2H_PRINCIPAL": "<YOUR_A2H_PRINCIPAL>"
}
}
}
}Let your agent find its tools
Find servers like A2H Gateway MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.