npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cmsmcp/contentful

v0.3.2

Published

MCP server for Contentful CMS platform — 17 tools for content types, entries, assets, environments, locales, tags, and bulk operations

Readme

@cmsmcp/contentful

MCP server for Contentful -- 20 tools for managing content types, entries, assets, environments, locales, tags, and bulk operations via the Content Management API.

npm version License: MIT

Quick Start

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "contentful": {
      "command": "npx",
      "args": ["-y", "@cmsmcp/contentful"],
      "env": {
        "CONTENTFUL_SPACE_ID": "your-space-id",
        "CONTENTFUL_MANAGEMENT_TOKEN": "your-management-token",
        "CONTENTFUL_ENVIRONMENT": "master"
      }
    }
  }
}

Claude Code

claude mcp add contentful -e CONTENTFUL_SPACE_ID=xxx -e CONTENTFUL_MANAGEMENT_TOKEN=xxx -e CONTENTFUL_ENVIRONMENT=master -- npx -y @cmsmcp/contentful

Cursor / Windsurf / Any MCP Client

Same JSON config format -- add to your client's MCP settings file.

Configuration

| Variable | Required | Description | |----------|----------|-------------| | CONTENTFUL_SPACE_ID | Yes | Contentful space ID | | CONTENTFUL_MANAGEMENT_TOKEN | Yes | Content Management API (CMA) token | | CONTENTFUL_ENVIRONMENT | No | Environment name (default: master) |

Available Tools (20 tools)

Content Types (6 tools)

| Tool | Description | |------|-------------| | contentful_list_content_types | List all content types in the space | | contentful_get_content_type | Get a content type with its field definitions | | contentful_create_content_type | Create a new content type | | contentful_update_content_type | Update an existing content type | | contentful_delete_content_type | Delete a content type | | contentful_publish_content_type | Publish a content type (required before creating entries) |

Entries (7 tools)

| Tool | Description | |------|-------------| | contentful_list_entries | List entries with filtering and pagination | | contentful_get_entry | Get a single entry by ID | | contentful_create_entry | Create a new entry | | contentful_update_entry | Update an existing entry | | contentful_delete_entry | Delete an entry | | contentful_publish_entry | Publish an entry | | contentful_unpublish_entry | Unpublish an entry |

Assets & Media (3 tools)

| Tool | Description | |------|-------------| | contentful_list_assets | List all assets in the space | | contentful_upload_asset | Upload a new asset (image, file, etc.) | | contentful_bulk_publish | Bulk publish multiple entries or assets |

Space & Environment (4 tools)

| Tool | Description | |------|-------------| | contentful_list_spaces | List accessible spaces | | contentful_list_environments | List environments in the space | | contentful_list_locales | List configured locales | | contentful_list_tags | List content tags |

Examples

You: "List all content types"
AI: Uses contentful_list_content_types to show all content types with their field definitions.

You: "Create a new blog post entry"
AI: Uses contentful_get_content_type to check the blogPost schema,
    then contentful_create_entry to create the entry with the required fields.

You: "Publish all draft entries"
AI: Uses contentful_list_entries to find unpublished entries,
    then contentful_bulk_publish to publish them all at once.

Development

# Build
npx turbo build --filter=@cmsmcp/contentful

# Test
npx turbo test --filter=@cmsmcp/contentful

# Dev mode
npx turbo dev --filter=@cmsmcp/contentful

# Test with MCP Inspector
npx @modelcontextprotocol/inspector node packages/contentful-mcp/dist/index.js

License

MIT