cap-mcp-apps
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
cap-mcp-apps
CDS plugin for CAP Node.js. It enriches @cap-js/mcp query tool results with an MCP App (UI5 Web Components table) when the host supports MCP Apps.
CAP loads it automatically. A consuming app only needs this package in dependencies. There is no server.js protocol override.
Install
npm add @cap-js/mcp cap-mcp-appsFrom GitHub before it is published to npm:
{
"dependencies": {
"cap-mcp-apps": "github:aelghanam/mcp-apps"
}
}Annotate services with @mcp as usual. On cds watch / cds serve, CAP detects cds-plugin.js, merges this package's cds configuration, and loads the plugin.
The plugin contributes the annotation vocabulary in vocab/ through:
"cds": {
"requires": {
"cap-mcp-apps-vocab": {
"model": "cap-mcp-apps/vocab"
}
}
}Peer packages (@sap/cds, @cap-js/mcp, express) resolve from the consuming app. .npmrc sets omit=peer so a nested @sap/cds is not installed inside this package.
Related MCP server: UI5con 2026 MCP Apps
Configuration
Query-table enrichment is on by default. To keep the stock @cap-js/mcp adapter, set:
{
"cds": {
"mcp": {
"apps": {
"queryTable": false
}
}
}
}When queryTable is false, this plugin does not override protocols.mcp.impl.
Action buttons (@mcp.apps.Action)
Unbound service actions can be shown in the MCP App UI. The annotation shape is declared in vocab/index.cds (mcp.apps.Action / mcp.apps.Placement).
annotate MyService.ping with @mcp.apps.Action: {
placement: #Toolbar,
label: 'Ping'
};
annotate MyService.submitOrder with @mcp.apps.Action: {
placement: #Row,
label: 'Submit Order',
entities: [Books, ListOfBooks]
};Field | CDL form | CSN | Meaning |
|
|
| Below the table, or on each row |
| string | string | Button text (defaults to the action name) |
|
|
| Optional. Omit to show for every queried entity. |
Use type references [Books], not element expressions (Books). Parentheses are CXL paths resolved in the action scope and fail to compile for entity names.
Input forms are inferred from CDS parameters: no parameters calls immediately, scalars become inputs, structured or many parameters use a JSON textarea.
The App invokes the existing MCP call tool via app.callServerTool. After a successful action it re-runs the last query (structuredContent.queryArgs). A Refresh button in the header does the same.
Only actions the current MCP user may call (@requires / @restrict) are included.
Logging
const LOG = cds.log('cap-mcp-apps'){
"cds": {
"log": {
"[development]": {
"levels": {
"cap-mcp-apps": "debug"
}
}
}
}
}Develop this plugin
src/ is the App UI. npm run build bundles it into assets/query-table.html, which the adapter serves at runtime. UI5 Web Components and esbuild are devDependencies of this package.
npm install
npm run buildLink it into a CAP app with "cap-mcp-apps": "file:../cap-mcp-apps", then run cds watch in that app.
License
PolyForm Small Business 1.0.0. Use is free for an individual, and for an organization with fewer than 100 people and under the license's revenue cap (1,000,000 USD in 2019 dollars, adjusted for inflation). Larger organizations are not covered and need a separate commercial license from the copyright holder.
The CDS annotation namespace stays mcp.apps (@mcp.apps.Action). That name is the annotation API, not the npm package name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
Renders dashboards, forms and tables inline in the chat as Angular Material components (MCP App).
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceDynamically generates MCP tools from any OData or OpenAPI spec, enabling natural-language queries via SAP AI Core.MIT
- FlicenseNot gradedqualityCmaintenanceProvides runnable samples demonstrating how MCP tools can return deterministic, interactive UIs using HTML, UI5 Web Components, UI Integration Cards, and host-orchestrated SAP transport data.10-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to query and act on SAP CAP travel domain data (travels, bookings, customers, agencies) via MCP tools, including unbound actions and security-aware access.-
- AlicenseNot gradedqualityNot gradedmaintenanceTurns any OData V2 or V4 service, SAP Gateway included, into MCP tools that AI clients such as Claude, ChatGPT, Copilot, and Cursor can call without code by reading $metadata. It lets models discover entity sets and fields, then query services through built-in read-only tools.AGPL 3.0