Skip to main content

mcp-server-akf

mcp-name: io.github.HMAKT99/akf

MCP (Model Context Protocol) server that exposes 10 AKF tools to AI agents. Any MCP-compatible client (Claude Desktop, Claude Code, Cursor, Windsurf, etc.) can check, stamp, validate, audit, and scan files using the Agent Knowledge Format.

A stamp costs ~15 tokens. Re-verifying costs 15,000. Agents stamp what they verify; the next agent calls check_file and builds on it instead of redoing the work.

Installation

pip install mcp-server-akf

Configuration

Claude Desktop

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

{
  "mcpServers": {
    "akf": {
      "command": "python",
      "args": ["-m", "mcp_server_akf"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "akf": {
      "command": "python",
      "args": ["-m", "mcp_server_akf"]
    }
  }
}

Tools

Tool Description
check_file One-line trust check — can an agent build on this file without re-verifying? (OK / LOW / STALE / UNSTAMPED)
create_claim Create an AKF claim with trust metadata
validate_file Validate an .akf file against the spec
scan_file Security scan any file for AKF metadata
trust_score Compute effective trust score for a claim
stamp_file Stamp trust metadata onto any file (20+ formats)
audit_file Compliance audit (EU AI Act, SOX, HIPAA, GDPR, NIST, ISO 42001)
embed_file Embed AKF metadata into DOCX, PDF, HTML, images, etc.
extract_file Extract AKF metadata from any supported format
detect_threats Run 10 AI-specific security detections

Quick usage

Once configured, ask your AI agent:

"Stamp report.docx with AKF trust metadata, confidence 0.9, evidence 'quarterly review complete'"

The agent will call stamp_file through MCP and attach provenance automatically.

You can also run the server directly for testing:

python -m mcp_server_akf

Multi-Agent Support

The MCP server works seamlessly with multi-agent orchestration platforms:

  • Agent Identity: Create and verify agent cards via akf agent create / akf agent verify
  • A2A Protocol: Export/import agent cards for cross-platform discovery via akf agent export-a2a
  • Team Certification: Use akf certify --team for per-agent trust breakdowns in CI
  • Delegation: Trust ceilings cap delegate output when agents hand off work
  • Team Streaming: Multi-agent sessions with per-agent claim attribution

Supports: Claude Agent Teams, Copilot Cowork, Codex multi-agent, and any A2A-compatible platform.

Requirements

  • Python >= 3.10
  • akf >= 1.0.0
  • mcp >= 1.0.0

Metadata

Release files for mcp-server-akf 1.6.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 mcp-server-akf 1.6.0
File Size Uploaded
mcp_server_akf-1.6.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-akf 1.6.0
File Interpreter ABI Platform
mcp_server_akf-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / mcp_server_akf-1.6.0.tar.gz

Download URL mcp_server_akf-1.6.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30ba31a84187977e309e7f7ec125da892c62a9352c2e6b4a00d1b29414b23f8f
BLAKE2b-256 checksum
How to use checksums
aff703d97e4c01a3b8006eb56a3fd56c7f6de8e81809dd281ef3fe6d8ed97c14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / mcp_server_akf-1.6.0-py3-none-any.whl

Download URL mcp_server_akf-1.6.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f1208af8e099db43f1e23239380a91e203626568b3293b96901fc9d2ecc1ad1
BLAKE2b-256 checksum
How to use checksums
f61f7592f249b8431df8a3c3696e04126a0206e347367ba210d02959bd6e5a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 release files

1.5.0

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