Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GitHub's official MCP Server

License

NotificationsYou must be signed in to change notification settings

github/github-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub MCP Server implemented in Go.

Setup

Create a GitHub Personal Access Token with the appropriate permissionsand set it as the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.

Tools

  1. get_me
    • Return information about the authenticated user
  2. get_issue
    • Get the contents of an issue within a repository.
    • Inputs
      • owner (string): Repository owner
      • repo (string): Repository name
      • issue_number (number): Issue number to retrieve
    • Returns: Github Issue object & details

Standard input/output server

go run cmd/server/main.go stdio

E.g:

Set the PAT token in the environment variable and run:

script/get-me

And you should see the output of the GitHub MCP server responding with the user information.

GitHub MCP Server running on stdio{"jsonrpc":"2.0","id": 3,"result": {"content": [      {"type":"text","text":"{\"login\":\"juruen\",\"id\" ... }      }    ]  }}

About

GitHub's official MCP Server

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages


[8]ページ先頭

©2009-2025 Movatter.jp