Skip to main content
Glama
rohitvardhanbattula

ADT MCP Server

README.md
# ADT MCP Server

## Deploy

```bash
mbt build
cf deploy mta_archives/adt-mcp-server_1.0.0.mtar
```

## Configure (3 commands)

```bash
cf set-env adt-mcp-server SAP_URL      https://your-sap-host:44300
cf set-env adt-mcp-server SAP_USER     youruser
cf set-env adt-mcp-server SAP_PASSWORD yourpass
cf restage adt-mcp-server
```

Optional:
```bash
cf set-env adt-mcp-server SAP_CLIENT   100
cf set-env adt-mcp-server SAP_LANGUAGE EN
cf restage adt-mcp-server
```

## Get credentials (share with Claude / ChatGPT / Copilot)

```bash
cf create-service-key adt-mcp-uaa mcp-client-key
cf service-key adt-mcp-uaa mcp-client-key
```

You'll get:
```json
{
  "clientid":     "sb-adt-mcp-server!t12345",
  "clientsecret": "xxxx-xxxx-xxxx-xxxx",
  "url":          "https://your-subaccount.authentication.us10.hana.ondemand.com"
}
```

## Connect Claude.ai

1. Claude.ai → Settings → Integrations → Add Integration
2. URL: `https://adt-mcp-server-xyz.cfapps.us10.hana.ondemand.com/sse`
3. Log in when prompted

## Connect ChatGPT

Actions → OAuth:
- Client ID: `clientid`
- Client Secret: `clientsecret`
- Auth URL: `https://your-subaccount.authentication.us10.hana.ondemand.com/oauth/authorize`
- Token URL: `https://your-subaccount.authentication.us10.hana.ondemand.com/oauth/token`
- MCP URL: `https://adt-mcp-server-xyz.cfapps.us10.hana.ondemand.com/sse`

## Connect Microsoft Copilot

OAuth discovery: `https://adt-mcp-server-xyz.cfapps.us10.hana.ondemand.com/.well-known/oauth-authorization-server`