Create a new MCP entity.
This endpoint will connect to the MCP server, fetch available tools,
and validate that the specified tool_name exists.
Parameters:
- name: MCP name
- url: MCP server URL
- tool_name: Name of the specific tool to fetch from MCP server
- network_access: Network access level (must be 'remote')
- headers: Optional authentication headers
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Creates an MCP entity. SUPERWISE connects to the MCP server at url, fetches its available tools, and stores their schemas in tool_schemas. network_access must be remote, and headers carries any authentication headers.
When to use it
Use it to give agents access to the tools on an MCP server. Check the server first with Test MCP connectivity.
Required parameters
name(body): the MCP name, 1 to 255 characters.url(body): the MCP server URL.
Optional body fields: description, network_access, headers, params.
Response
A successful call returns 201 Created with the MCP object: id, name, url, network_access, tool_schemas, and timestamps. A 502 means SUPERWISE could not connect to the MCP server.
Related: Test MCP connectivity, List MCP tools, Get an MCP tool, Delete an MCP tool
400Invalid request or tool not found in MCP server
422Validation error (malformed request)
500Internal server error
502MCP server connection error