MCP check
Scan an MCP client config or tool list for risky servers and tools, offline.
POST /v1/mcp-check
Section titled “POST /v1/mcp-check”Scan an MCP config or tool list. Operation id: postMcpCheck.
Finds risky servers, tools and settings in an MCP client config (Claude Desktop, Cursor, VS Code, Windsurf, Cline and others) or a server’s tool list: tool poisoning, plain text secrets, remote code execution, look-alike packages, unpinned packages, broad host access, insecure transport, shell tools and auto approval. Offline: no package registry, server or model is contacted, nothing runs, and nothing is stored. Secrets are masked in every piece of evidence.
The config is sent as text inside the JSON body (config). It can be up to 100,000
characters, and the request body is capped at 512 KB. The answer is never cached.
Request body
Section titled “Request body”Content type application/json: McpCheckRequest.
Example:
{ "config": "{\"mcpServers\":{\"files\":{\"command\":\"npx\",\"args\":[\"-y\",\"@modelcontextprotocol/server-filesystem\",\"/\"]}}}"}Example request
Section titled “Example request”curl -X POST "https://api.kytheos.com/v1/mcp-check" \ -H "content-type: application/json" \ -d '{"config":"{\"mcpServers\":{\"files\":{\"command\":\"npx\",\"args\":[\"-y\",\"@modelcontextprotocol/server-filesystem\",\"/\"]}}}"}'Responses
Section titled “Responses”The MCP check result.
Body: McpCheckResult.
The input is missing, malformed or not allowed. The error text says what to change.
Body: Error.
A domain check with a URL instead of a domain:
{ "error": "Enter only the domain name, without http://, paths or ports."}A body that is not the JSON the endpoint expects:
{ "error": "Send JSON like {\"prompt\": \"You are the support assistant for ...\"}."}The request body is larger than the endpoint accepts.
Body: Error.
Example:
{ "error": "That is too long to check."}The client IP address went over the rate limit for this endpoint. Wait and try again.
Body: Error.
Headers:
retry-after: Seconds to wait before trying again. Always60.
Example:
{ "error": "Too many checks from your network. Please wait a minute and try again."}