---
title: "Map config entries to Census server names without evaluating"
method: POST
path: "/v1/resolve"
---

# Map config entries to Census server names without evaluating

`POST /v1/resolve`

## Request

- Base URL: `https://api.mcpcensus.com`
- URL: `https://api.mcpcensus.com/v1/resolve`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Same input as /v1/audit. Exact URL, single same-host row, npm or PyPI package, or canonical alias. Ambiguous matches return candidates and no pick. Unmetered, burst-guarded.

## Request body

- AuditInput: A config document (mcpServers | servers | mcp_servers), an envelope {config, format, policy_id, previous_tools_digests, strict}, a plain {entries:[...]} list, or raw Codex config.toml text sent as text/plain. Only url, command, args and type are read; strip env and headers before posting.
  - `config` union: Config document (object) or raw text (JSON or Codex TOML)
    - object
    - string
  - `format` 'json' | 'toml'
  - `policy_id` 'builtin:baseline' | 'builtin:first-party' | 'builtin:strict'
  - `previous_tools_digests` object: alias → tools_digest from your last audit; sets tools_drift per entry
  - `strict` boolean: exit_code 2 when any entry is REVIEW or UNKNOWN
  - `mcpServers` object
  - `servers` object
  - `mcp_servers` object
  - `entries` object[]
    - `name` string
    - `url` string
    - `command` string
    - `args` string[]

## Response `200`

Resolution

- ResolveResult
  - `ok` unknown
  - `spec` 'CENSUS-RESOLVE/1'
  - `format` string
  - `entries` object[]
    - `alias` string
    - `input` object
    - `server_name` string, nullable
    - `method` string, nullable
    - `reason` string, nullable
    - `candidates` string[]
    - `lookup_url` string
  - `note` string

## Other responses

- `400`: Closed input validation failed
- `429`: Burst, daily, refresh, or per-server cooldown limit reached

---

[API](https://skmtc.dev/mcpcensus/apis/the-mcp-census-api.md) · [All operations](https://skmtc.dev/mcpcensus/apis/the-mcp-census-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mcpcensus/apis/the-mcp-census-api/revisions/934a7da85b52?raw)
