> Minded’s MCP server is https://mcp.minded.com: connect an agent to it with a Minded API key to hand work to Minded.

# subscriptions.connectClaude

`POST https://app.minded.com/v1/subscriptions/claude`

```json
{
  "operationId": "subscriptions.connectClaude",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300
            },
            "token": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "account": {
              "type": "string",
              "maxLength": 200
            }
          },
          "required": [
            "code",
            "token"
          ]
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "connected": {
                    "type": "boolean",
                    "const": true
                  },
                  "account": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "connected",
                  "account"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "confirm": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "confirm"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "refused": {
                    "type": "string",
                    "enum": [
                      "api_key",
                      "not_a_token",
                      "refused",
                      "no_subscription"
                    ]
                  },
                  "words": {
                    "type": "string"
                  }
                },
                "required": [
                  "refused"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "refused": {
                    "type": "string",
                    "enum": [
                      "code",
                      "used",
                      "expired",
                      "off"
                    ]
                  }
                },
                "required": [
                  "refused"
                ],
                "additionalProperties": false
              }
            ]
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://app.minded.com/v1"
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "runToken": [],
      "runChat": []
    }
  ],
  "securitySchemes": {
    "apiKey": {
      "type": "http",
      "scheme": "bearer",
      "description": "A member’s Minded API key"
    },
    "runToken": {
      "type": "http",
      "scheme": "bearer",
      "description": "A run’s own token, which its sandbox holds as MINDED_RUN_TOKEN. It works only while the turn it was given for runs"
    },
    "runChat": {
      "type": "apiKey",
      "in": "header",
      "name": "x-minded-chat-id",
      "description": "The chat the run’s token was given for, which its sandbox holds as MINDED_CHAT_ID"
    }
  }
}
```
