AIP Identity MCP Server

Định danh mật mã cho các máy khách MCP — cặp khóa Ed25519, xác minh dựa trên DID, chấm điểm tin cậy, nhắn tin mã hóa và ký tạo tác.

Tài liệu

AIP MCP Server

MCP server that gives AI agents (Claude, Cursor, etc.) access to AIP identity tools — verify agents, check trust scores, sign content, and exchange encrypted messages.

Install

pip install aip-mcp-server

Setup

First, register an AIP identity (if you don't have one):

pip install aip-identity
aip register --platform github --username your-username

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "aip": {
      "command": "aip-mcp-server"
    }
  }
}

Cursor

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

{
  "mcpServers": {
    "aip": {
      "command": "aip-mcp-server"
    }
  }
}

Environment Variables

VariableDefaultDescription
AIP_CREDENTIALS_PATH~/.aip/credentials.jsonPath to credentials file
AIP_SERVICE_URLhttps://aip-service.fly.devAIP service endpoint

Tools

ToolDescription
aip_whoamiShow your current AIP identity (DID, public key)
aip_verifyVerify another agent's identity via challenge-response
aip_trust_scoreGet trust score and vouch chain for an agent
aip_signCryptographically sign content to prove authorship
aip_verify_signatureVerify a signature against a DID's public key
aip_send_messageSend an encrypted message to another agent
aip_check_messagesCheck for incoming messages
aip_registerRegister a new AIP identity

Resources

URIDescription
aip://identityCurrent agent's full identity info
aip://trust/{did}Trust graph data for a specific DID

Links