io.github.hellosg/coderegistry
编码与调试by the-code-registry
面向并购、security audits 与技术债治理的企业级代码智能平台,提供 Hosted server,并含 200k 免费额度。
什么是 io.github.hellosg/coderegistry?
面向并购、security audits 与技术债治理的企业级代码智能平台,提供 Hosted server,并含 200k 免费额度。
README
The Code Registry MCP Server
<p> <strong>Enterprise-grade code intelligence for AI assistants</strong> </p> <p> <a href="#quick-start">Quick Start</a> • <a href="#features">Features</a> • <a href="#use-cases">Use Cases</a> • <a href="#documentation">Documentation</a> • <a href="https://thecoderegistry.com">Website</a> </p> </div>Enterprise-grade code intelligence for business leaders by The Code Registry. Now with a native, fully-featured MCP server for AI agents. Analyze codebases for due diligence, tech debt, security vulnerabilities, code quality and more - directly from Claude Desktop, Claude API, and other MCP-compatible clients.
Install as an MCP server
Use this URL when configuring any MCP-compatible client:
https://integrator.app.thecoderegistry.com/api/ai/router
Install as an agent skill
Some MCP clients and editors (including Cursor) require MCP server configuration before the skill can use tools.
Cursor MCP server configuration (example)
{
"mcpServers": {
"coderegistry": {
"url": "https://integrator.app.thecoderegistry.com/api/ai/router"
}
}
}
Use this JSON in your Cursor MCP settings, or copy the same example from integrations/cursor/config.json.
Cursor / CallMcpTool known limitation and workaround
Some Cursor builds (and other clients that wrap MCP tools behind a generic CallMcpTool) may show an incomplete tool schema that omits arguments, even though the runtime accepts it.
For The Code Registry tools, always pass required parameters in the arguments field when using CallMcpTool.
Prompt hint that often fixes this behavior:
Use the CallMcpTool with the arguments field to pass the required parameters.
Example wrapper call shape:
{
"server": "coderegistry",
"toolName": "create_project",
"arguments": {
"user_id": "<user_id>",
"name": "My Project"
}
}
Then install the skill:
npx skills add The-Code-Registry/mcp-server
The code-registry skill gives your client AI agent extra context and instructions for using this MCP server correctly, including:
- the recommended tool flow (
create_account->create_project->create-code-vault-> polling) - completion rules for first analysis vs re-analysis (snapshot vs comparison reports)
- retry/backoff behavior and LOCAL_AGENT follow-up guidance
What is this?
This is a hosted MCP server that lets AI agents create accounts, manage projects, analyze code, and retrieve analysis results without leaving the conversation. It is designed for business leaders (M&A professionals, CTOs, VCs, board members) who need fast, reliable code insights and clean reports.
Any codebase can be analyzed and results can be ready in as quick as 30 minutes depending on code volume. PDF reports containing the results are automatically emailed to the user after analysis is complete, and as their AI agent you can retrieve the results as soon as they are ready, to show in your conversation with the user or to generate graphs/charts/reports with etc.
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to data sources and tools. Learn more at modelcontextprotocol.io.
MCP Protocol Support
This server supports the full MCP JSON-RPC 2.0 flow, including:
initializetools/listtools/callresources/listandresources/readprompts/listandprompts/get
Prerequisites
- An MCP-compatible client (Claude Desktop, Claude Code, or custom implementation)
- For LOCAL_AGENT: Docker installed on your machine
- For GIT sources: Git repository URL with appropriate access
- Basic understanding of code analysis and software metrics
Existing accounts
If the user already has a Code Registry account, they can generate an API key in the web app and use it directly via the
X-API-Key header (preferred). If the MCP client cannot set custom headers, pass api_key in tool arguments instead.
Features
- Zero setup: agents can create accounts automatically, all you need is their email address, name and team/company name
- Privacy-first: Using the LOCAL_AGENT code source type keeps code on your machine and only sends an anonymous zip file of results
- Comprehensive analysis: security, complexity, languages, file types, code quality, licenses, tech debt and more
- Executive-friendly reports: PDF reports automatically emailed to the user, ready for non-technical stakeholders
- Multiple sources: local repos or folders of code, GIT repositories, or file archives
Sample prompts for your AI agent or system
Once the MCP server is configured, you can ask your AI agent or system questions like:
- "Use The Code Registry to analyze this codebase and present the results in a nice way."
- "Re-analyze this project's code with The Code Registry to show me what's changed since the last analysis."
- "Get the latest analysis for Project X from my Code Registry account and present them to me (here's my API key: XXX)."
MCP Protocol Quick Start
0) Initialize (recommended)
{
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {}
},
"id": 1
}
1) Create account
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create_account",
"arguments": {
"email": "user@example.com",
"name": "User Name",
"team_name": "Example Org",
"integrator_id": "agent-name"
}
},
"id": 2
}
Response: Returns api_key, team_id, and user_id (inside result.content[0].text as JSON) - store the API key securely and include it in all subsequent requests via X-API-Key header.
2) Create project
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create_project",
"arguments": {
"user_id": "<user_id>",
"name": "My Project",
"description": "Optional"
}
},
"id": 3
}
3) Create code vault (recommended: LOCAL_AGENT)
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "create-code-vault",
"arguments": {
"project_id": "<project_id>",
"user_id": "<user_id>",
"name": "My Code Vault",
"source_type": "LOCAL_AGENT"
}
},
"id": 4
}
Response: Includes next_steps.commands with Docker commands to run locally.
4) Poll for results
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get-code-vault-results",
"arguments": { "vault_id": "<vault_id>" }
},
"id": 5
}
Note: Results are typically ready in 30 minutes to a few hours, depending on codebase size. Poll with exponential backoff.
5) Fetch report URLs
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get-code-vault-reports",
"arguments": { "vault_id": "<vault_id>" }
},
"id": 6
}
Note: PDF reports are generated after analysis completes and are automatically emailed to the user.
Re-analyze an existing code vault
To re-run analysis on an existing code vault:
- Call
reanalyze-code-vault - Run the LOCAL_AGENT again if the original source type was
LOCAL_AGENT - Poll the same summary/results/report tools as usual
Important: Once re-analysis starts, get-code-vault-summary, get-code-vault-results, and get-code-vault-reports return the new version only. Previous version data is no longer accessible via these tools.
Use Cases
M&A Due Diligence
Quickly assess acquisition targets for technical risk, security vulnerabilities, and architecture concerns. See examples/use-cases/due-diligence.md.
Tech Debt Analysis
Monitor technical debt across your portfolio and track improvements over time. See examples/use-cases/tech-debt-analysis.md.
Security Audit
Identify security vulnerabilities and compliance issues before they become problems. See examples/use-cases/security-audit.md.
Portfolio Monitoring
Track engineering metrics across multiple companies in your investment portfolio. See examples/use-cases/portfolio-monitoring.md.
Configuration
See integrations/ for client-specific setup:
- Claude Desktop - Desktop app configuration
- Claude API - API integration with Python/TypeScript examples
- Cline - VS Code extension setup
- Cursor - Cursor IDE integration
- Custom agents - Build your own MCP client
Agent Skill (Optional)
This repository includes a reusable agent skill at skills/code-registry that gives agents additional context and concrete operating instructions for this MCP server (tool order, polling lifecycle, completion rules, and result interpretation).
- Skill entry point:
skills/code-registry/SKILL.md - Lifecycle details:
skills/code-registry/references/vault-lifecycle.md - Interpretation guidance:
skills/code-registry/references/result-interpretation.md - Polling helper script:
skills/code-registry/scripts/poll_vault_status.py
Install the code-registry folder into your agent's skills directory, then run your agent normally:
- Codex:
$CODEX_HOME/skills/ - Claude Code:
~/.claude/skills/ - Cursor project-local:
.cursor/skills/
See skills/README.md for usage details and script examples.
Pricing
- Free Tier: Up to 200,000 lines of code
- Registered Users: $2 per 1,000 lines of code per month
- Enterprise: Contact us at thecoderegistry.com for custom pricing and volume discounts
All tiers include:
- Unlimited projects and code vaults
- Full feature access
- PDF report generation
- Email notifications
Documentation
- Getting started:
docs/getting-started.md- Step-by-step walkthrough - API reference:
docs/api-reference.md- Complete action reference - Authentication:
docs/authentication.md- API key management - Facets glossary:
docs/facets.md- Definitions for analysis facets in results - Troubleshooting:
docs/troubleshooting.md- Common issues and solutions - Architecture:
docs/architecture.md- System design overview - Skills guide:
skills/README.md- Install and use the Code Registry agent skill
Why Use The Code Registry MCP Server?
For M&A Professionals:
- Fast technical due diligence (hours, not weeks)
- No manual code review needed
- Executive-friendly PDF reports
- Objective technical risk assessment
For CTOs & Technical Leaders:
- Monitor technical debt across portfolio
- Track security vulnerabilities
- Understand codebase complexity
- Make data-driven technical decisions
For VCs & Board Members:
- Assess technical risk in portfolio companies
- Track engineering metrics over time
- Get objective technical insights
- Support portfolio company CTOs
Support
- Email: support@thecoderegistry.com
- Issues: Use GitHub Issues for bug reports and feature requests
- Website: thecoderegistry.com
License
See LICENSE file for details.
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
<div align="center"> <p>Built with ❤️ by <a href="https://thecoderegistry.com">The Code Registry</a></p> <p>The World's first code intelligence platform built for business leaders</p> </div>
常见问题
io.github.hellosg/coderegistry 是什么?
面向并购、security audits 与技术债治理的企业级代码智能平台,提供 Hosted server,并含 200k 免费额度。
相关 Skills
网页构建器
by anthropics
面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。
✎ 在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。
前端设计
by anthropics
面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。
✎ 想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。
网页应用测试
by anthropics
用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。
✎ 借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。
相关 MCP Server
GitHub
编辑精选by GitHub
GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。
✎ 这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。
Context7 文档查询
编辑精选by Context7
Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。
✎ 它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。
by tldraw
tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。
✎ 这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。