프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Cosmic

제작자: cosmicjs버전 1.6.0i★ 1i컴퓨터 또는 클라우드
레지스트리 이름com.cosmicjs/mcp

설치 방법

What it does

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

  • Connects 컴퓨터 또는 클라우드
  • Account or key Cloud: Needs Authorization · Local: Needs COSMIC_BUCKET_SLUG, COSMIC_READ_KEY, COSMIC_WRITE_KEY
  • Category 기타

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 3/3 통과 · 내가 묻는 내용은 제작자 서버(mcp.cosmicjs.com)를 거쳐요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Cosmic에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Cosmic 사이트 열기 ↗

  2. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. “+ Add” → “Add custom connector”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름Cosmic
    Remote MCP server URL · 주소https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}

    Request headers에 이 이름과 값을 추가

    헤더 이름Authorization
    값Bearer <여기에 키 붙여 넣기>

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

    Authentication은 Claude가 찾은 그대로 두고 Add를 누르세요

  4. 채팅에서 켜기

    +ConnectorsCosmic

  5. 해 보기

    Cosmic을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Cosmic을 쓰고 있다고 하거나 답에 Cosmic 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Cosmic에 연결할 수 없어요

Cosmic는 연결할 때 내 키가 필요한데, OpenAI 도움말은 OAuth 로그인만 설명하고 우리가 확인한 키 입력 방법이 없어요

대신 이렇게 할 수 있어요

A · Cosmic에 연결되는 앱 쓰기

  • Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가
  • Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요
  • Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요
  • Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요

B · 기타에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요

  1. Cosmic에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Cosmic 사이트 열기 ↗

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user cosmicjs 'https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}' --header 'Authorization: Bearer your-value'

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Claude Code에서 /mcp 입력

    Cosmic이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    Cosmic을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Cosmic을 쓰고 있다고 하거나 답에 Cosmic 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요

  1. Cosmic에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Cosmic 사이트 열기 ↗

  2. Cursor의 MCP 설정 파일 열기

    ~/.cursor/mcp.json

    이 설정을 붙여 넣고 빈 값을 채운 뒤 저장

    {
      "mcpServers": {
        "cosmicjs": {
          "url": "https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}",
          "headers": {
            "Authorization": "Bearer your-value"
          }
        }
      }
    }
  3. 키 입력

    Cosmic 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Cursor에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Cosmic을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Cosmic을 쓰고 있다고 하거나 답에 Cosmic 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

Cosmic 키가 필요해요 (제작자 사이트에서 만들기) · 주소에 {…} 부분이 있어 먼저 내 값으로 바꿔야 해요

  1. Cosmic에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Cosmic 사이트 열기 ↗

  2. VS Code의 MCP 설정 파일 열기

    MCP: Open User Configuration

    이 설정을 붙여 넣고 빈 값을 채운 뒤 저장

    {
      "servers": {
        "cosmicjs": {
          "type": "http",
          "url": "https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}",
          "headers": {
            "Authorization": "Bearer your-value"
          }
        }
      }
    }
  3. 키 입력

    Cosmic 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. VS Code에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Cosmic을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Cosmic을 쓰고 있다고 하거나 답에 Cosmic 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Cosmic을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user cosmicjs 'https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}' --header 'Authorization: Bearer your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "cosmicjs": {
      "url": "https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "cosmicjs": {
      "type": "http",
      "url": "https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

컴퓨터에 설치

Claude Code

claude mcp add --scope user cosmicjs --env COSMIC_BUCKET_SLUG=your-value --env COSMIC_READ_KEY=your-value --env COSMIC_WRITE_KEY=your-value -- npx -y @cosmicjs/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "cosmicjs": {
      "command": "npx",
      "args": [
        "-y",
        "@cosmicjs/mcp"
      ],
      "env": {
        "COSMIC_BUCKET_SLUG": "your-value",
        "COSMIC_READ_KEY": "your-value",
        "COSMIC_WRITE_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "cosmicjs": {
      "command": "npx",
      "args": [
        "-y",
        "@cosmicjs/mcp"
      ],
      "env": {
        "COSMIC_BUCKET_SLUG": "your-value",
        "COSMIC_READ_KEY": "your-value",
        "COSMIC_WRITE_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "cosmicjs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cosmicjs/mcp"
      ],
      "env": {
        "COSMIC_BUCKET_SLUG": "your-value",
        "COSMIC_READ_KEY": "your-value",
        "COSMIC_WRITE_KEY": "your-value"
      }
    }
  }
}

직접 입력할 값

  • COSMIC_BUCKET_SLUG 필수 env
    Slug of the Cosmic bucket to operate on
  • COSMIC_READ_KEY 비밀 필수 env
    Bucket read key. Enables the read-only tools
  • COSMIC_WRITE_KEY 비밀 env
    Bucket write key. Required for create, update, delete, and AI generation
  • Authorization 비밀 필수 HTTP header
    Bearer for reads, or Bearer : to allow writes

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
165/주
확인된 도메인
✓ cosmicjs.com
연결 방식
컴퓨터 또는 클라우드
전송 방식
stdio, streamable-http
최신 버전i
1.6.0
카테고리i
기타
레지스트리 공개i
2026년 7월 31일
코드 마지막 변경i
2026년 11월 3일
제작자
cosmicjs
패키지
npm: @cosmicjs/mcp
웹사이트
www.cosmicjs.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

