Skip to content
mcp/skillhub

Cosmic MCP Server

by cosmicjscom.cosmicjs/mcpv1.6.0

Manage Cosmic CMS content, media, object types, and AI generation from any MCP client.

1Node.jsstdioremoteofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active4d ago

Install Cosmic MCP server

Install in Claude Code

claude mcp add cosmicjs -e COSMIC_BUCKET_SLUG='<cosmic-bucket-slug>' -e COSMIC_READ_KEY='<cosmic-read-key>' -e COSMIC_WRITE_KEY='<cosmic-write-key>' -- npx -y @cosmicjs/mcp

Configuration

VariableRequiredSecretDescription
COSMIC_BUCKET_SLUGyes—Slug of the Cosmic bucket to operate on
COSMIC_READ_KEYyesyesBucket read key. Enables the read-only tools
COSMIC_WRITE_KEY—yesBucket write key. Required for create, update, delete, and AI generation

Remote endpoints

  • streamable-httphttps://mcp.cosmicjs.com/v1/buckets/{bucket_slug}

Freshness

Active — last maintenance signal 4d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-06 · 4d ago · GitHub

  2. Latest release

    2026-09-09 · 31d ago · GitHub · v1.7.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-31 · 2mo ago · official registry · v1.6.0

FAQ

›How do I install the Cosmic MCP server in Claude Code?

Run: claude mcp add cosmicjs -e COSMIC_BUCKET_SLUG='<cosmic-bucket-slug>' -e COSMIC_READ_KEY='<cosmic-read-key>' -e COSMIC_WRITE_KEY='<cosmic-write-key>' -- npx -y @cosmicjs/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Cosmic require an API key?

Yes. It expects COSMIC_BUCKET_SLUG, COSMIC_READ_KEY, COSMIC_WRITE_KEY, of which 2 are secrets.

›Can I use Cosmic as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is Cosmic in the official MCP registry?

Yes, as com.cosmicjs/mcp.