SKILL.md
Contentful Automation
Manage your Contentful headless CMS spaces directly from Claude Code. List spaces, retrieve metadata, and update space configurations without leaving your terminal.
Toolkit docs: composio.dev/toolkits/contentful
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Contentful account when prompted. The agent will provide an authentication link. Ensure your access token has space management scopes.
Core Workflows
1. List All Spaces
Discover all Contentful spaces accessible to your authenticated account. This is typically the first operation since most other actions require a space_id.
Tool: CONTENTFUL_LIST_SPACES
Key parameters:
limit(1-1000) -- maximum number of spaces to return (default: 100)skip-- number of spaces to skip for paginationorder-- sort by field, e.g.,sys.createdAtor-sys.createdAtfor descending
Example prompt: "List all my Contentful spaces"
2. Get Space Details
Retrieve detailed metadata for a specific space including its current sys.version, which is required for updates.
Tool: CONTENTFUL_GET_SPACE
Key parameters:
space_id(required) -- the ID of the space to retrieve (alphanumeric, 1-64 chars)
Example prompt: "Get details for Contentful space abc123def"
3. Update Space Name
Update the name of a specific space. Requires the current version number for optimistic locking to prevent concurrent modification conflicts.
