Credential enforcement middleware for MCP servers — verifies scoped tokens on every tool call
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add attest -- npx -y @attest-dev/mcp~/.codex/config.toml
[mcp_servers.attest]
command = "npx"
args = ["-y", "@attest-dev/mcp"]
# codex mcp add attest -- npx -y @attest-dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"attest": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"attest": {
"command": "npx",
"args": [
"-y",
"@attest-dev/mcp"
]
}
}
}