You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Carbon Copy MCP server (#1)
* feat: Carbon Copy MCP server with 14 tools and 2 resources
* ci: add npm publish workflow on GitHub release
* fix: clone response before json parse, handle 204, bump zod to ^3.25
* test: comprehensive test suite for MCP server
* fix: use correct npm org @carbon-copy/mcp
* fix: handle undefined responses, empty bodies, add tests to CI publish
- JSON.stringify(undefined) → fallback to {success: true} for unfollow/pause/resume
- res.text() + JSON.parse instead of res.json() to handle empty 200 bodies
- Add npm test step to publish workflow
- Exclude dist/ from vitest
- Update test mocks for text()-based parsing
* fix: regenerate lock file for @carbon-copy/mcp, guard resources against undefined