Skip to main content

MCP server for transformer.bee

Project description

TransformerBee.MCP

This is a simple PoC of a Model Context Protocol (MCP) server for transformer.bee, written in Python. Under the hood it uses python-mdc and transformerbeeclient.py.

Installation

You can install the MCP server as Python package or pull the Docker image.

Install as Python Package

uv install transformerbeemcp

or if you are using pip:

pip install transformerbeemcp

Install as Docker Image

docker pull ghcr.io/hochfrequenz/transformerbee.mcp:latest

Start the Server via CLI

Python

_The package ships a simple CLI argument to start the server. In a terminal inside the virtual environment in which you installed the package (here myvenv), call:

(myvenv) run-transformerbee-mcp-server

Docker

docker run --network host -i --rm -e TRANSFORMERBEE_HOST=http://localhost:5021 ghcr.io/hochfrequenz/transformerbee.mcp:latest

(For the environment variables -e ..., see below or the transformerbeeclient.py docs.)

Register MCP Server in Claude Desktop

If you checked out this repository

cd path/to/reporoot/src/transformerbeemcp
mcp install server.py

If you installed the package via pip/uv

Modify your claude_desktop_config.json (that can be found in Claude Desktop menu via "Datei > Einstellungen > Entwickler > Konfiguration bearbeiten"):

{
  "mcpServers": {
    "TransformerBee.mcp": {
      "command": "C:\\github\\MyProject\\.myvenv\\Scripts\\run-transformerbee-mcp-server.exe",
      "args": [],
      "env": {
        "TRANSFORMERBEE_HOST": "http://localhost:5021",
        "TRANSFORMERBEE_CLIENT_ID": "",
        "TRANSFORMERBEE_CLIENT_SECRET": ""
      }
    }
  }
}

where C:\github\MyProject\.myvenv is the path to your virtual environment where you installed the package and localhost:5021 exposes transformer.bee running in a docker container. Alternatively, if you haven't configured this handy CLI command https://github.com/Hochfrequenz/TransformerBee.mcp/blob/c0898769670469df13f23b57a55fe4b71ed9795b/pyproject.toml#L101-L102

you can just call python with non-empty args.

Note that this package marks uv as a dev-dependency, so you might need to install it pip install transformerbeempc[dev] in your virtual environment as well as a lot of MCP tooling assumes you have uv installed.

For details about the environment variables and/or starting transformer.bee locally, check transformerbeeclient.py docs.

If you installed the package via Docker

{
  "mcpServers": {
    "TransformerBee.mcp": {
      "command": "docker",
      "args": [
        "run",
        "--network",
        "host",
        "-i",
        "--rm",
        "-e",
        "TRANSFORMERBEE_HOST=http://localhost:5021",
        "ghcr.io/hochfrequenz/transformerbee.mcp:latest"
      ],
      "env": {
        "TRANSFORMERBEE_HOST": "http://localhost:5021",
        "TRANSFORMERBEE_CLIENT_ID": "",
        "TRANSFORMERBEE_CLIENT_SECRET": ""
      }
    }
  }
}

I'm aware, that using the --network host option is a bit hacky and not best practice.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transformerbeemcp-0.0.7.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transformerbeemcp-0.0.7-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file transformerbeemcp-0.0.7.tar.gz.

File metadata

  • Download URL: transformerbeemcp-0.0.7.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transformerbeemcp-0.0.7.tar.gz
Algorithm Hash digest
SHA256 84beeeb86d0fecf451d70e73a9c741681e38a3d1098188b5a9fc3f73768310a7
MD5 355cf609e208c2d194a590311911f14e
BLAKE2b-256 57c15a2b4ba1a19a7b5c9f03edb238eee3e1d806244b5ae2c3b1b02e4f09d2ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformerbeemcp-0.0.7.tar.gz:

Publisher: python-publish.yml on Hochfrequenz/TransformerBee.mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file transformerbeemcp-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for transformerbeemcp-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a3dd0fd738e7366eb8f3ee182fb7a8333f3c75d09534e5d2071ebe7a3706868f
MD5 784d8806797182df1562753c7e187d8f
BLAKE2b-256 7024a6dbfd7cfce0147b638cb0644c98dc8e47e5602e255799d9b0fa993abf0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformerbeemcp-0.0.7-py3-none-any.whl:

Publisher: python-publish.yml on Hochfrequenz/TransformerBee.mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page