Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@ jobs:
else
npm publish --registry https://registry.npmjs.org/ --provenance --access public
fi
# The MCP Registry listing is a live discovery surface for Claude Code and
# Cursor users. It was previously updated by hand and drifted to 0.12.3
# while npm was on 0.12.11. Publishing here keeps the two in lockstep.
# The io.github.* namespace authenticates via GitHub OIDC, so this needs
# no stored secret — `id-token: write` above is sufficient.
- name: Publish to the MCP Registry (idempotent)
env:
MCP_PUBLISHER_VERSION: v1.8.0
run: |
VERSION="${{ steps.meta.outputs.version }}"
PUBLISHED=$(curl -sS "https://registry.modelcontextprotocol.io/v0/servers?search=codecartographer" \
| python3 -c "import json,sys; print(' '.join(s['server']['version'] for s in json.load(sys.stdin).get('servers', [])))" 2>/dev/null || echo "")
if printf '%s' "$PUBLISHED" | tr ' ' '\n' | grep -qx "$VERSION"; then
echo "codecartographer $VERSION is already in the MCP Registry; skipping publish"
exit 0
fi
curl -sSL "https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" \
| tar xz mcp-publisher
./mcp-publisher login github-oidc
./mcp-publisher publish
- name: Extract release notes from CHANGELOG
id: notes
run: |
Expand Down
2 changes: 1 addition & 1 deletion server.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.HuginnIndustries/codecartographer",
"title": "CodeCartographer",
"description": "Evidence-backed reverse engineering and human-gated software planning for Pi and MCP coding agents.",
"description": "Turn an unfamiliar codebase into validated architecture, contracts, and a reimplementation spec.",
"websiteUrl": "https://codecarto.dev/",
"repository": {
"url": "https://github.com/HuginnIndustries/CodeCartographer",
Expand Down