loading…
Search for a command to run...
loading…
Enables LLMs to query Kite Passport user info, sessions, wallet balance, and backend health via read-only MCP tools.
Enables LLMs to query Kite Passport user info, sessions, wallet balance, and backend health via read-only MCP tools.
Model Context Protocol server for Kite Agent Passport. Give Claude, GPT, or any MCP-aware LLM the ability to authenticate, manage sessions, and execute x402 payments on Kite Mainnet.
KitePass MCP Server is an open-source implementation of an MCP server that bridges LLM agents with Kite's agent payment infrastructure. It wraps the kpass CLI operations as callable MCP tools, enabling any MCP-aware AI assistant to:
This is a community-built project, not officially endorsed by Anthropic or the Kite Foundation.
npm install -g @kitepass/mcp-server
kpass login --email [email protected]
kpass me # should show your user info
Add to your Claude Desktop config file:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": {
"kitepass": {
"command": "npx",
"args": ["@kitepass/mcp-server"]
}
}
}
You can now ask Claude:
| Tool | Description | Type |
|---|---|---|
kpass_get_user |
Current logged-in user info | Read |
kpass_list_sessions |
Active/pending/expired agent sessions | Read |
kpass_get_wallet_balance |
KITE + USDC.e balance | Read |
kpass_health_check |
Kite Passport backend health | Read |
kpass_create_session |
Create spending session (returns approval URL) | Write |
kpass_check_session_status |
Poll session approval state | Read |
kpass_execute_payment |
Execute x402 payment via approved session | Write |
kpass_list_agents |
List registered agents | Read |
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐ ┌────────────────┐
│ Claude Desktop │────▶│ KitePass MCP │────▶│ kpass CLI │────▶│ Kite Passport │
│ (MCP Client) │◀────│ Server │◀────│ (subprocess) │◀────│ Backend │
└─────────────────┘ └──────────────────┘ └─────────────────┘ └────────────────┘
The MCP server runs as a local subprocess of Claude Desktop. Each tool call spawns a fresh kpass subprocess, executes the operation, and returns the result. No long-running processes or state is maintained between calls.
| Env var | Default | Purpose |
|---|---|---|
KPASS_BINARY_PATH |
(PATH lookup) | Override kpass binary location |
KITE_PASSPORT_BASE_URL |
https://passport.prod.gokite.ai |
Override Kite Passport backend URL |
See the examples/ directory for:
claude-desktop.json — Claude Desktop configurationbasic-agent.ts — Using MCP from a custom agentpayment-flow.ts — End-to-end payment examplegit clone https://github.com/gnanam1990/kitepass-mcp
cd kitepass-mcp
npm install
npm run build
npm test
Issues and PRs welcome. Please run npm test before submitting.
Built by Gnanam (@0x_art).
Thanks to the Kite Foundation and Anthropic teams for the foundational tooling.
MIT
Run in your terminal:
claude mcp add kitepass-mcp -- npx