SAP AI Core Documentation MCP Server

SAP AI Core Documentation MCP Server

Provides semantic search and intelligent access to SAP AI Core documentation for AI assistants like Claude. It enables users to search across categories, retrieve full document content, and access topic-specific information from the SAP artificial intelligence repository.

Category
访问服务器

README

SAP AI Core Documentation MCP Server

A Model Context Protocol (MCP) server providing semantic search and intelligent access to SAP AI Core documentation.

Overview

This MCP server enables AI assistants like Claude to search, retrieve, and understand SAP AI Core documentation efficiently. It provides semantic search capabilities across the entire AI Core documentation repository from SAP-docs/sap-artificial-intelligence.

Features

  • Semantic Search: Intelligent search across all SAP AI Core documentation
  • Category Filtering: Search within specific areas (administration, development, integration, concepts)
  • Document Retrieval: Get complete documentation pages with table of contents
  • Topic-Specific Documentation: Quick access to documentation for specific AI Core topics
  • Relevance Scoring: Results ranked by relevance to your query

Installation

Prerequisites

  • Node.js 20.0.0 or higher
  • npm or yarn

Quick Start

  1. Clone this repository:
git clone <repository-url>
cd dlwr-dnl-ai-core-documentation-mcp
  1. Install dependencies:
source ~/.zshrc && nvm use
npm install
  1. Clone the SAP AI Core documentation as a git submodule:
git submodule add https://github.com/SAP-docs/sap-artificial-intelligence.git docs/sap-artificial-intelligence
git submodule update --init --recursive
  1. Build the server:
npm run build

Configuration

Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "sap-ai-core-docs": {
      "command": "node",
      "args": [
        "/absolute/path/to/dlwr-dnl-ai-core-documentation-mcp/build/index.js"
      ]
    }
  }
}

Custom Documentation Path

To use a different documentation location:

{
  "mcpServers": {
    "sap-ai-core-docs": {
      "command": "node",
      "args": [
        "/absolute/path/to/dlwr-dnl-ai-core-documentation-mcp/build/index.js"
      ],
      "env": {
        "SAP_AI_CORE_DOCS_PATH": "/path/to/custom/docs"
      }
    }
  }
}

Available Tools

1. search_ai_core_docs

Semantically search SAP AI Core documentation.

Parameters:

  • query (required): Search query string
  • category (optional): Filter by category ('all', 'administration', 'development', 'integration', 'concepts')
  • limit (optional): Maximum results (1-50, default: 10)

Example:

Search for "model training deployment best practices"

2. get_ai_core_document

Retrieve complete content of a specific documentation page.

Parameters:

  • path (required): Relative path to document (from search results)

Example:

Get document at path "docs/sap-ai-core/getting-started.md"

3. get_ai_core_topic

Get comprehensive documentation for a specific SAP AI Core topic.

Parameters:

  • topic_name (required): Name of the AI Core topic

Example:

Get documentation for "Model Training"

4. list_ai_core_categories

List all available documentation categories and top documents.

Example:

Show all available documentation categories

Development

Project Structure

dlwr-dnl-ai-core-documentation-mcp/
├── src/
│   ├── index.ts              # Entry point
│   ├── server.ts             # MCP server implementation
│   ├── types/
│   │   └── index.ts          # TypeScript type definitions
│   ├── indexer/
│   │   ├── markdown-parser.ts    # Markdown document parser
│   │   └── document-index.ts     # Document indexing & search
│   └── tools/
│       ├── search.ts             # Search tool implementation
│       ├── get-document.ts       # Document retrieval tool
│       ├── get-topic.ts          # Topic documentation tool
│       └── list-categories.ts    # Category listing tool
├── docs/
│   └── sap-artificial-intelligence/  # SAP AI Core docs (git submodule)
├── build/                     # Compiled JavaScript output
├── package.json
├── tsconfig.json
└── README.md

Build Commands

# Build once
npm run build

# Build and watch for changes
npm run watch

# Run the server directly
npm run dev

Testing

Test the server using the MCP Inspector:

npx @modelcontextprotocol/inspector node build/index.js

Architecture

Document Indexing

The server indexes all markdown files from the SAP AI Core documentation repository on startup:

  1. Parsing: Uses unified and remark to parse markdown with frontmatter
  2. Extraction: Extracts metadata, headings, sections, and keywords
  3. Indexing: Creates a searchable index using Fuse.js for fuzzy semantic search
  4. Categorization: Automatically categorizes documents based on folder structure

Search Strategy

  • Multi-field search: Searches across titles, headings, content, and keywords
  • Weighted scoring: Titles and keywords weighted higher than content
  • Fuzzy matching: Handles typos and partial matches
  • Context extraction: Returns relevant excerpts around matched terms

Use Cases

For delaware Netherlands Team

  • AI Core Implementations: Quick access to AI Core documentation during client projects
  • Training: Support for AI/ML enablement programs
  • Solution Design: Research AI Core capabilities and best practices
  • Troubleshooting: Find solutions for specific AI Core issues

For AI Agents (ConnectedBrain 2.0)

  • Semantic Module: Integrate as a knowledge module in multi-agent orchestration
  • Context Provider: Supply AI Core-specific context for solution generation
  • Code Assistant: Help generate AI Core-compliant code and configurations

SAP AI Core Topics Covered

  • Model Training: Training ML models using SAP AI Core
  • Model Deployment: Deploying and serving models
  • AI API: REST API for AI Core services
  • Configuration Management: Managing AI Core configurations
  • Resource Management: Managing compute resources and artifacts
  • Integration: Integrating AI Core with SAP BTP services
  • Security: Authentication, authorization, and data protection
  • Monitoring: Logging, metrics, and observability

Performance

  • Initial Index Build: ~5-10 seconds (depending on documentation size)
  • Search Queries: <100ms (in-memory search)
  • Memory Usage: ~50-100MB (indexed documents)

Roadmap

Phase 2 Enhancements

  • Vector embeddings for improved semantic search
  • Code sample extraction and indexing
  • AI Core API pattern recognition
  • Auto-update mechanism for documentation

Phase 3 Advanced Features

  • Graph database for AI Core service relationships
  • Context caching for frequently accessed docs
  • Integration with SAP Help Portal
  • Multi-language support

Contributing

This is a delaware Netherlands internal tool. For questions or contributions, contact the Data & AI team.

License

MIT License - Internal delaware Netherlands use

Support

For issues or questions:


Built with ❤️ by delaware Netherlands Data & AI Team

Part of our "platform-first, cloud-native" AI-empowered operations initiative

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选