Skip to article
Browse documentation

Developers

MCP integration

Connect an authenticated MCP client to authorized FrostTable data.

What MCP does

The Model Context Protocol (MCP) lets compatible AI clients call tools exposed by a server. FrostTable's MCP server provides access to selected data operations; the client supplies the AI model and user experience. FrostTable does not provide AI inference.

Endpoint and authentication

The default MCP endpoint is /mcp, and a deployment may configure another endpoint. Authenticate with an authorized FrostTable bearer credential using the Authorization: Bearer YOUR_SCOPED_API_KEY header. Credentials must have the needed workspace and table permissions. Current legal acceptance requirements also apply.

Available tools

The server publishes tools for listing tables, describing a table, retrieving table statistics and bounded record pages, and executing bounded read-only SQL. It also exposes selected table and record writes and schema changes. Destructive or sensitive changes use an explicit preview-and-approval flow where required. Available tools are determined by the server's published registry; inspect the MCP client's tool list rather than assuming every application action is exposed.

Permissions and safeguards

Every tool call uses the authenticated actor and authorization checks; AI access is limited to that credential's permissions, table scope, and workspace access. Record and table values returned to an AI client are untrusted data and should not be treated as instructions. Keep credentials private, use least privilege, and review approval prompts before applying changes.

Connect a client

Configure an MCP-compatible client with the deployed endpoint URL and bearer-token header using that client's documented remote HTTP transport settings. Client configuration varies, and this guide does not certify specific third-party clients. Do not place a token in a shared configuration file or commit it to source control.

Troubleshooting

  • 401: check the endpoint and bearer credential, and confirm the key is active.
  • 403: confirm the key scopes, table restrictions, workspace membership, and legal acceptance status.
  • Tool not listed: check the server's enabled MCP configuration and refresh the client's tool list.
  • Request rejected: reduce the requested result size or use a narrower query within configured limits.

Table optimization tools

get_table_optimization and get_optimization_history need schema:read. analyze_table_layout, apply_optimization_recommendation, run_table_optimization, set_table_optimization_mode and cancel_optimization_job need schema:write. Anything that changes layout or spends compute credits returns an approval token first; repeat the exact call with it. For rewrites, maxCredits must cover the estimate. Plan, nightly backup, budget and quota rules are the same as in the app. See Table optimization.