Back to MCP directory
publicPublicdnsLocal runtime

magentaa11y-mcp

MagentaA11y MCP服务器提供来自T-Mobile MagentaA11y项目的无障碍访问标准,支持本地和远程部署,为开发者提供Web和原生组件的无障碍验收标准。

article

README

🚀 Claude-Review-PR技能

Claude-Review-PR技能可借助Claude Code将结构化的AI代码审查结果直接发布到GitHub拉取请求(PR)中。

🚀 快速开始

✨ 团队设置

每位贡献者需使用自己的个人访问令牌(PAT)在本地设置GitHub MCP服务器。审查结果将以每个人自己的GitHub身份发布。

步骤1:创建GitHub个人访问令牌(PAT)

  1. 访问 github.com/settings/tokens → 生成新令牌(经典版)
  2. 为其命名,例如 Claude Code MCP
  3. 选择 repo 权限范围(读取PR和发布审查结果所需)
  4. 点击 生成令牌 并复制它,因为之后将无法再次查看该令牌

启用SSO的组织仓库:生成令牌后,点击令牌旁边的 配置SSO 并授权你的组织。

步骤2:添加GitHub MCP服务器

在终端中运行以下命令一次(将 ghp_yourtoken 替换为你实际的令牌):

PowerShell(Windows)

claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT_HERE"}}'

bash / zsh(macOS/Linux)

claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT_HERE"}}'

运行命令后,重启Claude Code。

步骤3:验证

在新的Claude Code会话中,运行 /claude-review-pr。如果检测到GitHub工具,则表示你已准备好审查PR。

💻 使用示例

/claude-review-pr https://github.com/owner/repo/pull/42

或者,只需运行 /claude-review-pr,该技能将提示你输入PR的URL。

📚 详细文档

团队注意事项

  • 每个人使用自己的PAT — 请勿共享令牌或将其提交到版本控制系统
  • 审查结果将以你自己的GitHub账户发布,便于清晰追溯审核记录
  • 对于不希望使用个人PAT的组织,请参阅 references/github-mcp-setup.md 以获取GitHub应用和密钥管理器的替代方案

文件说明

| 文件 | 用途 | | -------------------------------- | ------------------------------------------------- | | SKILL.md | 技能说明和审查工作流程 | | references/review-criteria.md | 此代码库的10类审查标准 | | references/github-mcp-setup.md | 完整的GitHub MCP设置和故障排除指南 |

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client