GitHub CLI token sync agent for MCP stacks
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gh2mcp-0.1.4.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gh2mcp-0.1.4.tar.gz.
File metadata
- Download URL: gh2mcp-0.1.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25aa80e8f541b61259882be9a6a06005683d8d21e7a94d92e12b4aee020572a1
|
|
| MD5 |
274ad6835cf0736413f3fa22c21c1b07
|
|
| BLAKE2b-256 |
03dd9aff3d3854921834504cbf3b30606b6a822b6e1021647cdf1852c1ad9d2c
|
File details
Details for the file gh2mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: gh2mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f4eae1063bb1303e713e70f38e3002ecb7c4a1ace2e5a085b19e01772ef1c94
|
|
| MD5 |
ca3b701d93377821ecfb0120aebea1d8
|
|
| BLAKE2b-256 |
3bd2c406d0918e31887c8aabc4dbcc48b50144efee9f7c9dd4e50c3326023676
|