github-manager MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows GitHub organization management, including listing organizations, repositories, creating repositories, adding collaborators, and updating repository settings using the GitHub API

GitHub 管理器 MCP 服务器

用于 GitHub 管理的模型上下文协议服务器

这个基于 TypeScript 的 MCP 服务器通过 GitHub API 提供了管理 GitHub 组织、存储库和协作者的工具。

特征

GitHub 管理工具

  • list_orgs :列出经过身份验证的用户所属的 GitHub 组织
  • list_repos :列出指定组织中的存储库
  • create_repo :在组织中创建一个新的存储库
  • add_collaborator :将协作者添加到存储库
  • update_repo_settings :更新存储库设置

发展

安装

npm install

建造

npm run build

使用自动重建进行开发

npm run watch

测试

运行单元测试:

npm test

运行覆盖测试:

npm run test:coverage

配置

环境变量

  • GITHUB_TOKEN :具有所需范围的 GitHub 个人访问令牌

MCP 服务器安装

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "github-manager": { "command": "/path/to/github-manager/build/index.js", "env": { "GITHUB_TOKEN": "your_github_token_here" } } } }

调试

我们建议使用MCP Inspector ,它可以作为包脚本使用:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

这个基于 TypeScript 的 MCP 服务器使用户能够管理一个简单的笔记系统,并能够通过结构化的提示和资源创建和总结笔记。

  1. Features
    1. GitHub Management Tools
  2. Development
    1. Installation
    2. Build
    3. Development with Auto-rebuild
    4. Testing
  3. Configuration
    1. Environment Variables
    2. MCP Server Installation
  4. Debugging
    ID: 61nu8bvtn5