Add MCP registry publishing to this project: 1. Add to package.json: - "mcpName": "io.github.spences10/[PROJECT-NAME]" - Scripts: - "sync-server-json": "node -e \"const pkg = require('./package.json'); const server = require('./server.json'); server.version = pkg.version; server.packages[0].version = pkg.version; require('fs').writeFileSync('./server.json', JSON.stringify(server, null, 2));\"" - "publish-mcp": "pnpm run sync-server-json && mcp-publisher publish" 2. Add to .gitignore: ".mcpregistry_*" 3. Run: mcp-publisher init 4. Update server.json to match package version and remove any dummy environment variables 5. Authenticate once: mcp-publisher login github 6. Publish: pnpm run publish-mcp Future workflow: After publishing to npm, just run `pnpm run publish-mcp` Replace [PROJECT-NAME] with each tool's name. The authentication persists across projects so you only need step 5 once.
Activity