@humanauth/mcp
v0.1.0
Published
MCP server for the HARP protocol. Adds an `authorize` tool to any MCP-compatible agent.
Readme
@humanauth/mcp
MCP server for the HARP protocol. Adds an authorize tool to any MCP-compatible agent.
Setup
Pair your device:
npx @humanauth/cli pair --name "my-agent" --relay https://relay.humanauth.aiAdd to your MCP client config (e.g. Claude Code
~/.claude/settings.json):{ "mcpServers": { "harp": { "command": "npx", "args": ["@humanauth/mcp"] } } }The agent can now use the
authorizetool:authorize({ pair_id: "pair_abc123", action: "bash_execute", description: "Delete Docker images", reasoning: "Disk is 95% full", ttl: 300 })
Environment Variables
HARP_PAIRINGS_DIR-- Override pairings directory (default:~/.harp/pairings)
