Skip to content
VS Code

abap adt mcp for VS Code

io.github.williansaez/abap-adt-mcp

ABAP development from Claude and other MCP hosts: source, transports, tests, ATC, debugger

client:VS Code transport:stdio runtime:npm

Install abap adt mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sap-systems-file",
      "description": "SAP_SYSTEMS_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-systems",
      "description": "SAP_SYSTEMS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-default-destination",
      "description": "SAP_DEFAULT_DESTINATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-auth-type",
      "description": "SAP_AUTH_TYPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-port",
      "description": "MCP_HTTP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-host",
      "description": "MCP_HTTP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-token",
      "description": "MCP_HTTP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-max-sessions",
      "description": "MCP_HTTP_MAX_SESSIONS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-max-body-bytes",
      "description": "MCP_HTTP_MAX_BODY_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-session-ttl-minutes",
      "description": "MCP_HTTP_SESSION_TTL_MINUTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-allowed-origins",
      "description": "MCP_HTTP_ALLOWED_ORIGINS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-http-allowed-hosts",
      "description": "MCP_HTTP_ALLOWED_HOSTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-export-root",
      "description": "MCP_EXPORT_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-audit-file",
      "description": "MCP_AUDIT_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-read-only",
      "description": "MCP_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-toolsets",
      "description": "MCP_TOOLSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-disabled-toolsets",
      "description": "MCP_DISABLED_TOOLSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-max-response-chars",
      "description": "MCP_MAX_RESPONSE_CHARS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-allow-reentrance-ticket",
      "description": "SAP_ALLOW_REENTRANCE_TICKET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-url",
      "description": "SAP_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-user",
      "description": "SAP_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-password",
      "description": "SAP_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-client",
      "description": "SAP_CLIENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-language",
      "description": "SAP_LANGUAGE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-browser-path",
      "description": "SAP_BROWSER_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-browser-profile-dir",
      "description": "SAP_BROWSER_PROFILE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-tls-insecure",
      "description": "SAP_TLS_INSECURE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-oauth-token-url",
      "description": "SAP_OAUTH_TOKEN_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-oauth-client-id",
      "description": "SAP_OAUTH_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-oauth-client-secret",
      "description": "SAP_OAUTH_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-oauth-scope",
      "description": "SAP_OAUTH_SCOPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-profile-gate",
      "description": "MCP_PROFILE_GATE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-source-cache-ttl-seconds",
      "description": "MCP_SOURCE_CACHE_TTL_SECONDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-cache-dir",
      "description": "MCP_CACHE_DIR",
      "password": true
    }
  ],
  "servers": {
    "abap-adt-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "abap-adt-mcp"
      ],
      "env": {
        "SAP_SYSTEMS_FILE": "${input:sap-systems-file}",
        "SAP_SYSTEMS": "${input:sap-systems}",
        "SAP_DEFAULT_DESTINATION": "${input:sap-default-destination}",
        "SAP_AUTH_TYPE": "${input:sap-auth-type}",
        "MCP_HTTP_PORT": "${input:mcp-http-port}",
        "MCP_HTTP_HOST": "${input:mcp-http-host}",
        "MCP_HTTP_TOKEN": "${input:mcp-http-token}",
        "MCP_HTTP_MAX_SESSIONS": "${input:mcp-http-max-sessions}",
        "MCP_HTTP_MAX_BODY_BYTES": "${input:mcp-http-max-body-bytes}",
        "MCP_HTTP_SESSION_TTL_MINUTES": "${input:mcp-http-session-ttl-minutes}",
        "MCP_HTTP_ALLOWED_ORIGINS": "${input:mcp-http-allowed-origins}",
        "MCP_HTTP_ALLOWED_HOSTS": "${input:mcp-http-allowed-hosts}",
        "MCP_EXPORT_ROOT": "${input:mcp-export-root}",
        "MCP_AUDIT_FILE": "${input:mcp-audit-file}",
        "MCP_READ_ONLY": "${input:mcp-read-only}",
        "MCP_TOOLSETS": "${input:mcp-toolsets}",
        "MCP_DISABLED_TOOLSETS": "${input:mcp-disabled-toolsets}",
        "MCP_MAX_RESPONSE_CHARS": "${input:mcp-max-response-chars}",
        "SAP_ALLOW_REENTRANCE_TICKET": "${input:sap-allow-reentrance-ticket}",
        "SAP_URL": "${input:sap-url}",
        "SAP_USER": "${input:sap-user}",
        "SAP_PASSWORD": "${input:sap-password}",
        "SAP_CLIENT": "${input:sap-client}",
        "SAP_LANGUAGE": "${input:sap-language}",
        "SAP_BROWSER_PATH": "${input:sap-browser-path}",
        "SAP_BROWSER_PROFILE_DIR": "${input:sap-browser-profile-dir}",
        "SAP_TLS_INSECURE": "${input:sap-tls-insecure}",
        "SAP_OAUTH_TOKEN_URL": "${input:sap-oauth-token-url}",
        "SAP_OAUTH_CLIENT_ID": "${input:sap-oauth-client-id}",
        "SAP_OAUTH_CLIENT_SECRET": "${input:sap-oauth-client-secret}",
        "SAP_OAUTH_SCOPE": "${input:sap-oauth-scope}",
        "MCP_PROFILE_GATE": "${input:mcp-profile-gate}",
        "MCP_SOURCE_CACHE_TTL_SECONDS": "${input:mcp-source-cache-ttl-seconds}",
        "MCP_CACHE_DIR": "${input:mcp-cache-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

abap adt mcp in other clients