
gavdilabs/cap-mcp-plugin
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
gavdilabs/cap-mcp-plugin은 MCP 서버 후보가 https://github.com/gavdilabs/cap-mcp-plugin.에서 수입되었습니다
개요
gavdilabs/cap-mcp-plugin은 MCP 서버 후보가 https://github.com/gavdilabs/cap-mcp-plugin.에서 수입되었습니다
개요(AI 번역)
이 구현은 Anthropic의 Model Context Protocol (MCP)을 기반으로합니다. MCP에 대한 자세한 내용은 공식 문서를 참조하십시오.
CAP-MCP 플러그인
CAP(Cloud Application Programming) 플러그인을 사용하여 CAP 서비스에서 Model Context Protocol (MCP) 서버를 자동으로 생성합니다. CAP OData 서비스를 AI-accessible 리소스, 도구로 변환하고, 최소한의 구성으로 프롬프트합니다.
CAP용 MCP의 힘
Model Context Protocol은 엔터프라이즈 데이터와 AI 에이전트 간의 격차를 브릿지합니다. CAP 애플리케이션으로 MCP를 통합함으로써 잠금 해제:
- AI-Native Data Access: 귀하의 CAP 서비스는 Claude와 같은 MCP 활성화 AI 에이전트에 직접 액세스하여 비즈니스 데이터에 대한 천연 언어 쿼리를 가능하게 합니다.
- Enterprise 통합: 완벽하게 SAP 시스템, 데이터베이스 및 비즈니스 논리에 AI 도구를 연결
- **Intelligent 자동화 **: 여러 CAP 서비스 통화를 결합하여 복잡한 비즈니스 작업을 수행 할 수 있는 AI Agent
- Developer Productivity: 개발자가 CAP 데이터 모델에 대해 이해, 쿼리 및 작업을 돕는 AI 보조를 허용
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
CAP MCP Plugin - AI With Ease
This implementation is based on the Model Context Protocol (MCP) put forward by Anthropic. For more information on MCP, please have a look at their official documentation.
CAP-MCP Plugin
A CAP (Cloud Application Programming) plugin that automatically generates Model Context Protocol (MCP) servers from your CAP services using simple annotations. Transform your CAP OData services into AI-accessible resources, tools, and prompts with minimal configuration.
🚀 The Power of MCP for CAP Applications
The Model Context Protocol bridges the gap between your enterprise data and AI agents. By integrating MCP with your CAP applications, you unlock:
- AI-Native Data Access: Your CAP services become directly accessible to MCP enabled AI agents like Claude, enabling natural language queries against your business data
- Enterprise Integration: Seamlessly connect AI tools to your SAP systems, databases, and business logic
- Intelligent Automation: Enable AI agents to perform complex business operations by combining multiple CAP service calls
- Developer Productivity: Allow AI assistants to help developers understand, query, and work with your CAP data models
- Business Intelligence: Transform your structured business data into AI-queryable resources for insights and analysis
🚀 Quick Setup
Want to read the full documentation? Find it here
Prerequisites
- Node.js: Version 18 or higher
- SAP CAP: Version 10 or higher
- Express: Version 5 or higher
- TypeScript: Optional but recommended
Step 1: Install the Plugin
npm install @gavdi/cap-mcp
The plugin follows CAP’s standard plugin architecture and will automatically integrate with your CAP application upon installation.
Step 2: Configure Your CAP Application
Add MCP configuration to your package.json:
{
"cds": {
"mcp": {
"name": "my-bookshop-mcp",
"auth": "inherit",
"wrap_entities_to_actions": false,
"wrap_entity_modes": ["query", "get"],
"instructions": "MCP server instructions for agents"
}
}
}
Step 3: Add MCP Annotations
Annotate your CAP services with @mcp annotations:
// srv/catalog-service.cds
service CatalogService {
@mcp: {
name: 'books',
description: 'Book catalog with search and filtering',
resource: ['filter', 'orderby', 'select', 'top', 'skip', 'expand']
}
entity Books as projection on my.Books;
// Optionally expose Books as tools for LLMs (query/get enabled by default config)
설치
npx @modelcontextprotocol/inspector