주소에 내 값이 필요해서 대신 도구 목록을 읽을 수 없어요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 12일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 cosmicjs.com 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 9일 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • – 해당 없음

    OAuth로 로그인

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 19350개 중 86%보다 스타가 많아요
  • 이 카테고리의 다른 서버 19350개 중 16%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 19350개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Cosmic, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: Authorization, COSMIC_BUCKET_SLUG, COSMIC_READ_KEY, COSMIC_WRITE_KEY

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 9일 전 변경됐고, 최신 버전(1.6.0)은 3개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 지원하는 앱에서도 쓸 수 있어요. 예: ChatGPT Business 이상.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: World Monitor, Claude Flow, Windmill

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 104 tools.

제작자: koala73널리 사용됨★ 9만오늘 업데이트

클라우드에서 실행✓ 서비스 회사 · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

제작자: ruvnet널리 사용됨↓ 1.4만/주★ 8.2만14개월 전 업데이트

내 컴퓨터에서 실행

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

제작자: windmill-labs널리 사용됨★ 1.9만오늘 업데이트

클라우드에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Cosmic MCP Server

Cosmic is a headless CMS with a hosted MCP server, in-product AI workflows, and agent signup. An agent can read and write content, generate text, images, video, and audio into the media library, chain content, code, and browser steps, or provision a new project with no existing account.

Capability table: https://www.cosmicjs.com/ai-cms

Signup MCP (no credentials): https://mcp.cosmicjs.com/v1/agent

Features

  • Content Management: Create, read, update, and delete objects in your Cosmic bucket
  • Media Management: Upload, list, and manage media files
  • Schema Management: Create and modify object types with custom metafields
  • AI Generation: Generate text, images, and videos using Cosmic's AI capabilities

Hosted endpoint (recommended)

Cosmic operates a hosted streamable-HTTP MCP server. No install required.

URL: https://mcp.cosmicjs.com/v1/buckets/{bucket-slug}

Cosmic uses separate read and write keys per bucket. Authenticate with one of:

Authorization: Bearer <read_key>                       # read-only tools

Authorization: Bearer : # full access

You can also send the write key out-of-band via the X-Cosmic-Write-Key header if your client can't colon-pack the bearer token. Keys are issued in your bucket's API Access settings in the Cosmic dashboard.

Use the read key for read-only access (list/get tools), or the write key for full access including object creation, media upload, and AI generation.

Claude Desktop (remote MCP)

In Claude Desktop, Settings -> Connectors -> Add custom connector, enter:

  • URL: https://mcp.cosmicjs.com/v1/buckets/your-bucket-slug
  • Bearer token: for read-only access, or : for full access
Cursor (remote MCP)

Add to .cursor/mcp.json:

{

"mcpServers": { "cosmic": { "url": "https://mcp.cosmicjs.com/v1/buckets/your-bucket-slug", "headers": { "Authorization": "Bearer your-bucket-read-key:your-bucket-write-key" } } } }

Local installation (stdio)

For environments without remote MCP support, the same server runs locally over stdio.

Using npx (recommended)
npx @cosmicjs/mcp
Global installation
npm install -g @cosmicjs/mcp

cosmic-mcp

From source
git clone https://github.com/cosmicjs/mcp.git

cd mcp bun install bun run build

Configuration

The server requires the following environment variables:

VariableRequiredDescription
COSMIC_BUCKET_SLUGYesYour Cosmic bucket slug
COSMIC_READ_KEYYesBucket read key for read operations
COSMIC_WRITE_KEYNoBucket write key for write operations
Getting your credentials
  1. Log in to your Cosmic dashboard
  2. Navigate to your bucket
  3. Go to Settings → API Access
  4. Copy your bucket slug, read key, and write key
Local stdio with Claude Desktop

If you prefer to run the MCP server locally rather than use the hosted endpoint, add the following to your Claude Desktop configuration file.

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{

"mcpServers": { "cosmic": { "command": "npx", "args": ["@cosmicjs/mcp"], "env": { "COSMIC_BUCKET_SLUG": "your-bucket-slug", "COSMIC_READ_KEY": "your-read-key", "COSMIC_WRITE_KEY": "your-write-key" } } } }

Local stdio with Cursor
{

"mcpServers": { "cosmic": { "command": "npx", "args": ["@cosmicjs/mcp"], "env": { "COSMIC_BUCKET_SLUG": "your-bucket-slug", "COSMIC_READ_KEY": "your-read-key", "COSMIC_WRITE_KEY": "your-write-key" } } } }

Available Tools

