Skip to main content

MCP Server for AI agent identity and authorization — create, verify, and manage agent identities

Project description

Agent Identity MCP Server

MCP Server for AI agent identity and authorization. Create, verify, and manage agent identities with trust scores and scoped authorization tokens.

Features

  • Agent Identities — Create and manage unique agent identities with capabilities
  • Trust Scores — Automatic trust scoring based on agent behavior history
  • Authorization Tokens — Scoped, time-limited authorization for specific actions
  • Auto-Approval — High-trust agents get automatic authorization for known capabilities
  • Identity Revocation — Revoke compromised or misbehaving agent identities

Installation

pip install agent-identity-mcp-server

Usage with Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "agent-identity": {
      "command": "uvx",
      "args": ["agent-identity-mcp-server"]
    }
  }
}

Tools

Tool Description
create_agent_identity Create a new agent identity with name, owner, capabilities
get_identity Look up an agent's identity and trust score
authorize_action Request authorization for a specific action
verify_authorization Verify if an authorization token is valid
list_identities List all registered agent identities
revoke_identity Revoke an agent's identity

Trust Score System

Trust scores range from 0.0 to 1.0 and are calculated from the agent's last 50 actions:

Score Level Auto-Approve
0.9+ High Yes
0.7+ Good No
0.5+ Neutral No
0.3+ Low No
<0.3 Critical No

Authorization Flow

  1. create_agent_identity — Register the agent
  2. authorize_action — Request permission for an action
  3. verify_authorization — Verify the token before executing
  4. Trust score updates automatically based on activity

Data Storage

All identity data is stored locally in SQLite at ~/.agent-identity/identities.db.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_identity_mcp_server-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_identity_mcp_server-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_identity_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for agent_identity_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10ac5434c99745c4c236692762a2f889b0927407af43398a0eeb82cfc162ca3f
MD5 3879969a0274a46bb99f71ab55698adc
BLAKE2b-256 1df57e8483f9022c6bb674007b55b5fd5aaf78439682c98643815de95fd6af2b

See more details on using hashes here.

File details

Details for the file agent_identity_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_identity_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b7164acc2e5c12850cb91f5de47b3324094b0ec3816d554b850de7e7b48f682
MD5 5ab5f464253c9487dec4763cdcf73cb6
BLAKE2b-256 8ebc92ac6ef0a357431dc0b95e452af9736c237dc7aec32c4553944d12cb0093

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page