peaka-mcp-server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PEAKA_API_KEY | Yes | Project API key for authenticating with Peaka services. | |
| PARTNER_API_BASE_URL | No | Base URL for Peaka partner API | https://partner.peaka.studio/api/v1 |
| OAUTH_AUTHORIZATION_SERVER_URL | No | Protected-resource metadata URL advertised in the WWW-Authenticate header on 401 responses (httpStream mode). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
| resources | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| peaka_query_golden_sqlsA | Query question/sql pairs from Peaka's golden sql vector store. If you find an existing query matching the user's question, just use it. Otherwise use the other tools to figure out the tables and write the query. |
| peaka_execute_sql_queryA | Runs the given sql query on Peaka. |
| peaka_execute_queryA | Execute a saved query by its ID in the Peaka project. Use peaka_list_queries to find available query IDs. |
| peaka_get_queryA | Read a single saved query by its ID. Returns the full query object including displayName, inputQuery (SQL), queryType, and the auto-refresh schedule for materialized queries. |
| peaka_create_queryA | Create a named, saved query in the Peaka project's semantic layer. Returns the created query object including its ID, which can be passed to peaka_execute_query. |
| peaka_update_queryA | Update an existing saved query in the Peaka project. Adjusts the display name, SQL body, and/or the auto-refresh schedule (for materialized queries). At least one of displayName, inputQuery, or schedule must be provided. |
| peaka_delete_queryA | Delete a saved query from the Peaka project. Use the queryId returned from peaka_list_queries. |
| peaka_refresh_materialized_queryA | Trigger a refresh on a materialized saved query in the Peaka project. Use the queryId returned from peaka_list_queries for queries whose queryType is "MATERIALIZED". |
| peaka_get_materialized_query_statusesA | Inspect the auto-refresh state of materialized saved queries in the Peaka project. Returns each query's last refresh status, last/next scheduled execution times, and its schedule settings (interval/cron). Pass a queryId to inspect a single materialized query; omit it to list all of them. |
| peaka_get_project_metadataA | Get metadata for all catalogs, schemas, and tables in the Peaka project in a single call. Optionally filter by catalogId and/or schemaName. Use this tool to discover the data structure before writing queries. |
| peaka_refresh_project_metadataA | Refresh project metadata for a specific catalog. This is a long-running operation that should only be used when a data source has structurally changed (e.g. new tables or columns added). Triggers the refresh asynchronously and returns immediately; it does not wait for completion. Poll peaka_get_metadata_refresh_status to track progress until it reports COMPLETED or FAILED. |
| peaka_get_metadata_refresh_statusA | Check the current status of a metadata refresh job for a specific catalog. Possible statuses: NOT_ACTIVE, COMPLETED, WAITING, ACTIVE, DELAYED, FAILED, PAUSED, STUCK. |
| peaka_create_cacheA | Create a cache for a table in the Peaka project. Caching a table improves query performance by storing the data locally. Schedule expressions are optional at creation time and use ISO-8601 durations (e.g. PT6H, P1D, P7D, P30D); they can be set later with peaka_update_cache. |
| peaka_create_cache_batchA | Create caches for multiple tables in a single call. Use this instead of repeated peaka_create_cache calls when caching many tables — it avoids partial-failure states where some caches are created and others aren't. Each item supports the same optional schedule expressions as peaka_create_cache (ISO-8601 durations, e.g. PT6H, P1D, P7D, P30D). |
| peaka_get_cache_statusesA | Get all cache statuses for tables in the Peaka project. Returns the current caching state, execution history, and progress for each cached table. |
| peaka_refresh_cache_fullA | Trigger a full refresh on an existing cache in the Peaka project. Use the cacheId returned from peaka_get_cache_statuses. |
| peaka_refresh_cache_incrementalA | Trigger an incremental update on an existing cache in the Peaka project. Fetches only new/changed rows — much faster than a full refresh. Use the cacheId returned from peaka_get_cache_statuses. |
| peaka_update_cacheA | Update cache settings on an existing cache in the Peaka project. This endpoint replaces — not merges — the schedules, so both incrementalSchedule and fullRefreshSchedule must be supplied with the full intended state every call. Each schedule is either {type: "BASIC", expression} with an ISO-8601 duration (e.g. PT6H, P1D, P7D, P30D), or {type: "NONE"} to turn that refresh off. The response reflects the schedule actually applied, which the backend may clamp to its allowed range — check it. |
| peaka_delete_cacheA | Delete an existing cache in the Peaka project. Removes the cache entirely; the underlying table is not affected. Use the cacheId returned from peaka_get_cache_statuses. |
| peaka_list_catalogsA | List all available catalogs in the Peaka project. Returns catalog names, types, and connection info. |
| peaka_list_schemasA | List all available schemas for a given catalog in the Peaka project. |
| peaka_list_tablesA | List all available tables for a given catalog and schema in the Peaka project. |
| peaka_list_columnsA | List all columns for a given table in the Peaka project. Returns column names, data types, and constraints. Use peaka_get_project_metadata first to discover available catalogs, schemas, and tables. |
| peaka_list_queriesA | List all saved queries in the Peaka project. Returns query names, SQL content, and whether they are plain or materialized. |
| peaka_list_projectsA | List all projects accessible for the user. Use this tool to discover projectIds, then pass the chosen projectId to subsequent tool calls. |
| peaka_get_relationsA | Get table relationships (foreign keys) for a catalog in the Peaka project. Useful for understanding how tables connect when constructing JOINs — without this, JOIN conditions have to be guessed from column-name similarity. The response is an open-ended object map keyed by relation identifier. |
| peaka_get_table_statisticsA | Get column-level statistics for a table in the Peaka project. Returns the catalog/schema/table identifiers and a per-column distinctFraction (estimated fraction of distinct values vs total rows), useful for cardinality estimation and query optimization. |
| peaka_list_connectionsA | List all data source connections in the Peaka project. Returns each connection's id, name, type, and (for OAuth-based connections) callback URL. Useful for discovering what data sources are wired up; pair with peaka_get_connection_detail for connection-specific configuration. |
| peaka_get_connection_detailA | Get connection-specific configuration detail for a data source connection in the Peaka project. The response shape varies by connection type — only the |
| peaka_create_semantic_catalogA | Create a semantic catalog in the Peaka project. A semantic catalog groups semantic tables — saved queries surfaced as queryable tables — under a single namespace. Returns the created catalog including its id. |
| peaka_create_semantic_tableA | Create a semantic table inside a semantic catalog in the Peaka project. The table is backed by an existing saved query, so the catalog/schema/table identifiers become a queryable view over that query. Use peaka_create_query (or peaka_list_queries) to obtain the queryId, and peaka_create_semantic_catalog (or peaka_list_catalogs) for the catalogId. |
| peaka_delete_semantic_tableA | Delete a semantic table from a semantic catalog in the Peaka project. Removes the table mapping only; the saved query that backs it is not affected. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| peaka_sql_query_rule_set | Peaka SQL Query Rule Set is guidelines for writing sql queries for Peaka. |
| peaka_artifact_template | Style guide and HTML template for generating visual reports, dashboards, and artifacts from Peaka query results. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/peakacom/peaka-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server