Skip to main content

Kora MCP Server

MCP server for Kora — deterministic authorization for AI agent spending.

Gives AI agents (Claude, GPT, etc.) the ability to check budgets, request spending authorization, and verify service health — all with cryptographic Ed25519 proofs.

Quick Start

Install

pip install kora-mcp-server

Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "kora": {
      "command": "kora-mcp",
      "env": {
        "KORA_API_URL": "https://api.koraprotocol.com",
        "KORA_AGENT_SECRET": "kora_agent_sk_...",
        "KORA_MANDATE": "mandate_abc123def456",
        "KORA_ADMIN_KEY": "kora_admin_sk_..."
      }
    }
  }
}

Or run directly

KORA_AGENT_SECRET=kora_agent_sk_... \
KORA_MANDATE=mandate_abc123 \
kora-mcp

Tools

Tool Auth Description
kora_check_budget Agent Check remaining daily/monthly budget
kora_spend Agent Authorize a spend — returns APPROVED or DENIED with seal
kora_recent_activity Admin View recent authorization history
kora_health None Check if Kora is reachable
kora_audit Admin View recent admin actions on the mandate

Configuration

Env Variable Required Description
KORA_AGENT_SECRET Yes Agent secret key (kora_agent_sk_...)
KORA_MANDATE Yes Mandate ID governing spending limits
KORA_API_URL No API base URL (default: https://api.koraprotocol.com)
KORA_ADMIN_KEY No Admin key for audit + activity tools

How It Works

  1. AI agent calls kora_check_budget → sees remaining limits
  2. Agent calls kora_spend with amount, vendor, currency, reason
  3. Kora returns APPROVED (with Ed25519 cryptographic seal) or DENIED (with reason + suggestion)
  4. Agent proceeds only if approved — denials include actionable hints for self-correction

Fail-closed: If Kora is unreachable, the agent gets a clear "DO NOT PROCEED" message. No silent failures.

What is Kora?

Kora is a deterministic authorization engine for autonomous AI agent spending. It's not a bank, not a wallet, not a payment processor. Agents ask Kora "can I spend this?" and get a cryptographically signed yes or no.

Metadata

Release files for kora-mcp-server 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kora-mcp-server 1.3.0
File Size Uploaded
kora_mcp_server-1.3.0.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kora-mcp-server 1.3.0
File Interpreter ABI Platform
kora_mcp_server-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / kora_mcp_server-1.3.0.tar.gz

Download URL kora_mcp_server-1.3.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
40eea7dde42ed922b457f2ee27825733fc3356f853d62753d5ba1fd2c54079cf
BLAKE2b-256 checksum
How to use checksums
01b5bb8dd213ab79965ac1c5f197a81e9bb54d9279068317ad4812c050325b30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / kora_mcp_server-1.3.0-py3-none-any.whl

Download URL kora_mcp_server-1.3.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ee27e39a316357d9b5c4437a9e8a0dda2e78bc3d05a3292c68dd35e634c1abb
BLAKE2b-256 checksum
How to use checksums
b1b124ac53838409b1f1aee5490f5647cf26270e16a6eced9c073b479b203061
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page