MCP
speccustomimplproposalPublish MCP (Model Context Protocol) tools based on collection queries and stored queries.
Scope
This building block automatically derives MCP tool definitions from the selected collections and stored queries.
The /{apiId}/mcp endpoint can be added to AI tools that support custom MCP connectors, for example Claude and ChatGPT.
The /{apiId}/mcp/schema endpoint only has informational character and can be used to check the generated MCP definitions.
Operations
| Resource | Path | Methods | Media Types | Description |
|---|---|---|---|---|
MCP | mcp | POST | MCP server endpoint, can be added to AI tools as connector. | |
MCP Schema | mcp/schema | GET | Check the generated MCP definitions. |
Configuration
Options
| Name | Default | Description | Type | Since |
|---|---|---|---|---|
buildingBlock | Always MCP. | string | v2.0 | |
enabled | false | Enable the building block? | boolean | v2.0 |
included | [] | Specifies which collections and queries should be included in the MCP schema. | object | v4.6 |
excluded | [] | Specifies which collections and queries should be excluded from the MCP schema. | object | v4.6 |
This building block does not require or support any additional configuration files.
Examples
- buildingBlock: MCP
enabled: true
included:
collections:
- "*"
queries:
- "*"
excluded:
collections:
- "collection_to_exclude"