---
title: "Update MCP logo"
method: POST
path: "/agents/builtin_mcps/admin/{mcp_id}/logo"
tags: ["Agents"]
---

# Update MCP logo

`POST /agents/builtin_mcps/admin/{mcp_id}/logo`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/agents/builtin_mcps/admin/{mcp_id}/logo`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/agents/builtin_mcps/admin/:mcp_id/logo/post.ts> (a function with typed inputs; its response is checked against the schema)

Updates the logo for a published MCP. Requires the ManageLibrary permission (admins hold it by default).

## Path parameters

- `mcp_id` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: Logo image file to upload

## Response `200`

Logo successfully updated

- object
  - `message` string: Success message
  - `logo_url` string: URL of the uploaded logo

## Other responses

- `400`: Bad request - Invalid file
- `401`: Unauthorized - Invalid or missing API key
- `404`: MCP not found
- `415`: Unsupported media type
- `500`: Internal server error
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
