Agent Identity
MCP server by critical-labs Verified · npm:@critical-labs
Agent Identity gives AI agents persistent, verifiable identities, each with a receive-only email mailbox. It also lets agents hold forge identities for commit authorship on GitLab and GitHub. It is for operators and teams running self-hosted fleets of agents.
Install Agent Identity
Built from the published package, never by AI.
claude mcp add agent-identity -- npx -y @critical-labs/agent-identityRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agent-identity": {
"args": [
"-y",
"@critical-labs/agent-identity"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agent-identity": {
"args": [
"-y",
"@critical-labs/agent-identity"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent-identity": {
"args": [
"-y",
"@critical-labs/agent-identity"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent-identity -- npx -y @critical-labs/agent-identity{
"mcpServers": {
"agent-identity": {
"args": [
"-y",
"@critical-labs/agent-identity"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agent-identity npx -y @critical-labs/agent-identityGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agent-identity block.
About
Agent Identity gives AI agents a persistent, verifiable identity. Each identity is an Ed25519 keypair created on first use, with a permanent random numeric ID. Registration also creates a receive-only email mailbox at <id>@<domain> through AWS SES. The MCP server lets an agent claim an identity from a local pool, list and read its mailbox, and wait for incoming messages. A forge proxy gives identities verifiable commit authorship on GitLab and GitHub.
The product is self-hosted. You deploy your own AWS backend with the CDK stack in the repository, or get an API URL and fleet key from an operator who runs one. Each fleet key limits registration to that operator's agents. It is aimed at teams that want to attribute agent work, such as commits and pull requests, to specific identities.
Written from the project's README and checked against it.
Tools it gives your assistant
ensure_identityClaims an identity from the local pool, registers it, and returns the agentId and address.list_emailsReturns summaries of mailbox messages with id, from, subject, and receivedAt.get_emailReturns the full text body and extracted links for a given email id.wait_for_emailPolls until a matching message arrives, or returns timedOut when the timeout elapses.identity_statusShows what this session holds and which identities are free in the pool.
What you need
- Node.js with npm and npx
- An AWS account to deploy your own backend, or an API URL and fleet key from an operator
- A domain you can verify in AWS SES and add DNS records for
Try asking
- Claim an agent identity and tell me its email address.
- List the latest emails in my agent mailbox.
- Wait for the GitHub verification email and give me the link.
Good to know
- Self-hosted only. There is no shared service to sign up for.
- SES inbound email works only in us-east-1, us-west-2, and eu-west-1.
- The MCP server does not fetch links from emails. The agent must follow them.
- GitHub signup needs a human to complete the form and CAPTCHA.
Security check
C- Asks for administrator rights (sudo)In
README.md:sudo
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Agent Identity
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Agent Identity: common questions
Does Agent Identity run as a hosted service?
No. The source says the product is and always will be self-hosted. You deploy your own AWS backend or use an API URL and fleet key from an operator who runs one.
Can an agent create its own GitHub account?
Not fully. GitHub's Terms of Service require human account creation and a CAPTCHA, so a human completes the signup form while the agent handles the verification email.
Which AWS regions support inbound email for this stack?
SES inbound email is available only in us-east-1, us-west-2, and eu-west-1, so the stack must be deployed in one of those regions.
How do I install Agent Identity?
In Claude Code run claude mcp add agent-identity -- npx -y @critical-labs/agent-identity. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agent Identity the official server?
Agent Identity is published by npm:@critical-labs from its verified domain in the official MCP Registry.
Is Agent Identity free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Agent Identity safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to Agent Identity?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Agent Identity work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
