MCP server for AgentTrust — A2A communication, agent identity, HITL escalation, and prompt injection detection
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add agenttrust-identity-trust-for-a2a-agents --env AGENTTRUST_API_KEY='<AGENTTRUST_API_KEY>' -- npx -y @agenttrust/mcp-server~/.codex/config.toml
[mcp_servers.agenttrust-identity-trust-for-a2a-agents]
command = "npx"
args = ["-y", "@agenttrust/mcp-server"]
env = { AGENTTRUST_API_KEY = "<AGENTTRUST_API_KEY>" }
# codex mcp add agenttrust-identity-trust-for-a2a-agents --env AGENTTRUST_API_KEY='<AGENTTRUST_API_KEY>' -- npx -y @agenttrust/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"agenttrust-identity-trust-for-a2a-agents": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agenttrust-identity-trust-for-a2a-agents": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agenttrust-identity-trust-for-a2a-agents": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agenttrust-identity-trust-for-a2a-agents": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agenttrust-identity-trust-for-a2a-agents": {
"command": "npx",
"args": [
"-y",
"@agenttrust/mcp-server"
],
"env": {
"AGENTTRUST_API_KEY": "<AGENTTRUST_API_KEY>"
}
}
}
}Environment variables
AGENTTRUST_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.