Connection Scoped MCP Access
Scopes MCP traffic to a specific data source. This endpoint implements the MCP Streamable HTTP transport. Send any JSON-RPC 2.0 MCP request (such as initialize, tools/list, tools/call) in the request body. The server routes it within the context of the specified connection.
id to send a notification. (No response expected. The server returns 202 No Content).
Use the ?tools= and ?ops= query parameters to narrow the list of returned tools.
?tools=— comma-separated list of tool types (universal,sql,source). Omit to return all types.?ops=— comma-separated list of operation names (for example,execute_sql,get_tables). Omit to return tools for all operations.
-32602 (ToolFilterParseError).Authorizations
JWT token authentication. Include the token in the Authorization header as 'Bearer '.
Path Parameters
The unique identifier of the connection to scope this request to.
Query Parameters
Comma-separated list of tool types to include in tools/list responses. Omitting returns all types. If repeated, only the first occurrence is used. An empty string or unrecognized value returns HTTP 400. Narrowing-only: cannot enable tools the server has already disabled.
universal, sql, source Comma-separated list of operation base names to include in tools/list responses. Omitting returns tools for all operations. If repeated, only the first occurrence is used. An empty string or unrecognized value returns HTTP 400. Narrowing-only: cannot enable tools the server has already disabled.
get_catalogs, get_schemas, get_tables, get_columns, get_procedures, get_procedure_parameters, get_instructions, execute_sql, execute_select, execute_insert, execute_update, execute_procedure Body
JSON-RPC protocol version. Must be "2.0".
2.0 MCP method name (for example, initialize, tools/list, tools/call).
Method-specific parameters. May be omitted for parameterless methods.
Request identifier echoed in the response. Use a string or integer. Omit entirely to send a notification (no response will be returned).
Response
JSON-RPC response or SSE stream, depending on the request.
application/json— returned for a single request that includes anid. The body is aJsonRpcResponseobject.text/event-stream— returned when the server needs to stream multiple messages back (for example, long-running tool calls, server-initiated notifications). Each SSEdata:line is a JSON-encodedJsonRpcResponseobject. The stream closes when the server has sent all messages for the request.