---
title: "创建团队 MCP Upstream"
method: POST
path: "/api/v1/teams/mcp/upstreams"
tags: ["【Team 管理员】MCP 配置"]
---

# 创建团队 MCP Upstream

`POST /api/v1/teams/mcp/upstreams`

## Request body

- DomainCreateTeamMCPUpstreamReq
  - `description` string
  - `enabled` boolean
  - `group_ids` string[]
  - `headers` DomainMCPHeader[]
    - `name` string
    - `value` string
  - `name` string, required
  - `slug` string, required
  - `url` string, required

## Response `200`

成功

- object
  - `code` integer
  - `data` DomainTeamMCPUpstream
    - `created_at` integer
    - `description` string
    - `enabled` boolean
    - `groups` DomainSkillGroupRef[]
      - `id` string
      - `name` string
    - `headers` DomainMCPHeader[]
      - `name` string
      - `value` string
    - `health_checked_at` integer
    - `health_status` string
    - `id` string
    - `last_synced_at` integer
    - `name` string
    - `scope` 'user' | 'platform' | 'team'
    - `slug` string
    - `sync_status` string
    - `team_id` string
    - `tools` DomainMCPTool[]
      - `created_at` integer
      - `description` string
      - `enabled` boolean
      - `id` string
      - `input_schema` object
      - `name` string
      - `namespaced_name` string
      - `price` integer
      - `scope` 'user' | 'platform' | 'team'
    - `type` string
    - `url` string
    - `user` DomainUser
      - `avatar_url` string
      - `email` string
      - `has_password` boolean
      - `id` string
      - `identities` DomainUserIdentity[]
        - `avatar_url` string
        - `email` string
        - `id` string
        - `identity_id` string
        - `platform` 'baizhi' | 'google' | 'github' | 'gitlab' | 'gitea' | 'gitee' | 'oidc'
        - `username` string
      - `is_blocked` boolean
      - `name` string
      - `role` 'individual' | 'enterprise' | 'subaccount' | 'admin' | 'gittask'
      - `status` 'active' | 'inactive' | 'banded'
      - `team` DomainTeam
        - `id` string
        - `name` string
      - `token` string
      - `wechat_mp_bound` boolean
  - `message` string

---

[API](https://skmtc.net/chaitin/apis/untitled-api.md) · [All operations](https://skmtc.net/chaitin/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaitin/untitled-api/revisions/5a5929cb17f2/schema)
