POST
/
api
/
add-git-providers
Store Provider Tokens
curl --request POST \
  --url https://app.all-hands.dev/api/add-git-providers \
  --header 'Content-Type: application/json' \
  --header 'X-Session-API-Key: <api-key>' \
  --data '{
  "mcp_config": {
    "sse_servers": [
      {
        "url": "<string>",
        "api_key": "<string>"
      }
    ],
    "stdio_servers": [
      {
        "name": "<string>",
        "command": "<string>",
        "args": [
          "<string>"
        ],
        "env": {}
      }
    ],
    "shttp_servers": [
      {
        "url": "<string>",
        "api_key": "<string>"
      }
    ]
  },
  "provider_tokens": {}
}'
"<any>"

Authorizations

X-Session-API-Key
string
header
required

Body

application/json

Settings for POST requests

Response

200
application/json

Successful Response

The response is of type any.