Skip to content

Commit a359d3f

Browse files
committed
refactor: consolidate Claude/Codex MCP runtime in common module
1 parent 79ce420 commit a359d3f

10 files changed

Lines changed: 2315 additions & 1477 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@ Each plugin directory should include:
4040
3. `package.json` (if the target agent supports package-based install)
4141
4. Release automation (GitHub Actions workflow + documented version/tag convention)
4242

43+
## Shared MCP runtime
44+
45+
Claude and Codex now share one MCP runtime source at `common/mcp/glance-mcp.js`.
46+
47+
To keep standalone npm packages working, package-local copies are synced to:
48+
49+
- `claude/common/mcp/glance-mcp.js`
50+
- `codex/common/mcp/glance-mcp.js`
51+
52+
If you change the shared runtime, run:
53+
54+
```bash
55+
npm run sync:mcp-common
56+
```
57+
4358
## Adding a new plugin
4459

4560
Create a directory for your agent (e.g. `cursor/`, `cline/`) with the files above and open a PR.

0 commit comments

Comments
 (0)