Skip to content
PUT /connector/{slug}/icon

Uploads the square mark that lists draw for an org-owned remote MCP connector. The body is the raw image (PNG, JPEG or WebP, at most 2 MiB, sniffed from the bytes), not multipart. Returns the connector detail with the new public URL. A new `logo` also moves an `icon` that only mirrored the old logo; an `icon` set on its own is left alone. A picture this upload replaces is deleted, but only one this organization uploaded: a URL set through `PATCH /connector/{slug}` that names someone else's file is never touched. Answers `409` `remote_mcp_only` for any other connector. Needs `edit` access to the connector (the owner, or an `edit` grant), like `PATCH /connector/{slug}`.

Path Parameters

slugstring
required·

Slug of an org-owned remote MCP connector.

curl -X PUT 'https://api.elaichi.ai/connector/<slug>/icon' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/connector/<slug>/icon', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/connector/<slug>/icon"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.put(url, headers=headers)
print(response.json())