ABAP ADT MCP 客户端配置工具

这是一款用于自动配置 MCP 客户端以连接 ABAP ADT 服务的命令行工具,支持多种 AI 编码客户端和 HTTP/SSE/stdio 传输方式,帮助开发者快速完成本地或远程 MCP 服务接入。

  • by fr0ster
  • JavaScript
  • 混合部署
  • 2 星标
  • 更新于
在 GitHub 查看 fr0ster/mcp-abap-adt-conf

使用说明

MCP ABAP ADT Configurator

Auto-configure MCP clients for mcp-abap-adt and mcp-abap-adt-proxy.

Install

npm install -g @mcp-abap-adt/configurator

Usage

mcp-conf --client cline --env-path /path/to/.env --name abap
mcp-conf --client cline --mcp TRIAL --name abap
mcp-conf --client cline --name direct-jwt-test-001 --transport http --url http://localhost:4004/mcp/stream/http --header x-sap-url=https://... --header x-sap-client=210 --header x-sap-auth-type=jwt --header x-sap-jwt-token=...
mcp-conf --client cline --name local-mcp-sse --transport sse --url http://localhost:3001/sse
mcp-conf --client codex --name abap-http --transport http --url http://localhost:3000/mcp/stream/http
mcp-conf --client codex --name abap-http --transport http --url http://localhost:3000/mcp/stream/http --header x-mcp-destination=trial
mcp-conf --client opencode --name abap --transport http --url http://localhost:3000/mcp/stream/http
mcp-conf --client kilo --name abap --transport http --url http://localhost:3000/mcp/stream/http
mcp-conf --client copilot --name abap --transport http --url http://localhost:3000/mcp/stream/http --header x-mcp-destination=trial
mcp-conf --client qwen --name abap --transport http --url http://localhost:3000/mcp/stream/http
mcp-conf --client crush --name abap --mcp TRIAL
mcp-conf --client crush --name abap --transport http --url http://localhost:3000/mcp/stream/http
mcp-conf tui
mcp-conf help          # or --help, -h; `mcp-conf help <command>` for one command
mcp-conf version       # or --version, -v

Claude: CLI vs Desktop vs Connectors

Anthropic ships several "Claude" products. mcp-conf configures MCP servers for two of them:

  • --client claude-cli (alias: --client claude) — Claude Code CLI. Writes to ~/.claude.json (global) or ./.mcp.json (local). Supports stdio / http / sse. No restart needed.
  • --client claude-desktop — Claude Desktop GUI (macOS / Windows). Writes to claude_desktop_config.json. Supports stdio only. You must restart Claude Desktop after changes. Linux is not officially supported by Anthropic.
  • claude.ai Custom Connectors (web UI) — cloud-side remote MCP, HTTPS only. No public API; add them manually via Settings → Connectors. mcp-conf cannot touch these.

TUI

mcp-conf tui starts an interactive wizard (ls/show/add/update/rm/enable/disable).

  • Step order: operation -> client -> scope (auto-skipped if only one scope is supported).
  • For add + sse/http: prompts for URL, timeout, and repeatable headers.
  • For rm/enable/disable: server name is selected from existing servers in chosen client/scope.
  • Keyboard: arrow keys + Enter, Ctrl+C to cancel.

Docs

  • See docs/CLIENT_INSTALLERS.md for client-specific behavior, defaults, and config paths.

License

GNU Lesser General Public License v3.0 only (LGPL-3.0-only). Earlier published versions were MIT and stay MIT — a licence change is not retroactive.

Copyright © 2026 Oleksii Kyslytsia

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3.

It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Both texts ship with the package and both are needed: LICENSE is the LGPL, COPYING is the GPL it is written on top of, since the LGPL is a set of additional permissions over the GPL and cannot be read alone.

What this means if you depend on this package. Linking it into your own program — importing it, as every consumer of an npm package does — does not put your program under the LGPL. What the licence asks is that changes to this library stay free, and that your users can replace it with their own build.