# Does Cosmic have an MCP server?

**Yes — Official.** Cosmic maintains an official MCP server.

## Facts

- Verdict: Official (Yes)
- Access: Built into the product — Ships inside the vendor's own app or CLI rather than as a standalone download.
- Endpoint: `mcp.cosmicjs.com/v1/buckets/<bucket_slug> — per-instance endpoint`
- Package: [`@cosmicjs/mcp`](https://www.npmjs.com/package/@cosmicjs/mcp) on npm
- Repository: [cosmicjs/mcp](https://github.com/cosmicjs/mcp) — ★ 1, last push 2026-09-09, MIT
- Maintainer: Cosmic
- Language: TypeScript
- Category: [Developer Tools](https://mcpyet.com/category/developer-tools/)
- Verified against vendor docs: 2026-09-29
- GitHub data refreshed: 2026-09-29 (re-checked every 6 hours)

## What it does

> Cosmic MCP
> — how [cosmicjs/mcp](https://github.com/cosmicjs/mcp) describes itself

Project site: <https://www.npmjs.com/package/@cosmicjs/mcp>

## The receipts

- **In-product:** mcp.cosmicjs.com/v1/buckets/<bucket_slug> — per-instance endpoint — ships inside Cosmic's own product rather than as a standalone server. Documented at <https://www.cosmicjs.com/docs/mcp-server>.
- **Official package:** [`@cosmicjs/mcp`](https://www.npmjs.com/package/@cosmicjs/mcp) on npm. The package page carries the exact launch arguments and required credentials.
- **Official repository:** [cosmicjs/mcp](https://github.com/cosmicjs/mcp) — ★ 1, pushed 2026-09-09, MIT (active)

## How to connect it

Ships inside the vendor's own app or CLI rather than as a standalone download.

### Claude Code

```sh
claude mcp add cosmic -- npx -y <package-from-readme>
```

Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable. Add `--scope user` to make it available in every project.

### Claude Desktop

Open **Settings → Developer → Edit Config** and add the server to `claude_desktop_config.json`, then restart Claude Desktop:

```json
{
  "mcpServers": {
    "cosmic": {
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` for every project:

```json
{
  "mcpServers": {
    "cosmic": {
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### VS Code

Add to `.vscode/mcp.json`, then pick the server from Copilot's agent-mode tools menu:

```json
{
  "servers": {
    "cosmic": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ]
    }
  }
}
```

### ChatGPT

ChatGPT connects to **remote servers only**, and this one runs on your machine. Either expose it through an MCP gateway that gives it a public URL, or use a client with native local support (Claude or Cursor).

## How we know

Published to the MCP Registry under Cosmic's verified namespace com.cosmicjs; the hosted per-bucket endpoint and the @cosmicjs/mcp npm package are documented at cosmicjs.com/docs/mcp-server and built in the cosmicjs/mcp repo. The hosted endpoint answers MCP initialize with 401 (bucket keys required).

- GitHub data refreshed 2026-09-29, then every 6 hours.
- Vendor docs verified on 2026-09-29.
- Corrections: hello@mcpyet.com.

## Also in Developer Tools

- [Chrome DevTools](https://mcpyet.com/mcp/chrome-devtools.md) — Official (Yes)
- [Google AI Studio](https://mcpyet.com/mcp/google-ai-studio.md) — Community only (Sort of)
- [Serena](https://mcpyet.com/mcp/serena.md) — Official (Yes)
- [LangChain](https://mcpyet.com/mcp/langchain.md) — Official (Yes)
- [GitLab](https://mcpyet.com/mcp/gitlab.md) — Official (Yes)
- [n8n](https://mcpyet.com/mcp/n8n.md) — Official (Yes)

---

Source: https://mcpyet.com/mcp/cosmic/ — data refreshed 2026-09-29
