connect_endpoint
Replace the active GraphQL client by providing a new endpoint URL. Subsequent calls will target the new endpoint and fetch its schema.
Instructions
Set or change the active GraphQL endpoint. All subsequent tool calls (introspect, query, mutate) target this endpoint. Replaces the previous client; existing schema cache for the old endpoint is kept but a new schema will be fetched for the new one. Use set_auth_token / set_headers immediately after to configure credentials. If the endpoint requires CORS for browser access, that is the caller's responsibility — the MCP server is a backend process.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint": "<endpoint>"
},
"name": "connect_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | GraphQL endpoint URL (e.g. https://api.example.com/graphql). Must support introspection. | |
| timeout_ms | No | Request timeout in milliseconds (default: 30000, max: 120000) |