---
title: "Store Provider Tokens"
method: POST
path: "/api/add-git-providers"
---

# Store Provider Tokens

`POST /api/add-git-providers`

## Request body

- POSTProviderModel — Settings for POST requests
  - `mcp_config` MCPConfig — 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.
    - `sse_servers` MCPSSEServerConfig[]
      - `url` string, required
      - `api_key` string, nullable
    - `stdio_servers` MCPStdioServerConfig[]
      - `name` string, required
      - `command` string, required
      - `args` string[]
      - `env` object
    - `shttp_servers` MCPSHTTPServerConfig[]
      - `url` string, required
      - `api_key` string, nullable
  - `provider_tokens` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/all-hands/apis/openhands.md) · [All operations](https://skmtc.dev/all-hands/apis/openhands/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/all-hands/openhands/revisions/4daa2bb4dbf1/schema)
