Skip to main content
Glama

Cosmic MCP Server

by patgpt
package.json1.99 kB
{ "name": "cosmic-mcp", "version": "1.0.1", "description": "A Model Context Protocol (MCP) server for the Cosmic.js headless CMS.", "type": "module", "main": "dist/server.js", "bin": { "cosmic-mcp": "dist/server.js" }, "scripts": { "build": "bun build src/server.ts --outdir dist --target node", "start": "bun run src/server.ts", "dev": "bun run --watch src/server.ts", "test": "bun test", "test:coverage": "bun test --coverage", "test:integration": "bun test tests/integration/", "type-check": "tsc --noEmit", "clean": "rm -rf dist", "lint": "eslint .", "lint:fix": "eslint . --fix", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "prepublishOnly": "npm run build" }, "keywords": [ "mcp", "cosmic", "cursor", "ai", "cms", "headless" ], "author": "patgpt", "license": "MIT", "dependencies": { "@cosmicjs/sdk": "1.5.5", "@modelcontextprotocol/sdk": "1.15.0", "dotenv": "17.0.1", "eslint": "9.30.1", "winston": "3.17.0", "zod": "3.25.74" }, "devDependencies": { "@eslint/js": "9.30.1", "@types/bun": "1.2.18", "@types/node": "24.0.10", "@types/winston": "2.4.4", "@typescript-eslint/eslint-plugin": "8.35.1", "@typescript-eslint/parser": "8.35.1", "eslint-config-prettier": "10.1.5", "eslint-plugin-prettier": "5.5.1", "globals": "16.3.0", "prettier": "3.6.2", "typescript": "5.8.3", "typescript-eslint": "8.35.1", "vitepress": "1.6.3" }, "engines": { "node": ">=20.0.0", "bun": ">=1.1.0" }, "files": [ "dist", "src", "README.md", "LICENSE", ".env.example" ], "repository": { "type": "git", "url": "https://github.com/patgpt/cosmic-mcp.git" }, "bugs": { "url": "https://github.com/patgpt/cosmic-mcp/issues" }, "homepage": "https://github.com/patgpt/cosmic-mcp#readme" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/patgpt/cosmic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server