Connect With Api Key

Create an MCP connection using a static API key instead of OAuth.

Stores the key, validates it by running MCP discovery, and returns the connection info with tool count on success.

post/api/py/mcp/connect-with-key

Request body

server_urlstring required
api_keystring nullable
header_namestring nullable

Response

Successful Response

{"stackTrail":"paths:/api/py/mcp/connect-with-key:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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