GitHub 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

  • Provides tools for interacting with GitHub's API, allowing users to create repositories with auto-generated names from descriptions, add topics/tags to repositories, set repository homepages, and initialize repositories with README files.

GitHub MCP 서버

GitHub API와 상호 작용하기 위한 도구를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 현재 설명, 주제 및 웹사이트 URL을 사용하여 저장소를 생성할 수 있습니다.

특징

  • 설명에서 자동 생성된 이름으로 GitHub 저장소 만들기
  • 저장소에 주제/태그 추가
  • 저장소 홈페이지 설정
  • README 파일로 저장소 자동 초기화

설치

  1. 저장소를 복제합니다
  2. 종속성 설치:

지엑스피1

  1. 서버를 빌드하세요:
npm run build

구성

서버에는 저장소 생성 권한이 있는 GitHub 개인 액세스 토큰이 필요합니다. MCP 설정 파일에 다음을 추가하세요.

{ "mcpServers": { "github": { "command": "node", "args": ["path/to/github-server/build/index.js"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }

사용 가능한 도구

리포지토리 생성

자연어 명령을 사용하여 GitHub 저장소를 만들거나 업데이트합니다.

명령 형식

이 도구는 다양한 작업에 대한 자연어 명령을 허용합니다.

저장소 생성:

Create a repository for [description] with tags [tag1 tag2 tag3] website [url]

또는

Make a new repository called [description] tagged with [tag1, tag2, tag3]

저장소 설명 업데이트:

Update [owner/repo] description to [new description]

또는

Change [repo-name] description as [new description]

저장소 태그 업데이트:

Update [owner/repo] tags to [tag1 tag2 tag3]

또는

Set [repo-name] topics as [tag1, tag2, tag3]

저장소 웹사이트 업데이트:

Update [owner/repo] website to [url]

또는

Set [repo-name] homepage as [url]

사용 예

새로운 저장소 만들기:

const result = await use_mcp_tool({ server_name: "github", tool_name: "create_repo", arguments: { command: "Create a repository for my machine learning image classifier with tags python tensorflow computer-vision website https://example.com/docs" } });

이렇게 하면:

  1. "my-machine-learning-image-classifier"라는 이름의 저장소를 만듭니다.
  2. 설명을 "내 머신 러닝 이미지 분류기"로 설정하세요.
  3. 저장소 주제로 "python", "tensorflow" 및 "computer-vision"을 추가합니다.
  4. 웹사이트를 " https://example.com/docs "로 설정하세요
  5. README 파일로 초기화

저장소 설명 업데이트:

const result = await use_mcp_tool({ server_name: "github", tool_name: "create_repo", arguments: { command: "Update username/existing-repo description to Updated ML project for image classification" } });

저장소 태그 업데이트:

const result = await use_mcp_tool({ server_name: "github", tool_name: "create_repo", arguments: { command: "Update username/existing-repo tags to machine-learning python updated" } });

저장소 웹사이트 업데이트:

const result = await use_mcp_tool({ server_name: "github", tool_name: "create_repo", arguments: { command: "Update username/existing-repo website to https://example.com/new-docs" } });

이 도구는 다양한 자연어 패턴과 키워드를 이해합니다.

  • 저장소 생성을 위한 Create/make/new
  • 저장소 업데이트를 위한 업데이트/변경/설정/수정
  • 설명 업데이트를 위한 "description to/as"
  • 태그 업데이트를 위한 "태그/주제"
  • 웹사이트 업데이트를 위한 "웹사이트/홈페이지/url to/as"

개발

서버를 수정하거나 확장하려면:

  1. src/index.ts 를 변경하세요
  2. 서버를 다시 빌드하세요:
npm run build

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

AI 모델이 GitHub API와 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 자연어 명령을 통해 설명, 주제, 웹사이트 URL을 사용하여 저장소를 만들고 관리할 수 있습니다.

  1. Features
    1. Installation
      1. Configuration
        1. Available Tools
          1. create_repo
        2. Development
          1. License
            ID: yrvpqd8vee