ARC-1
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ARC1_URL | No | URL of the SAP system (e.g., https://your-sap-host:44300). Required unless using BTP Destination Service. | |
| ARC1_USER | No | Username for SAP system authentication. Required for basic auth or API key methods. | |
| ARC1_API_KEY | No | Bearer token for API key authentication. | |
| ARC1_PROFILE | No | Safety profile: viewer, viewer-data, viewer-sql, developer, developer-data, developer-sql. | viewer |
| ARC1_PASSWORD | No | Password for SAP system authentication. Required for basic auth. | |
| ARC1_BLOCK_DATA | No | Block table data preview (true/false). | true |
| ARC1_OIDC_ISSUER | No | OpenID Connect issuer URL for OIDC/JWT authentication. | |
| ARC1_CACHE_WARMUP | No | Pre-warm cache at startup (true/false). | false |
| ARC1_BLOCK_FREE_SQL | No | Block free-form SQL queries (true/false). | true |
| ARC1_OIDC_CLIENT_ID | No | Client ID for OIDC/JWT authentication. | |
| ARC1_XSUAA_INSTANCE | No | XSUAA service instance name for BTP native auth. | |
| ARC1_OAUTH_CLIENT_ID | No | Client ID for OAuth 2.0 authentication (e.g., for BTP ABAP Environment). | |
| ARC1_ALLOWED_PACKAGES | No | Comma-separated list of packages for write operations (e.g., Z*,$TMP). | |
| ARC1_OIDC_CLIENT_SECRET | No | Client secret for OIDC/JWT authentication. | |
| ARC1_OAUTH_CLIENT_SECRET | No | Client secret for OAuth 2.0 authentication. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use ARC-1 for SAP ABAP source, CDS/RAP, DDIC, transports, Git, ATC/Unit, SQL/data, syntax/activation and dumps/traces on this system.
Fetch targeted evidence:
Native relationship maps: SAPNavigate(action="relations") when listed; deps is source-derived.
Understanding an object: SAPContext(action="deps") returns available KTD and dependency contracts.
Use SAPRead afterwards for exact implementation, method bodies or known references. For draft reviews/test design, first SAPContext(action="deps") for available KTD (type+name), unless requirements are supplied. Test expectations follow those requirements; show current behavior separately, even when it is a defect. Source behavior is not a specification. If a targeted requirements lookup yields no evidence or lead, finish with observed source behavior and unverified intent/compliance. Do not broaden the policy search. Unavailable or failed syntax/ATC/test checks are not passes.
One method: SAPRead(type="CLAS", method="name"). Survey signatures: method="*".
Find strings: SAPRead(grep="pattern").
Blast radius of a CDS change: SAPContext(action="impact"). Where-used counts rows, not unique consumers/runtime calls. Capped results are incomplete; read qualifiers.
One SAP system per instance; no target selector. VS Code on request: if available, use SAP ADT MCP abap_object_get_file_uri (name/type), abap_object_list_file_uris for includes. Require user-confirmed destination for backend/client; never infer from SID/count/tool output or bypass ARC-1 denials. Verify name/type/source, not .json. On mismatch/error stop; no resolver/bridge/destination retries. Link returned abap: URIs via vscode://sapse.adt-vscode/open?abapUri= + encodeURIComponent(exact URI). Never invent paths. Logon required. Resolution is not opening; never edit/activate natively.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| SAPReadA | Read SAP ABAP source/metadata. DDIC metadata: omit format. SHLP: active partial interface metadata; missing headers/assignments/appends are explicit. No drafts or source formats. For specs, reviews or pre-change context, prefer SAPContext first. TABLE_QUERY: filter with where, data preview required; CDS needs SAP_BASIS 752+. TABLE_CONTENTS: unfiltered preview. INACTIVE_OBJECTS: no name. TABL/DTT: technical settings. SYNTAX: read-only check (objectType+name, optional source). Global class declaration/implementation: MAIN (omit include). definitions/implementations contain local helpers. |
| SAPSearchA | Search for ABAP objects, exact object-directory entries, or source code. Modes:
|
| SAPNavigateA | Navigate code: definitions, references, completion, hierarchy. references: where-used objects by default; detail=positions/snippets adds bounded native usages; objectType filters results (e.g. CLAS/OC, PROG/P); type+name replaces uri. hierarchy queries SEOMETAREL for superclass/interfaces/direct subclasses: requires data/SQL opt-in + matching scope; otherwise inspect class MAIN with SAPRead. CDS (DDLS) impact: SAPContext(action="impact") classifies where-used into RAP buckets. Experimental relations: dependency maps or package neighborhoods, then selected reads. Consumer locations: references; objectType="CLAS/OC" for class-only; otherwise omit. Active metadata, not source-call/runtime proof. Coverage unknown. type+name required, no uri/source. |
| SAPLintA | Run local abaplint rules on ABAP/CDS source (auto-selects cloud or on-prem rules by system type). Actions:
|
| SAPDiagnoseA | ABAP diagnostics:
|
| SAPContextA | SHLP: default/deps returns active partial interface metadata, as SAPRead; no KTD or dependency traversal. Primary tool for understanding ABAP/CDS objects. KTD when available, then dependency contracts. Use SAPRead after SAPContext for exact source/methods/grep/drafts. Decision rule — pick the action from the user's question:
impact: upstream CDS dependencies, downstream where-used in RAP buckets, and sibling-consistency hints. Prefer it to SQL source scans. See action/options below. deps: target KTD when available + selected dependency contracts, derived from source (not SAP-native relationships or a complete inventory). Counts distinguish root candidates from recursive attempts. Standard helper names are filtered. For CDS, includes dependency DDL/field catalogs for cl_cds_test_environment. structure (TABL only): the DDIC include/append tree. |
| SAPManageA | Probe and report SAP system capabilities. Use BEFORE operations that depend on optional features (abapGit, RAP/CDS, AMDP, HANA, UI5/Fiori, CTS transports, FLP). Also handles package (DEVC) lifecycle. Actions:
Returns features + systemType ("onprem"/"btp"); "available: false" means do NOT attempt dependent operations. |
| SAPTransportA | Manage CTS transport requests (SE09/SE10). Actions: list (current user, modifiable), get (tasks + objects), create (always a Workbench (K) request — the package/target sets target & layer, not the request category; optional explicit target), release, delete, remove_object (keep the request), reassign (change owner), release_recursive (tasks then parent), check (does a package need a transport — type, name, package), history (legacy name: current object lock plus assignment candidates — type, name; not complete transport history; read-only, no write scope needed). IDs look like A4HK900123. Status: D/L=modifiable, O/P=releasing, R/N=released. |
| SAPGitC | Git reads and gated abapGit workflows. gCTS mutations are quarantined. abapGit mutations need write/Git gates and allowedPackages ROOT/** or *; clone/pull evidence is unverified. external_info is gated HTTPS SAP egress. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Top-level domains are mostly distinct, but SAPRead, SAPSearch, SAPContext, and SAPNavigate all retrieve ABAP information and overlap on source lookup, where-used/references, and SHLP metadata. SAPRead SYNTAX also overlaps with SAPDiagnose syntax; the descriptions add routing guidance, but an agent can still hesitate between SAPContext usages, SAPNavigate references, and SAPSearch source_code.
All nine tools follow the same SAP + PascalCase convention (SAPRead, SAPSearch, SAPDiagnose, SAPLint, etc.) with no mixing of casing or separators. The pattern is predictable and maps clearly to broad domains, even if SAPManage is broader than its name suggests.
Nine tools is within the ideal 3-15 range and each maps to a recognizable SAP development category: read, search, diagnose, lint, transport, git, context, navigate, and manage. The count is not bloated, though several tools internally aggregate many actions.
There is no general SAPWrite or SAPActivate tool, even though SAPDiagnose's quickfix flow and SAPSearch tips explicitly route users to SAPWrite/SAPActivate, and apply_quickfix only returns unsaved text deltas. Core ABAP edit/create/activate lifecycle is therefore a dead end, despite strong read, diagnose, and transport coverage.