Developer Guide - Contributing & Extending the Registry
This page collects pro tips for contributors who want to extend the MCP Registry with high-quality server entries and maintain the docs/site.
Local setup
- Clone the repo and install dependencies:
git clone git@github.com:Zayan-Mohamed/mcp-registry.git
cd mcp-registry
npm install
python -m pip install --upgrade pip && pip install -r requirements.txt
- Run validation checks:
npm test # validates JSON snippets and checks required markdown sections
- Preview docs locally:
mkdocs serve # open http://127.0.0.1:8000
Adding a new server entry
Follow INSTRUCTIONS.md and TEMPLATE.md. Short checklist:
- Add a Markdown file under the appropriate category (e.g.,
vector-stores/new-server.md). - Include
## Quick-Startand## Security Profilesections (validator enforces these). - Add a
jsonfenced block with aclaude_desktop_config.json-style snippet (usecommand,argsarray, andenvplaceholders). - Run
npm testlocally before opening a PR.
Example JSON snippet pattern
{
"command": "npx",
"args": ["some-server", "install", "-y"],
"env": {
"API_KEY": "${API_KEY}"
}
}
Use ${VAR_NAME} placeholders and never hardcode secrets.
Docs & MkDocs tips
- Add new docs pages under
docs/for category overviews or developer-focused content. - Update
mkdocs.ymlnav to include new pages for site navigation. - Run
mkdocs buildto validate the generated site prior to opening a PR.
CI / Deployment
- The project uses
.github/workflows/deploy_mkdocs.ymlto build and deploy the site to GitHub Pages. - If you prefer automation to configure Pages for you, add a repo secret
GH_PAGES_TOKEN(PAT with repo access) and I can add a workflow step to call the Pages API (we can add this on request).
Troubleshooting common issues
- Table parsing issues in Markdown often come from unescaped
|characters inside table cells; replace them with|or use inline code with backticks and HTML entities. - If
gh-pagesexists but the site returns 404: check Pages settings (Settings → Pages) or add the workflow step to enable Pages via the REST API (requires PAT). - Use
npm testto catch most formatting and snippet issues.
Best practices
- Keep descriptions concise but include resource needs (RAM, GPU) for ML servers.
- Add a security rating and short mitigations for each scope (Network / Filesystem / External APIs).
- Prefer examples with
dockerornpxpatterns for reproducibility.
Last updated: 2026-01-28