mcpField
A
ABAP Model Context Protocol Server SDK

ABAP Model Context Protocol Server SDK

Local
github.com/abap-aiDeveloper Tools86Updated 14w ago

About ABAP Model Context Protocol Server SDK

The ABAP Model Context Protocol Server SDK is an ABAP implementation of the MCP server side only. It is aimed at developers working on ABAP systems and supports protocol versions up to 2025-11-25. This SDK version is frozen and receives only error corrections, with a successor V2 SDK for newer versions.

Key features

  1. 01Prompts, resources and tools support
  2. 02Tasks for long-running background work
  3. 03Completions for prompt and resource arguments
  4. 04DDIC-based schema generation with a JSON schema validator
  5. 05No SSE, so no notifications

Use cases

  1. 01Building MCP servers on ABAP systems
  2. 02Exposing ABAP functionality as tools to MCP clients

MCP support

This project is a server-side MCP SDK in ABAP for implementing MCP prompts, resources and tools. Because it has no SSE support, it does not provide notification features such as listChanged or subscribe.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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:

  • Open issues for bug reports
  • Use Discord for discussions
  • Suggest improvements
  • Pull requests are welcome but ensure they are tested and follow the overall style, if in doubt open an issue first

GenAI Notice

Part of the coding was generated using AI, mostly with Sonnet 3.7/4 and GitHub Copilot. Detailed documentation is largely AI generated - only high-level reviewed.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.