Skip to main content

bub-mcp-server

Expose Bub as an SSE MCP server.

What It Provides

  • Channel implementation: MCPServerChannel (name = "mcp-server")
  • FastMCP SSE server lifecycle managed by Bub channel startup and shutdown
  • One MCP tool: run_model

Tool

run_model accepts:

  • prompt (required): input text to send through Bub
  • session_id (optional): Bub session id, default mcp:default

It returns Bub's model_output for that turn.

Configuration

Settings are read from environment variables with the BUB_MCP_SERVER_ prefix.

  • BUB_MCP_SERVER_HOST: bind host, default 127.0.0.1
  • BUB_MCP_SERVER_PORT: bind port, default 28280 (BUBU0 on 9-keyboard)
  • BUB_MCP_SERVER_PATH: SSE path, default /sse
  • BUB_MCP_SERVER_LOG_LEVEL: Uvicorn log level, default info

Installation

uv pip install bub-mcp-server

In this repository, the package is included in the workspace and root dependencies.

Usage

Start Bub with channels enabled. The MCP SSE endpoint is available at:

http://127.0.0.1:28280/sse

Configure your MCP client to use SSE transport against that URL.

Metadata

Release files for bub-mcp-server 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bub-mcp-server 0.0.3
File Size Uploaded Provenance Actions
bub_mcp_server-0.0.3.tar.gz 2.9 kB Without provenance Details for bub_mcp_server-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bub-mcp-server 0.0.3
File Interpreter ABI Platform Actions
bub_mcp_server-0.0.3-py3-none-any.whl Python 3 none any Details for bub_mcp_server-0.0.3-py3-none-any.whl

Total release size: 7.1 kB

Release files / bub_mcp_server-0.0.3.tar.gz

Download URL bub_mcp_server-0.0.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e05ed3f71c5137921c5ad4b534d52e86c2c9f5ffdb67e26d011e3af4a40d2dc1
BLAKE2b-256 checksum
How to use checksums
fdc8b71504a578ee10bbb303d39504ae70e0cba8bebd8b40c6d44e4726613dcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bub_mcp_server-0.0.3-py3-none-any.whl

Download URL bub_mcp_server-0.0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82e7df66414a8900f1eb4aae7177b9c6373ab3b9aad707b836b5076aed30e6c1
BLAKE2b-256 checksum
How to use checksums
a22a7d616f6f5298345d20a6ec9d3fc22f3654490ab8943198d7a28c5ef33ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for bub-mcp-server 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page