GitHub Tools MCP Server (Python)
This MCP server provides these tools:
github_search_repositoriesgithub_get_workflow_run_detailgithub_get_workflow_run_logs_download_urlgithub_get_workflow_run_attempt_detailgithub_get_workflow_run_attempt_logs_download_url
Prerequisites
- Python 3.10+
- A GitHub token in
GITHUB_TOKEN(recommended to avoid rate limits)
Setup
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Run
python server.py
The server uses stdio transport by default, which is what MCP clients expect.
Tools
github_search_repositories
Searches repositories using GitHub's repository search endpoint.
Inputs:
query(string, required)sort(string, optional:best-match|stars|forks|help-wanted-issues|updated)order(string, optional:asc|desc)per_page(int, optional, 1-100)page(int, optional, >= 1)
github_get_workflow_run_detail
Gets one workflow run detail from GitHub Actions.
Inputs:
owner(string, required)repo(string, required)run_id(int, required)
github_get_workflow_run_logs_download_url
Gets a temporary download URL for a workflow run logs archive.
This endpoint returns a 302 response and the URL in the Location header.
Inputs:
owner(string, required)repo(string, required)run_id(int, required)
github_get_workflow_run_attempt_detail
Gets details for a specific workflow run attempt.
Inputs:
owner(string, required)repo(string, required)run_id(int, required)attempt_number(int, required)exclude_pull_requests(bool, optional, defaultfalse)
github_get_workflow_run_attempt_logs_download_url
Gets a temporary download URL for a workflow run attempt logs archive.
This endpoint returns a 302 response and the URL in the Location header.
Inputs:
owner(string, required)repo(string, required)run_id(int, required)attempt_number(int, required)
Metadata
Release files for gfg-github-tools-mcp-server 0.1.0
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 |
|---|---|---|---|---|
| gfg_github_tools_mcp_server-0.1.0.tar.gz | 4.8 kB | Without provenance | Details for gfg_github_tools_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gfg_github_tools_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gfg_github_tools_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / gfg_github_tools_mcp_server-0.1.0.tar.gz
| Download URL | gfg_github_tools_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61fb1b045090deb0ff0c9476c49b4d1bef282ad63515365e91c1c5133aa4194c
|
|
BLAKE2b-256 checksum How to use checksums |
511b89968bc06c404f26b88237ca5ec3945d5aa426ddcf692bbf1e0d1a1cb2cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / gfg_github_tools_mcp_server-0.1.0-py3-none-any.whl
| Download URL | gfg_github_tools_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6a95f70ba4ef127250ff0c515586713f0a5b753a393f378cbb7811f8b886db5
|
|
BLAKE2b-256 checksum How to use checksums |
6c06c6a9488cb9db5a5905b1a85ebf63c679f85c2b5ac751c47c0d5a8700cb5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for gfg-github-tools-mcp-server 0.1.0
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.