Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-raditotev-agent-trust": {
"command": "uvx",
"args": [
"agent-trust-mcp"
],
"env": {
"DATABASE_URL": "postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust",
"REDIS_URL": "redis://localhost:6379/0",
"SIGNING_KEY_PATH": "keys/service.key",
"AUTH_PROVIDER": "both",
"AGENTAUTH_ACCESS_TOKEN": "<YOUR_VALUE>",
"MCP_PORT": "8000",
"JSON_LOGS": "false",
"LOG_LEVEL": "INFO",
"ENVIRONMENT": "development",
"MCP_TRANSPORT": "stdio",
"DISPUTE_PENALTY": "0.03",
"AGENTAUTH_MCP_URL": "https://agentauth.radi.pro/mcp",
"SCORE_HALF_LIFE_DAYS": "90",
"ATTESTATION_TTL_HOURS": "24"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| DATABASE_URL | Yes | PostgreSQL connection string (e.g., postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust) Default: postgresql+asyncpg://agent_trust:agent_trust@localhost:5432/agent_trust |
| REDIS_URL | Yes | Redis connection string (e.g., redis://localhost:6379/0) Default: redis://localhost:6379/0 |
| SIGNING_KEY_PATH | Yes | Path to the server's Ed25519 signing key file (e.g., keys/service.key) Default: keys/service.key |
| AUTH_PROVIDER | No | Authentication provider: 'agentauth', 'standalone', or 'both' (default: both) Default: both |
| AGENTAUTH_ACCESS_TOKEN secret | No | Access token for registering scopes with AgentAuth (optional for self-hosting) |
| MCP_PORT | No | Port for HTTP transport (default: 8000) Default: 8000 |
| JSON_LOGS | No | Output logs in JSON format (default: false) Default: false |
| LOG_LEVEL | No | Logging level (default: INFO) Default: INFO |
| ENVIRONMENT | No | Environment: 'development' or 'production' (default: development) Default: development |
| MCP_TRANSPORT | No | MCP transport: 'stdio' or 'streamable-http' (default: stdio) Default: stdio |
| DISPUTE_PENALTY | No | Penalty applied to score for upheld disputes (default: 0.03) Default: 0.03 |
| AGENTAUTH_MCP_URL | No | URL of the AgentAuth MCP server Default: https://agentauth.radi.pro/mcp |
| SCORE_HALF_LIFE_DAYS | No | Half-life for exponential time decay of interaction weights (default: 90) Default: 90 |
| ATTESTATION_TTL_HOURS | No | Default time-to-live for attestations in hours (default: 24) Default: 24 |