kitepass-mcp

kitepass-mcp

Enables LLMs to query Kite Passport user info, sessions, wallet balance, and backend health via read-only MCP tools.

Category
Visit Server

README

@kitepass/mcp-server

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.


What this is

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:

  • Check wallet balances on Kite Mainnet
  • Create and manage agent spending sessions
  • Execute x402 micropayments to paid APIs
  • List registered agents and their status

This is a community-built project, not officially endorsed by Anthropic or the Kite Foundation.

Quick start

1. Install

npm install -g @kitepass/mcp-server

2. Prerequisites

  • Node 18+
  • kpass CLI installed and logged in
    kpass login --email your@email.com
    kpass me  # should show your user info
    

3. Configure Claude Desktop

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"]
    }
  }
}

4. Restart Claude Desktop

You can now ask Claude:

  • "What's my Kite wallet balance?"
  • "Show me my active sessions"
  • "Create a $0.01 session for one hour"
  • "List the agents I have registered"

Available tools

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

Architecture

┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐     ┌────────────────┐
│  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.

Security model

  • Identity: The MCP server runs with the user's kpass identity. All operations are performed as the logged-in user.
  • Write operations: Creating sessions and executing payments require an approved session. The approval URL must be opened by the human user — the AI cannot approve sessions itself.
  • No token exposure: JWT tokens and session secrets are never included in tool outputs. Error messages are sanitized.
  • URL validation: Payment execution refuses non-HTTPS URLs, localhost, and local network addresses.
  • Timeout protection: All operations have timeouts (30s default, 5min max for payments).

Configuration

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

Examples

See the examples/ directory for:

  • claude-desktop.json — Claude Desktop configuration
  • basic-agent.ts — Using MCP from a custom agent
  • payment-flow.ts — End-to-end payment example

Development

git clone https://github.com/gnanam1990/kitepass-mcp
cd kitepass-mcp
npm install
npm run build
npm test

Roadmap

  • v0.1: 8 read/write tools, stdio transport, Claude Desktop integration (current)
  • v0.2: HTTP transport, observability tools, batch operations
  • v0.3: Multi-user / hosted mode

Contributing

Issues and PRs welcome. Please run npm test before submitting.

Credits

Built by Gnanam (@0x_art).

Thanks to the Kite Foundation and Anthropic teams for the foundational tooling.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured