mcpField
G
Github

Github

FeaturedLocal
modelcontextprotocol.ioVersion Control91.6kUpdated today

About Github

Model Context Protocol Servers

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<GITHUB_PERSONAL_ACCESS_TOKEN>"
}
}
}
}
Run commanddocker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github
Environment variables to set
GITHUB_PERSONAL_ACCESS_TOKENSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocimcp/github

Tools

26

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
branchstringYesBranch to create/update the file in
contentstringYesContent of the file
messagestringYesCommit message
ownerstringYesRepository owner (username or organization)
pathstringYesPath where to create/update the file
repostringYesRepository name
shastringNoSHA of the file being replaced (required when updating existing files)

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.