---
title: "Update Project Mcp Settings"
method: PATCH
path: "/api/v1/mcp/project/{project_id}"
tags: ["mcp_projects"]
---

# Update Project Mcp Settings

`PATCH /api/v1/mcp/project/{project_id}`

Update the MCP settings of all flows in a project and project-level auth settings.

On MCP Composer failure, this endpoint should return with a 200 status code and an error message in
the body of the response to display to the user.

## Path parameters

- `project_id` string, uuid, required

## Request body

- MCPProjectUpdateRequest — Request model for updating MCP project settings including auth.
  - `auth_settings` AuthSettings — Model representing authentication settings for MCP.
    - `auth_type` 'none' | 'apikey' | 'oauth'
    - `oauth_auth_url` string, nullable
    - `oauth_callback_path` string, nullable
    - `oauth_callback_url` string, nullable
    - `oauth_client_id` string, nullable
    - `oauth_client_secret` string, password, nullable
    - `oauth_host` string, nullable
    - `oauth_mcp_scope` string, nullable
    - `oauth_port` string, nullable
    - `oauth_provider_scope` string, nullable
    - `oauth_server_url` string, nullable
    - `oauth_token_url` string, nullable
  - `settings` MCPSettings[], required
    - `action_description` string, nullable
    - `action_name` string, nullable
    - `description` string, nullable
    - `id` string, uuid, required
    - `mcp_enabled` boolean, nullable
    - `name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.net/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
