AA

abap-ai/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

87 stars 17 forks 质量 49 趋势 19MIT

ABAP MCP - 模型上下文协议 - 服务器 SDK

概览

ABAP实现的模型上下文协议,支持最高版本2025-11-25。\ 这只是服务器实现,因为我目前看不到支持SSE流式传输的现实途径,而SSE流式传输对客户端来说是强制性的。 支持的协议版本:2025-03-26、2025-06-18、2025-11-25 注意旧协议版本可能会随着维护工作量增加而被放弃。 - Ajson 集成为 zmcp_ajson - 用于评测的 Abaplint 以及更重要的 7.02 降级版本 - 用于源代码控制的 abapGit - 提示符 - 资源 - 工具(包括可选输出模式和任务增强执行) - 任务 - 长期运行的后台工作,包含客户端轮询 - 完成程序 - 提示词和资源模板参数的自动补全 - 基于 DDIC 的模式生成以及 JSON 模式构建器和验证器 不支持SSE——>没有通知,因此不支持listChanged、订阅和日志。

概述(AI 翻译)

Discord——所有ABAP-AI仓库的社区。

概述

ABAP实现的模型上下文协议,支持最高版本2025-11-25。
注意这只是服务器实现,因为我目前看不到支持SSE流式传输的现实方法,而SSE流式传输对客户端来说是强制的。

支持的协议版本:2025-03-26、2025-06-18、2025-11-25

重要提示:该SDK版本仅支持2025-11-25,且仅有错误更正功能暂停。2026-07-28及更久版本已在新的ABAP MCP SDK中实现。大量重大变更和不同方法使得妥善支持所有版本变得困难。尤其是复杂的会话支持消失后,我决定明确创建V2 SDK。新SDK将尽力支持旧MCP版本,直到2025-03-26,只要不需要会话。

文献资料

详见文档文件夹中的概述。

使用的ABAP开源项目

特别感谢:

  • Ajson Integrated as zmcp_ajson
  • Abaplint 用于复核及更重要的7.02下游
  • abapGit 用于源代码控制

在Dotabap上发现更多精彩项目。

功能与局限性

目前已实施:

  • 提示

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ABAP Model Context Protocol Server SDK

Discord - for all ABAP-AI repos.

Overview

ABAP implementation of the Model Context Protocol, supporting up to version 2025-11-25.
Note that this is only a server implementation as I currently see no realistic way to support SSE streaming which is mandatory for the client.

Supported protocol versions: 2025-03-26, 2025-06-18, 2025-11-25

Important: This SDK version will only support up to 2025-11-25 and is frozen except for error corrections. 2026-07-28 and further are implemented in the new ABAP MCP SDK V2. The vast number of breaking changes and different approaches made it challenging to properly support all versions. As especially the complex session support is gone I decided to make a clear cut and create a V2 SDK. The new SDK will support on best effort basis old MCP versions down to 2025-03-26 as long as no sessions are required.

Documentation

See Overview in docs folder.

Used ABAP OpenSource projects

Special thanks to:

  • ajson integrated as zmcp_ajson
  • abaplint for review and more important 7.02 downport
  • abapGit for source code control

Find more awesome projects at dotabap.

Features & Limitations

Currently implemented:

  • Prompts
  • Resources
  • Tools (incl. optional output schemas and task-augmented execution)
  • Tasks - long-running background work with client polling
  • Completions - autocomplete for prompt and resource-template arguments
  • DDIC-based schema generation plus a JSON schema builder and validator

No SSE support --> no notifications and therefore no support of listChanged, subscribe and logging.\

Not implemented:

  • Sampling - considered for the future, open an issue if you have a use case that would benefit from it
  • Elicitation - without SSE I see no proper way to implement this
  • Roots - likely irrelevant for ABAP
  • Further notifications not relevant without SSE: Cancellation, Progress, Logging

Authorization

Implement the standard Authorization in ABAP via custom code is not feasible, we have to rely on ABAP features.
An overview of likely options is outlined in Authentication Documentation.

Authentication

OAuth is suggested but outside of newer S/4HANA releases challenging, for options see Authentication. Further suggestions are welcome.

Roadmap

See currently open issues for the next planned steps. Longer term I intend to add features to create modular MCP servers based on reusable implementations.

FAQ

See FAQ.

Contributing

Feel free to:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →