Adt
БесплатноНе проверенMulti-system MCP server for reading and writing ABAP source via SAP ADT, with write safety controls and a local web admin.
Описание
Multi-system MCP server for reading and writing ABAP source via SAP ADT, with write safety controls and a local web admin.
README
Multi-system MCP server for reading and writing ABAP source via SAP ADT,
with a local web admin to configure systems. One process serves both the
MCP endpoint (/mcp) and the web admin (/).
Install
cd adt-mcp
python -m pip install -e .
# dev/test deps:
python -m pip install -r requirements.txt
Run
python -m adt_mcp # or: adt-mcp
# → http://127.0.0.1:8765 (MCP at /mcp, admin at /)
Open http://127.0.0.1:8765 to add SAP systems (URL, client, language, auth).
Config is stored in systems.json (gitignored). See systems.example.json.
Cookie systems can be (re)authenticated from the web admin via a browser login.
Connect Claude Code
Add to .mcp.json:
{
"mcpServers": {
"sap-adt": { "type": "http", "url": "http://127.0.0.1:8765/mcp" }
}
}
Tools
Read / navigate:
list_systems,list_package,search_objectsget_source,get_source_by_uri,get_class_method_source,get_class_include,get_object_structure,get_package_sourcegrep_package,find_references(where-used),cds_dependenciesget_context(object + compressed dependencies: CDS/BDEF/CLAS)get_revisions,get_revision_source,compare_sourcesyntax_check,run_unit_tests(ABAP Unit),data_preview(CDS/SQL data)trace_start,trace_list,trace_analyze(ABAP profiler: CPU hotspots + DB accesses)list_dumps,get_dump(ST22 runtime dumps: liệt kê + đọc chi tiết để phân tích lỗi)
Write (gated by safety, see below):
update_source,update_class_include,activatecreate_object(CLAS / INTF / DDLS / DDLX / BDEF / SRVD / SRVB / TABL)clone_package(clone toàn bộ object của một package sang package đích, thêm suffix_VN+ sửa tham chiếu chéo trong source; dry-run mặc định)
Cookie maintenance: refresh_cookies_for.
Write safety
Writes are off by default. Per system in systems.json:
allow_write: true— required to enable any create/update.write_packages: ["Z*", "$TMP"]— target package must match (default).
Delete is intentionally not supported.
Token economy
Tool schemas are sent to the model on every turn. Set ADT_MCP_TOOLS=core
to expose only the essential ~16 tools (smaller schema); default full
exposes all 29. Descriptions are kept terse.
ADT_MCP_TOOLS=core python -m adt_mcp
Test
python -m pytest -v
Security
systems.json,cookies/,*-cookies.txthold session secrets and are gitignored — never commit them.- The server binds
127.0.0.1only. - Stored passwords are plaintext. A
username/passwordis only kept to enable headless cookie refresh (refresh_cookies_for). For real systems prefer the cookie flows that store no password:mode: "browser"— log in once in a visible browser; only session cookies are saved (the persistent profile keeps SSO so re-login is rare).mode: "cdp"— attach to your already-authenticated Chrome. If you must keep a password, store it in an OS keyring / secrets manager and inject it intosystems.jsonat deploy time rather than committing it.
Установка Adt
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/nhattuan1305/adt-mcpFAQ
Adt MCP бесплатный?
Да, Adt MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Adt?
Нет, Adt работает без API-ключей и переменных окружения.
Adt — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Adt в Claude Desktop, Claude Code или Cursor?
Открой Adt на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Adt with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
