---
title: "Update project metadata"
method: PATCH
path: "/projects/{projectId}"
tags: ["Projects"]
---

# Update project metadata

`PATCH /projects/{projectId}`

Updates name, description, icon or visibility. Requires project admin; a non-member gets `404` rather than `403`, so the response never confirms that a project exists. The project's server map is not updatable here — see the per-server routes.

## Path parameters

- `projectId` string, required

## Request body

- ProjectUpdateRequest — Metadata only, and at least one field is required. The project's server map is deliberately NOT updatable here: the underlying mutation treats it as a wholesale replace and deletes every server absent from the payload. Use the per-server routes instead. Requires project admin.
  - `name` string
  - `description` string
  - `icon` string
  - `visibility` 'public' | 'private'

## Response `200`

The updated project.

- Project
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `icon` string, nullable
  - `organizationId` string, nullable
  - `visibility` string, nullable
  - `role` string — Caller's role on the project, when resolved.
  - `createdAt` number, nullable — Epoch milliseconds.
  - `updatedAt` number, nullable

## Other responses

- `400` — Malformed body or parameters.
- `401` — Missing, invalid, revoked, or orphaned key (`UNAUTHORIZED`) — or the **target MCP server** needs an OAuth grant (`OAUTH_REQUIRED`), which is a property of the server, not your key.
- `403` — Key is valid but not allowed to do this.
- `404` — Unknown project, server, or resource.
- `429` — Per-key rate limit exceeded (60 requests/minute sustained, bursts up to 10). Honor `Retry-After` and back off with jitter.
- `500` — Something failed on MCPJam's side.
- `502` — Could not connect to the target MCP server.

---

[API](https://skmtc.net/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.net/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mcpjam/mcpjam-api/versions/b767df188d0c/schema)
