gbrain-mcp-proxy
gbrain-mcp-proxy 是一个连接远程 gbrain MCP 服务的 stdio 代理,使用 OAuth client_credentials 获取访问令牌,并在令牌过期前自动刷新。
安装与运行
无需安装即可运行:
uvx gbrain-mcp-proxy
也可以安装后运行:
pip install gbrain-mcp-proxy
gbrain-mcp-proxy
环境变量
运行前配置以下环境变量:
export GBRAIN_URL="https://your-gbrain-host/mcp"
export GBRAIN_CLIENT_ID="your-client-id"
export GBRAIN_CLIENT_SECRET="your-client-secret"
GBRAIN_URL 是 gbrain MCP 端点;GBRAIN_CLIENT_ID 和 GBRAIN_CLIENT_SECRET 是 OAuth 客户端凭据。代理会自动发现 token endpoint,也可通过可选的 GBRAIN_TOKEN_URL 显式指定。
MCP 客户端配置
Qoder、Hermes 等使用 mcp.json 的客户端可添加:
{
"mcpServers": {
"gbrain": {
"command": "uvx",
"args": ["gbrain-mcp-proxy"],
"env": {
"GBRAIN_URL": "https://your-gbrain-host/mcp",
"GBRAIN_CLIENT_ID": "your-client-id",
"GBRAIN_CLIENT_SECRET": "your-client-secret"
}
}
}
}
Metadata
Release files for gbrain-mcp-proxy 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 |
|---|---|---|---|---|
| gbrain_mcp_proxy-0.1.0.tar.gz | 87.9 kB | Without provenance | Details for gbrain_mcp_proxy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gbrain_mcp_proxy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gbrain_mcp_proxy-0.1.0-py3-none-any.whl |
Total release size: 92.3 kB
Release files / gbrain_mcp_proxy-0.1.0.tar.gz
| Download URL | gbrain_mcp_proxy-0.1.0.tar.gz |
|---|---|
| Size | 87.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9708f17903a031c3c8dfbabf379e37b0d1d9b09772cf58c27914375c2e3bf6eb
|
|
BLAKE2b-256 checksum How to use checksums |
66d66a1ef71007952ae77b05dce48c7e7362d03fa1e512aa110e003f563299b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / gbrain_mcp_proxy-0.1.0-py3-none-any.whl
| Download URL | gbrain_mcp_proxy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f1ca2bb73a5b099748e744d4387805b0c088f158cf627ee7549c401dcd1371d
|
|
BLAKE2b-256 checksum How to use checksums |
84e37f737778a3f289dad6bb5ca2eba157424a692cd3436909803581ff5c77c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for gbrain-mcp-proxy 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.