Agents

Unified MCP tool inspection

Unified endpoint for inspecting MCP tools. Supports three modes: (1) tool_id — inspect an existing local or remote MCP tool by database ID, (2) servers — inspect one or more remote MCP server configs (pre-add), (3) file_name + file_data_base64 — inspect an uploaded package (pre-add). Returns a list of per-server inspection results.

post/agents/mcp/inspect_tool

Request

Request body

tool_idstring nullable

ID of an existing MCP tool to inspect

serversobject nullable

Map of server_name to server config for pre-add remote inspection

file_namestring nullable

Filename for pre-add upload inspection

file_data_base64string nullable

Base64-encoded file content for pre-add upload inspection

modelstring nullable

LLM model for security inspection

Response

Unified inspection result

statusstring
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.