cap-mcp-plugin
Verified Safeby gavdilabs
Overview
Integrate SAP CAP services with the Model Context Protocol (MCP) to expose them as AI-accessible resources, tools, and prompts for natural language interaction and automation.
Installation
cds serveEnvironment Variables
- npm_package_name
- npm_package_version
- NODE_ENV
- MCP_ENABLE_JSON
- CDS_MCP_NAME
- CDS_MCP_VERSION
- CDS_MCP_AUTH
- CDS_MCP_CAPABILITIES_TOOLS_LISTCHANGED
- CDS_MCP_CAPABILITIES_RESOURCES_LISTCHANGED
- CDS_MCP_CAPABILITIES_RESOURCES_SUBSCRIBE
- CDS_MCP_CAPABILITIES_PROMPTS_LISTCHANGED
- CDS_MCP_WRAP_ENTITIES_TO_ACTIONS
- CDS_MCP_WRAP_ENTITY_MODES
- CDS_MCP_INSTRUCTIONS_FILE
Security Notes
The server implements robust security measures including input validation (Zod, ODataQueryValidator with forbidden patterns), sanitization of environment variables, and leverages CAP's authentication and authorization system (inheriting roles and restrictions). It uses helmet for HTTP security headers and CORS. OAuth integration relies on @sap/xssec for token validation and exchange. Potential area of concern includes `cds.parse.expr` for OData filters, though it's heavily mitigated by prior validation.
Similar Servers
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
mcp-server
A Model Context Protocol (MCP) server designed to assist AI models in the development of SAP Cloud Application Programming Model (CAP) applications by providing tools for model analysis and documentation search.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.
MCP-Agent
An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.