GitHubChat MCP Server
Model Context Protocol (MCP) server for GitHub Chat.
Get Started
I have an MCP Client (eg. Cursor, Claude, Cline)
Run in terminal:
pip install githubchat-mcp-server && githubchat-mcp-server
Add githubchat server to your client's MCP configuration, commonly:
{
"mcpServers": {
"githubchat": {
"url": "http://localhost:4651/githubchat-mcp"
}
}
}
Refer to your MCP client's documentation for supported configuration specifications.
I don't have an MCP Client
Looking to get an existing one? See Awesome MCP Client
Example request using FastMCP client:
import asyncio
from fastmcp import Client
import json
async def main():
# Connect to the MCP server
async with Client("http://localhost:4651/githubchat-mcp") as client:
# Request completion
print("\nRequesting completion...\n\n")
result = await client.call_tool("githubchat_completion", {
"query": "your query",
"url": "https://github.com/username/repo"
})
print(json.dumps(json.loads(result[0].text), indent=2))
if __name__ == "__main__":
asyncio.run(main())
Documentation
Install
pip install githubchat-mcp-server
Run
After installation, you can run the server in two ways:
- Using the command-line script:
# Default port (4651)
githubchat-mcp-server
# Custom port
githubchat-mcp-server --port 3000
- Using Python directly:
# Default port (4651)
python -m githubchat_mcp_server
# Custom port
python -m githubchat_mcp_server --port 3000
The server will run on localhost using streamable-http transport.
Available Tools
githubchat_completion
Main tool that accepts query and GitHub URL parameters.
Supported GitHub URL formats:
- Repository URLs (e.g.,
https://github.com/username/repo) - File URLs (e.g.,
https://github.com/username/repo/blob/main/file.md) - Branch URLs (e.g.,
https://github.com/username/repo/tree/feat/branch) - Wiki URLs (e.g.,
https://github.com/username/repo/wiki)
License
All rights reserved, Bluera Inc..
Metadata
Release files for githubchat-mcp-server 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| githubchat_mcp_server-0.2.2.tar.gz | 5.4 kB | Without provenance | Details for githubchat_mcp_server-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| githubchat_mcp_server-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for githubchat_mcp_server-0.2.2-py3-none-any.whl |
Total release size: 11.5 kB
Release files / githubchat_mcp_server-0.2.2.tar.gz
| Download URL | githubchat_mcp_server-0.2.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ce5589e2732dc37bb0c20f220ecc7bed0206f635526991e5f251e1a393c355e
|
|
BLAKE2b-256 checksum How to use checksums |
eacbddacfe80ddf45c0b1fbda3f7babc0d229f91e8a5d49f2767c0606a2049ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / githubchat_mcp_server-0.2.2-py3-none-any.whl
| Download URL | githubchat_mcp_server-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cedad28cd8d9c61276a309a7d17681c9c2c1ed9b179ba770629bdfe132718e61
|
|
BLAKE2b-256 checksum How to use checksums |
ce8c1bc388f553e2b1c8b927e920a5b0236d587628bb1b60785b5f3a881c37e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for githubchat-mcp-server 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.