Tools API Overview
The Cosmic MCP Server provides a comprehensive set of tools for interacting with your Cosmic.js headless CMS.
Available Tools
📦 Object Management
list_objects
- List and filter objects from your bucketget_object
- Retrieve a specific object by ID or slugcreate_object
- Create new content objectsupdate_object
- Update existing objectsdelete_object
- Remove objects from your bucketsearch_objects
- Search through your content
🖼️ Media Management
list_media
- List media files in your bucketget_media
- Get media file detailsupload_media
- Upload new media files
🏗️ Type Management
list_object_types
- List all object types in your bucketget_object_type
- Get details about a specific object typecreate_object_type
- Create new object types
Quick Start
List your content: Start by exploring what's in your bucket
Use list_objects to see all your content
Get specific content: Retrieve individual items
Use get_object with an ID or slug to get specific content
Create new content: Add new objects to your bucket
Use create_object to add new blog posts, pages, or custom content
Tool Categories
Content Operations
Perfect for managing your website content, blog posts, pages, and custom objects.
Media Operations
Handle images, videos, and other media files in your Cosmic bucket.
Schema Operations
Manage your content structure by working with object types and their fields.
Next Steps
- Complete Tools Reference - Detailed documentation for all tools
- Objects API - Deep dive into object management
- Media API - Media file operations
- Types API - Object type management
- AI Assistant Prompts - Example prompts for AI assistants