MCP Server
SQL Server MCP — Claude & ChatGPT Connector
MCP SQL Server Endpoint (ChatGPT & Claude Connector)
URL: POST /api/mcp/sql_server
Header:
- Mcp-Session-Id (optional but recommended) — will be echoed back in every response.
Methods Supported (method):
- initialize
- notifications/initialized
- ping
- tools/list
- tools/call
Example — List tools:
{ "jsonrpc": "2.0", "method": "tools/list", "params": {}, "id": 1 }
Example — Call tool:
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": { "name": "sqlserver_list_tables", "arguments": {} },
"id": 1
}
Tools
- sqlserver_list_tables
- sqlserver_describe_table
- sqlserver_execute_query
- sqlserver_list_schemas
- sqlserver_get_table_stats
- sqlserver_search_tables
Security
- Read-only enforced (SELECT / WITH…SELECT only)
- Multiple statements blocked
- Max rows limited
- Session header echoed to prevent ChatGPT link expiry
post/api/mcp/sql_server
Request
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Mcp-Session-Idstring nullable
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.