changecrab-mcp-server

v2.0.0
changecrab-mcp-server Checked 1 day ago Published 29 days ago

MCP server for ChangeCrab - manage changelogs and posts from Cursor, Claude, and other AI tools

Use ChangeCrab from Cursor, Claude Desktop, and other clients that support local MCP servers. List changelogs, categories and posts; save Markdown drafts; explicitly publish; edit or delete posts; and get product information. This server runs locally over stdio, using your own API key. Hosted ChatGPT/Claude connections and directory listings are planned for a later release; this package does not provide a remote MCP URL or OAuth sign-in. Store the key in your client's local MCP configuration. Do not put it in prompts, commit it to source control, or share it with other users.

Summary extracted from the README.

ChangeCrab MCP Server

Use ChangeCrab from Cursor, Claude Desktop, and other clients that support local MCP servers. List changelogs, categories and posts; save Markdown drafts; explicitly publish; edit or delete posts; and get product information.

This server runs locally over stdio, using your own API key. Hosted ChatGPT/Claude connections and directory listings are planned for a later release; this package does not provide a remote MCP URL or OAuth sign-in.

Version 2 migration

Version 2 changes publication behaviour. Existing local client configurations and all ten tool names remain compatible, but workflows that relied on immediate publication must change:

  • create_post now defaults to draft: 1. public: 1 describes visibility when published; it does not publish a draft.
  • To publish using either create_post or update_post, explicitly supply both draft: 0 and notify_subscribers: true or false.
  • update_post accepts partial edits. Omitted fields are preserved, including content, public/private visibility, draft state, categories, schedule and notification preference. Do not copy all fields back merely to edit a title.
  • Supplying markdown replaces the whole body, including rich editor blocks such as images. Omit it for a title-only edit.
  • Omitting categories preserves the selection on an edit; categories: [] clears it.
  • IDs must be valid access IDs or positive integers as appropriate; public and draft accept only 0 or 1.

See CHANGELOG.md for the release notes.

Requirements and API key

  • Node.js 18 or later, available to the MCP client.
  • ChangeCrab account with an active subscription or trial for API access.
  • Your own API key from Settings → API Keys in ChangeCrab.

Store the key in your client's local MCP configuration. Do not put it in prompts, commit it to source control, or share it with other users. The static information tools make no API calls, but startup still requires CHANGECRAB_API_KEY.

Installation

Install with npm

Configure Cursor in .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). For Claude Desktop on macOS, use ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "changecrab": {
      "command": "npx",
      "args": ["-y", "changecrab-mcp-server@2.0.0"],
      "env": {
        "CHANGECRAB_API_KEY": "your-api-key-here"
      }
    }
  }
}

Replace the API key with your own. Restart the client after updating configuration. Pinning @2.0.0 ensures the draft-first behaviour documented here. Existing clients pinned to 1.0.0 keep its immediate-publication default until their configuration is updated. An unversioned installation uses the registry's latest release, subject to the client's cache.

Run from source instead

cd mcp-server
npm ci
npm test
npm run build

In the same configuration, replace command and args with:

{
  "command": "node",
  "args": ["/absolute/path/to/changecrab/mcp-server/dist/index.js"]
}

Keep the same env object. Replace the absolute path with your checkout location. If the client cannot find Node.js, use its absolute executable path as command.

Tools

Tool Behaviour
list_changelogs List accessible changelogs across teams; optionally filter by team_id.
get_changelog Get details by changelog_id (the access ID).
list_categories List categories and IDs for a changelog.
list_posts List posts including drafts, newest creation first; returns post IDs.
create_post Requires changelog_id, summary, markdown. Resolves the team automatically. Saves a draft by default.
update_post Requires changelog_id, post_id and at least one changed field. Sends only supplied fields using PATCH.
delete_post Deletes the specified post. Destructive; use only for an explicitly requested deletion.
get_changecrab_overview Static overview of product features and workflows.
get_changecrab_api_info Static API authentication and documentation information.
get_changecrab_limits_summary Static plan overview; does not check an account's entitlements.

Write tools carry conservative destructive annotations because they can overwrite or delete content, or publish and trigger notifications. Client annotations are advisory; the API continues to enforce account permissions and entitlements.

Create a draft

Arguments to create_post:

{
  "changelog_id": "your-access-id",
  "summary": "Improved login flow",
  "markdown": "- Clearer validation messages\n- Faster sign-in"
}

This saves a draft and sends no publish notifications. The underlying API's default subscriber preference is retained unless notify_subscribers is supplied. Publishing later still requires an explicit notification choice through MCP.

Edit only the title

Arguments to update_post:

{
  "changelog_id": "your-access-id",
  "post_id": 123,
  "summary": "Clearer login messages"
}

Explicitly publish without subscriber alerts

Arguments to update_post:

{
  "changelog_id": "your-access-id",
  "post_id": 123,
  "draft": 0,
  "notify_subscribers": false
}

Use notify_subscribers: true to allow subscriber alerts. These controls require the changelog owner's paid or trial access. Existing scheduling, previous-announcement state and API notification rules still apply; true does not force a repeat announcement. When notifications are enabled, publication can also notify configured integrations.

Example prompts:

  • “List my ChangeCrab changelogs.”
  • “Save these release notes as a draft in my main changelog.”
  • “Change only the title of draft 123 to ‘Clearer login messages’.”
  • “Publish draft 123 without subscriber alerts.”
  • “Publish draft 123 and notify subscribers.”

For changelog_id, use the access ID returned by list_changelogs, not a URL. For categories, use IDs returned by list_categories for that changelog.

Configuration

Variable Required Default Description
CHANGECRAB_API_KEY Yes — Your API key; surrounding whitespace is removed.
CHANGECRAB_API_BASE_URL No https://changecrab.com/api API base URL including /api; optional trailing slash. Use only a trusted endpoint, since it receives your API key.

Troubleshooting

  • Missing API key / 401: check the configured key or create a new one. Restart the client after changing it.
  • 403: read the returned message. It may mean insufficient team permissions, missing subscription/trial access, or unavailable subscriber alert controls. A 403 does not always mean an upgrade is needed.
  • 404: check the access ID, post ID and account access.
  • 422: correct the fields identified in the validation message.
  • 429: wait before trying again.
  • Network errors, unavailable API, invalid responses or timeout: requests time out after 20 seconds and are never automatically retried. For writes, inspect list_posts or the dashboard before retrying: a write may have completed despite a failed response. Retrying creation can create duplicates; notifications already sent cannot be undone.
  • Tools do not appear: check configuration paths, use an absolute Node.js path if needed, and restart the client. Logs must not be written to stdio's stdout.

API errors are returned as MCP tool errors rather than successful empty lists or objects. Genuine empty results remain valid.

Verification and release

npm test builds the server, checks API transport failures and runs an MCP client against the actual stdio entry point with an isolated local test API. It covers every tool, annotations, draft defaults, explicit publication and alert choices, partial edits, category clearing, invalid input, API errors and startup configuration. It uses no customer credentials or live content. Notification delivery is simulated; these tests do not verify real email or external integrations.

The release passed 13 live checks against the production API using a temporary private changelog, including draft creation, partial edits, category changes, both notification choices, API validation, cross-team rejection and deletion. The fixture had no external recipients or webhook destinations and was removed afterwards. Actual email delivery and the Cursor/Claude Desktop UI were not tested. For future releases, use a dedicated test changelog and test-only recipients for delivery checks.

npm pack --dry-run builds and checks the package contents. Publish the tested archive separately, verify the registry version and a clean installation, and deploy the matching knowledge-base and landing-page changes.

License

MIT