Archery MCP
v0.1.1Read-only MCP server for the Archery SQL audit platform: production schema and release SQL checks
Values you need
| Variable | What it is | |
|---|---|---|
ARCHERY_BASE_URL | required | Base URL of your Archery deployment, e.g. https://archery.example.com |
ARCHERY_USERNAME | required | Archery account username (use a dedicated least-privilege account) |
ARCHERY_PASSWORD | required secret | Archery account password |
ARCHERY_TOTP_SECRET | optional secret | Base32 TOTP secret if the account enables Google Authenticator 2FA |
ARCHERY_INSTANCE_NAME | required | Archery instance name to lock the server to |
ARCHERY_DB_NAME | required | Database name to lock the server to |
ARCHERY_SCHEMA_NAME | optional | Schema name (PostgreSQL usually 'public'; leave empty for MySQL) |
ARCHERY_QUERY_LIMIT | optional | Default row limit when the query tool is called without limit; 0 delegates the max to Archery |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add archery-mcp -e 'ARCHERY_BASE_URL=<ARCHERY_BASE_URL>' -e 'ARCHERY_DB_NAME=<ARCHERY_DB_NAME>' -e 'ARCHERY_INSTANCE_NAME=<ARCHERY_INSTANCE_NAME>' -e 'ARCHERY_PASSWORD=<ARCHERY_PASSWORD>' -e 'ARCHERY_USERNAME=<ARCHERY_USERNAME>' -- uvx archery-mcp==0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"archery-mcp": {
"args": [
"archery-mcp==0.1.1"
],
"command": "uvx",
"env": {
"ARCHERY_BASE_URL": "<ARCHERY_BASE_URL>",
"ARCHERY_DB_NAME": "<ARCHERY_DB_NAME>",
"ARCHERY_INSTANCE_NAME": "<ARCHERY_INSTANCE_NAME>",
"ARCHERY_PASSWORD": "<ARCHERY_PASSWORD>",
"ARCHERY_USERNAME": "<ARCHERY_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"archery-mcp": {
"args": [
"archery-mcp==0.1.1"
],
"command": "uvx",
"env": {
"ARCHERY_BASE_URL": "<ARCHERY_BASE_URL>",
"ARCHERY_DB_NAME": "<ARCHERY_DB_NAME>",
"ARCHERY_INSTANCE_NAME": "<ARCHERY_INSTANCE_NAME>",
"ARCHERY_PASSWORD": "<ARCHERY_PASSWORD>",
"ARCHERY_USERNAME": "<ARCHERY_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "ARCHERY_BASE_URL",
"id": "archery-base-url",
"password": true,
"type": "promptString"
},
{
"description": "ARCHERY_DB_NAME",
"id": "archery-db-name",
"password": true,
"type": "promptString"
},
{
"description": "ARCHERY_INSTANCE_NAME",
"id": "archery-instance-name",
"password": true,
"type": "promptString"
},
{
"description": "ARCHERY_PASSWORD",
"id": "archery-password",
"password": true,
"type": "promptString"
},
{
"description": "ARCHERY_USERNAME",
"id": "archery-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"archery-mcp": {
"args": [
"archery-mcp==0.1.1"
],
"command": "uvx",
"env": {
"ARCHERY_BASE_URL": "${input:archery-base-url}",
"ARCHERY_DB_NAME": "${input:archery-db-name}",
"ARCHERY_INSTANCE_NAME": "${input:archery-instance-name}",
"ARCHERY_PASSWORD": "${input:archery-password}",
"ARCHERY_USERNAME": "${input:archery-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.archery-mcp]
command = "uvx"
args = ["archery-mcp==0.1.1"]
env = { "ARCHERY_BASE_URL" = "<ARCHERY_BASE_URL>", "ARCHERY_DB_NAME" = "<ARCHERY_DB_NAME>", "ARCHERY_INSTANCE_NAME" = "<ARCHERY_INSTANCE_NAME>", "ARCHERY_PASSWORD" = "<ARCHERY_PASSWORD>", "ARCHERY_USERNAME" = "<ARCHERY_USERNAME>" }For AI agents
- Ask the user for: ARCHERY_BASE_URL, ARCHERY_USERNAME, ARCHERY_PASSWORD, ARCHERY_INSTANCE_NAME, ARCHERY_DB_NAME. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_tables, describe_table, query, query_history, sql_check.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json