{"name":"cosmic-mcp","version":"1.2.0","protocol":"MCP","protocolVersion":"2025-06-18","transport":"streamable-http","description":"Cosmic CMS MCP server. Manage objects, media, object types, and AI generation in a Cosmic bucket. Authenticate with `Authorization: Bearer <read_key>` for read-only access, or `Authorization: Bearer <read_key>:<write_key>` for full access. The write key may also be sent out-of-band via the `X-Cosmic-Write-Key` header.","endpoints":{"bucket":"/v1/buckets/{bucket-slug}","account":"/v1/account (reserved for future use)"},"documentation":"https://www.cosmicjs.com/docs","tools":[{"name":"cosmic_objects_list","description":"List objects from the Cosmic bucket with optional filters for type, status, and pagination. Returns an array of objects with their metadata."},{"name":"cosmic_objects_get","description":"Get a single object by ID or by slug+type. Returns the full object with all metadata."},{"name":"cosmic_objects_create","description":"Create a new object in the Cosmic bucket. Requires write access."},{"name":"cosmic_objects_update","description":"Update an existing object by ID. Only provided fields will be updated. Requires write access."},{"name":"cosmic_objects_delete","description":"Delete an object by ID. This action is permanent. Requires write access."},{"name":"cosmic_media_list","description":"List media files from the Cosmic bucket with optional folder filter and pagination."},{"name":"cosmic_media_get","description":"Get details of a single media file by ID. Returns the full media object with URL and metadata."},{"name":"cosmic_media_upload","description":"Upload a media file to the Cosmic bucket from a URL or base64-encoded data. Requires write access."},{"name":"cosmic_media_delete","description":"Delete a media file by ID. This action is permanent. Requires write access."},{"name":"cosmic_types_list","description":"List all object types in the Cosmic bucket. Returns the schema definitions including metafields for each type."},{"name":"cosmic_types_get","description":"Get a single object type by slug. Returns the full schema including all metafield definitions."},{"name":"cosmic_types_create","description":"Create a new object type with a custom schema. Define metafields to structure your content. Requires write access."},{"name":"cosmic_types_update","description":"Update an existing object type schema. Can modify title, metafields, and options. Requires write access."},{"name":"cosmic_types_delete","description":"Delete an object type by slug. WARNING: This will also delete all objects of this type. Requires write access."},{"name":"cosmic_ai_generate_text","description":"Generate text content using Cosmic AI. Useful for creating content, descriptions, summaries, and more."},{"name":"cosmic_ai_generate_image","description":"Generate an image using Cosmic AI and automatically upload it to your media library. Requires write access."},{"name":"cosmic_ai_generate_video","description":"Generate a video using Cosmic AI (powered by Veo) and automatically upload it to your media library. Requires write access."},{"name":"cosmic_ai_generate_audio","description":"Generate audio from text using OpenAI text-to-speech and upload it to your media library. Supports 13 natural-sounding voices. Requires write access."}]}