Objects
ToolDescription
cosmic_objects_listList objects with optional type filter, status, and pagination
cosmic_objects_getGet a single object by ID or slug
cosmic_objects_createCreate a new object (requires write key)
cosmic_objects_updateUpdate an existing object (requires write key)
cosmic_objects_deleteDelete an object (requires write key)
Media
ToolDescription
cosmic_media_listList media files with optional folder filter
cosmic_media_getGet media details by ID
cosmic_media_uploadUpload media from URL or base64 (requires write key)
cosmic_media_deleteDelete a media file (requires write key)
Object Types
ToolDescription
cosmic_types_listList all object types in the bucket
cosmic_types_getGet object type schema by slug
cosmic_types_createCreate a new object type (requires write key)
cosmic_types_updateUpdate object type schema (requires write key)
cosmic_types_deleteDelete an object type (requires write key)
AI Generation
ToolDescription
cosmic_ai_generate_textGenerate text content using AI
cosmic_ai_generate_imageGenerate and upload an AI image or SVG (requires write key)
cosmic_ai_generate_videoGenerate and upload an AI video (requires write key)
Content Blocks
ToolDescription
cosmic_blocks_listList the bucket's reusable rich-text Content Blocks (the {{name /}} tokens available in rich-text fields)

Example Prompts

Here are some example prompts you can use with Claude or Cursor:

Content Management
List all blog posts in my Cosmic bucket
Create a new blog post titled "Getting Started with MCP" with the content "This is an introduction to the Model Context Protocol..."
Update the blog post with ID "abc123" to change its status to published
Media
Show me all images in the "blog-images" folder
Upload this image URL to my media library: https://example.com/image.jpg
Schema Management
Show me all object types in my bucket
Create a new object type called "Products" with fields for name, price, description, and image
AI Generation
Generate a product description for a wireless bluetooth headphone
Generate an image of a futuristic city skyline at sunset and upload it to my media library

Development

Build
bun run build

This produces two binaries:

  • dist/stdio.js - npm-published stdio entry (bin: cosmic-mcp)
  • dist/http.js - hosted streamable-HTTP entry (deployed to ECS Fargate)
Watch mode (stdio)
bun run dev
Run locally (stdio)
COSMIC_BUCKET_SLUG=your-bucket \

COSMIC_READ_KEY=your-read-key \ COSMIC_WRITE_KEY=your-write-key \ bun run start

Run locally (HTTP)
bun run dev:http

Server listens on http://localhost:3000

POST http://localhost:3000/v1/buckets/{slug} with Authorization: Bearer

Deployment

Pushes to main deploy to https://mcp.cosmicjs.com via GitHub Actions. Workflow: .github/workflows/deploy.yml.

Releasing to npm

Releases use the same Changesets flow as @cosmicjs/sdk. Every change that should ship adds a changeset (bunx changeset) describing the bump (patch | minor | major). Do not hand-edit the version field in package.json.

  1. Merge the feature PR to main. Package Checks must pass.
  2. CI opens or updates a Version Packages PR. That PR consumes the changeset, bumps the version, updates CHANGELOG.md, and runs scripts/sync-version.mjs so server.json and SERVER_VERSION stay in sync.
  3. Merging the Version Packages PR publishes to npm via publish.yml (requires the NPM_TOKEN repo secret).

Do not push v*.*.* tags by hand. Hosted MCP deploys from main / staging separately via deploy.yml.

Publishing to the MCP registry

The server is listed on registry.modelcontextprotocol.io under the com.cosmicjs namespace, described by server.json.

Order matters: the registry verifies the listing against what is actually on npm, so release to npm first and publish the listing second. mcpName in package.json must always equal name in server.json, which is how the registry proves we own the npm package.

One-time setup to prove domain ownership. This uses ECDSA P-384 because macOS ships LibreSSL, which cannot generate Ed25519 keys (brew install openssl@3 if you prefer Ed25519):

openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:secp384r1 -out key.pem

PUBLIC_KEY="$(openssl ec -in key.pem -text -noout -conv_form compressed | grep -A4 "pub:" | tail -n +2 | tr -d ' :\n' | xxd -r -p | base64)" echo "cosmicjs.com. IN TXT \"v=MCPv1; k=ecdsap384; p=${PUBLIC_KEY}\""

Add that TXT record on the apex of cosmicjs.com. A selector such as _mcp-auth.cosmicjs.com will not be found and fails with a generic signature error. The apex TXT set also holds the SPF and Google verification records, so append to it rather than replacing it. Keep key.pem out of the repo; it lives in ~/.cosmic-mcp/key.pem.

Then, after each npm release, publish the listing (brew install mcp-publisher first):

PRIVATE_KEY="$(openssl ec -in ~/.cosmic-mcp/key.pem -noout -text | grep -A4 "priv:" | tail -n +2 | tr -d ' :\n')"

mcp-publisher login dns --algorithm ecdsap384 --domain cosmicjs.com --private-key "${PRIVATE_KEY}" mcp-publisher publish

--algorithm ecdsap384 is required. The publisher defaults to ed25519 and rejects the P-384 key with invalid seed length: expected 32 bytes, got 48, which reads like a corrupt key rather than a wrong algorithm.

API Reference

For more information about the Cosmic API, see:

License

MIT

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Support