@gpriday/techlead-mcp
TechLead MCP
@gpriday/techlead-mcp 是一个只读的 MCP 服务器,为编码智能体提供两个结构化工具:
techlead.plantechlead.review
它支持本地 stdio 模式,使用提供商端的结构化输出,并可在 OpenAI、Anthropic Claude 和 Gemini 之间进行路由。
每个工具的响应都包含结构化的计划/审查内容、API 返回的提供商 Token 使用量,以及根据配置的模型定价目录估算的美元成本。提供商的账单仪表板仍为权威数据。
安装
npm install -g @gpriday/techlead-mcpRelated MCP server: greybeard
配置
创建一个 .env 文件,至少包含一个提供商密钥:
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GEMINI_API_KEY=可选配置:
techlead-mcp init可选的 GitHub Issue 任务源:
TECHLEAD_GITHUB_TOKEN=github_pat_or_fine_grained_token之后调用者可以省略 task 并提供:
{
"cwd": "/repo",
"githubIssue": {
"repository": "owner/repo",
"issueNumber": 123
},
"files": []
}服务器通过 GitHub REST API 读取 Issue 正文和评论,并将该文本作为任务内容。
可选的廉价模型路由器:
TECHLEAD_OPTIONAL_LLM_ROUTER=true
TECHLEAD_ROUTER_PROVIDER=openai
TECHLEAD_DEFAULT_MODEL_TIER=balanced启用后,路由器模型会接收解析后的任务文本(包括使用 githubIssue 时的 GitHub Issue 文本),以及上下文大小和风险信号。它可能会选择 OpenAI、Anthropic 或 Gemini 来执行实际的计划/审查调用,但确定性的安全规则仍会强制对身份验证、安全、迁移、数据丢失、测试失败及类似的各种高风险工作使用最高级别的模型路由。
运行
techlead-mcp serve
techlead-mcp modelsTechLead MCP 仅支持 stdio 模式,因为它旨在在存储库旁边运行,并读取配置的本地根目录下的安全文件。默认情况下,本地读取仅限于进程工作目录。请勿从敏感的父目录运行此服务器。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
- Costory FinOps MCPDeprecatedio.costory
FinOps harness MCP: allocated cloud, data and LLM bills. Build on it or switch. Cloud read-only.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that provides code review functionality using OpenAI, Google, and Anthropic models, serving as a "second opinion" tool that works with any MCP client.134MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides AI-powered code review and architecture analysis, simulating the perspective of an experienced staff engineer. It integrates with IDEs to review diffs, design decisions, and tradeoffs through natural language.1MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseNot gradedqualityDmaintenanceA cost-optimized MCP server that orchestrates parallel specialist agents to review code changes, write tests, update docs, and suggest refactors, using a triage step to avoid unnecessary work.MIT