Managed MCP Server API
Tacnode provides managed MCP Server through https://mcp-server.tacnode.io/mcp, it provides read-only access to Tacnode databases, enables schema inspection and execute read-only queries. It uses JSON-RPC 2.0 as its wire format.
Prerequisites
- The Data Cloud, Nodegroup and Database should be ready before access the MCP Server, refer to Managed MCP Server.
- Token is required during the authentication. The token is generated from Nodegroup Overview->MCP Tokens.
- Install Node.js and npm
Authentication
Replace YOUR_API_KEY with your actual key below.
Claude Desktop
Edit the configuration file at:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the below code:
Rate Limits
- 60 requests per minute per API key.
- Exceeding returns HTTP 429 Too Many Requests.
- Use retry and exponential backoff to handle limits.
Resources API
Database Resources
| Resource Name | URI Format | Description | 
|---|---|---|
| schemas | db://schemas | Returns a list of all schemas in the database | 
| tables_in_schema | db://schemas/{schemaName}/tables | Returns a list of all tables in the database or within a specific schema | 
| table_structure_in_schema | db://schemas/{schemaName}/tables/{tableName} | Returns schema information for a specific table, optionally within a specific database schema | 
| indexes_in_table | db://schemas/{schemaName}/tables/{tableName}/indexes | Returns information about indexes on a table | 
| procedures_in_schema | db://schemas/{schemaName}/procedures | Returns a list of all stored procedures/functions in the database or within a specific schema | 
Resources Read
Example: get all tables in public schema.
Request Body:
Response Body:
Example: get the table structure for table listings.
Request Body:
Response Body:
Tools API
Database Tools
| Tool | Command Name | Description | 
|---|---|---|
| Execute SQL | query | Execute single or multiple SQL statements (separated by semicolons) | 
Tools Call
Example: execute the read-only query and get the results.
Request Body:
Response Body: