gh2mcp
gh2mcp to lekka paczka Python używana przez stack MCP do synchronizacji tokenu GitHub z gh CLI do pliku .env.
Funkcje
- pobranie tokenu przez
gh auth token - zapis
GITHUB_PATiGITHUB_USERdo.envprzezenv2mcp - endpoint HTTP dla integracji z
mcp-webui - opcjonalny tryb agenta (sync przy starcie i okresowo)
Lokalne użycie CLI
pip install -e ./env2mcp
pip install -e ./gh2mcp
gh2mcp status
gh2mcp sync --force-gh-cli
gh2mcp agent --interval 300
Docker
Kontener uruchamia API:
GET /healthGET /statusPOST /sync/tokenPOST /repo/last-pushed
License
Licensed under Apache-2.0.
Metadata
Release files for gh2mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gh2mcp-0.1.4.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gh2mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / gh2mcp-0.1.4.tar.gz
| Download URL | gh2mcp-0.1.4.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25aa80e8f541b61259882be9a6a06005683d8d21e7a94d92e12b4aee020572a1
|
|
BLAKE2b-256 checksum How to use checksums |
03dd9aff3d3854921834504cbf3b30606b6a822b6e1021647cdf1852c1ad9d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / gh2mcp-0.1.4-py3-none-any.whl
| Download URL | gh2mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f4eae1063bb1303e713e70f38e3002ecb7c4a1ace2e5a085b19e01772ef1c94
|
|
BLAKE2b-256 checksum How to use checksums |
3bd2c406d0918e31887c8aabc4dbcc48b50144efee9f7c9dd4e50c3326023676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|