Agent Alignment Protocol
MCP server by mnemom Verified · npm:@mnemom
Verifies AI agent behavior against a declared alignment card and detects drift over time. Built for developers who build or audit autonomous agents with Python or TypeScript.
Install Agent Alignment Protocol
Built from the published package, never by AI.
claude mcp add agent-alignment-protocol -- npx -y @mnemom/agent-alignment-protocolRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Agent Alignment Protocol in Claude Code
{
"mcpServers": {
"agent-alignment-protocol": {
"args": [
"-y",
"@mnemom/agent-alignment-protocol"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Agent Alignment Protocol in Claude Desktop
{
"mcpServers": {
"agent-alignment-protocol": {
"args": [
"-y",
"@mnemom/agent-alignment-protocol"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent-alignment-protocol": {
"args": [
"-y",
"@mnemom/agent-alignment-protocol"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent-alignment-protocol -- npx -y @mnemom/agent-alignment-protocol{
"mcpServers": {
"agent-alignment-protocol": {
"args": [
"-y",
"@mnemom/agent-alignment-protocol"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Agent Alignment Protocol in Antigravity CLI
gemini mcp add agent-alignment-protocol npx -y @mnemom/agent-alignment-protocolGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Agent Alignment Protocol in Gemini CLI
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-alignment-protocol block.
About
Agent Alignment Protocol (AAP) is a transparency protocol for autonomous AI agents. It lets an agent declare its alignment posture in an Alignment Card, produce AP-Trace audit logs of its decisions, and check value compatibility with other agents before they coordinate. The project provides Python and TypeScript packages and extends A2A and MCP with an alignment layer.
The verification engine checks observed traces against the declared card. It covers autonomy, escalation, values, forbidden actions and behavioral similarity, and drift detection looks at behavior over time. The source states that AAP provides visibility rather than guaranteed alignment, so a verified trace means consistency with the declared alignment, not a good outcome. It is aimed at developers building or auditing agents that act for a principal.
Written from the project's README and checked against it.
Tools it gives your assistant
verify_traceVerifies a single AP-Trace against an Alignment Card and returns a similarity score.detect_driftDetects behavioral drift over a set of recent traces, with drift direction in each alert.check_coherenceChecks whether two agents' declared values are compatible before they coordinate.trace_decisionDecorator that automatically generates AP-Trace records for decisions a function makes.mcp_tracedDecorator that traces MCP tool invocations and checks them against declared alignment.
What you need
- Python (pip install agent-alignment-protocol)
- Node.js and npm for the TypeScript package
Try asking
- Verify this AP-Trace against my alignment-card.json file
- Check whether my agent's values are compatible with another agent's card
- Detect behavioral drift across the traces in my logs folder
Good to know
- Provides visibility into agent behavior, not guaranteed alignment
- A verified trace does not mean the alignment is good or the outcome was beneficial
- AP-Trace is sampled, so significant reasoning may happen between traces
- Tested on transformer-based agents only
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Agent Alignment Protocol
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Agent Alignment Protocol: common questions
Does AAP guarantee that an agent is aligned?
No. The source says AAP makes agent behavior more observable, not more guaranteed, and a verified trace only means consistency with declared alignment.
What does the verification check?
It checks autonomy compliance, escalation compliance, value consistency, forbidden action compliance and behavioral similarity.
How does AAP relate to MCP and A2A?
The source says AAP extends existing protocols, including A2A and MCP, with an alignment layer and includes decorators for tracing MCP tool calls.
How do I install Agent Alignment Protocol?
In Claude Code run claude mcp add agent-alignment-protocol -- npx -y @mnemom/agent-alignment-protocol. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agent Alignment Protocol the official server?
Agent Alignment Protocol is published by npm:@mnemom from its verified domain in the official MCP Registry.
Is Agent Alignment Protocol free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Agent Alignment Protocol safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agent Alignment Protocol?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Agent Alignment Protocol 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.
