Skip to main content
POST
/
api
/
v1
/
secrets
/
git-providers
Store Provider Tokens
curl --request POST \
  --url https://app.all-hands.dev/api/v1/secrets/git-providers \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Token: <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>",
        "timeout": 60
      }
    ]
  },
  "provider_tokens": {}
}
'
{
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://allhandsai-add-v1-api-reference.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Access-Token
string
header
required

Body

application/json

Settings for POST requests

mcp_config
MCPConfig · object

Configuration for MCP (Message Control Protocol) settings.

Attributes: sse_servers: List of MCP SSE server configs stdio_servers: List of MCP stdio server configs. These servers will be added to the MCP Router running inside runtime container. shttp_servers: List of MCP HTTP server configs.

provider_tokens
Provider Tokens · object

Response

Successful Response

General response to an edit operation

message
string
required