Skip to main content

MCP server for the Basic Supply Service (BSS) — read-only debug tools

Project description

bss-mcp

License: MIT Python Versions (officially) supported Pypi status badge Unittests status badge Coverage status badge Linting status badge Black status badge

An MCP server wrapping bssclient, exposing read-only BSS investigation-order data to AI assistants (e.g. Claude Desktop) for debugging.

Requires Python 3.11+.

Tools

Tool Description
get_ermittlungsauftraege List investigation orders (limit, offset; limit=0 uses the server default)
get_ermittlungsauftraege_by_malo Investigation orders for a Marktlokation ID
get_aufgabe_stats Task status statistics across all Aufgaben types
get_all_ermittlungsauftraege Fetches all investigation orders by iterating pages (package_size controls page size, default 100)

Installation

pip install bss-mcp

For use with Claude Desktop or another MCP client, pipx installs the server as a standalone executable:

pipx install bss-mcp

Configuration

Set environment variables or place them in a .env file in the working directory from which the MCP server is launched (for Claude Desktop this is typically the user's home directory):

Variable Required Description
BSS_URL Yes Base URL of the BSS server, e.g. https://basicsupply.example.de/
BSS_AUTH_TYPE No (default: basic) basic or oauth
BSS_USER If basic auth Username
BSS_PASSWORD If basic auth Password
BSS_CLIENT_ID If OAuth OAuth client ID
BSS_CLIENT_SECRET If OAuth OAuth client secret
BSS_TOKEN_URL If OAuth Token endpoint URL

Usage

Run the server directly:

bss-mcp

Or add to your MCP client config (e.g. Claude Desktop). Use the full path to the executable if bss-mcp is not on the PATH seen by the client:

{
  "mcpServers": {
    "bss": {
      "command": "bss-mcp",
      "env": {
        "BSS_URL": "https://basicsupply.example.de/",
        "BSS_AUTH_TYPE": "basic",
        "BSS_USER": "...",
        "BSS_PASSWORD": "..."
      }
    }
  }
}

Development

This project follows the Hochfrequenz Python template — see it for general setup instructions (tox, CI, PyPI publishing).

tox -e tests       # run tests
tox -e type_check  # mypy --strict
tox -e linting     # pylint
tox -e coverage    # coverage ≥ 80 %
tox -e formatting  # black + isort

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

bss_mcp-0.2.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

bss_mcp-0.2.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file bss_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: bss_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bss_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d29ffaab933d1e4fcd0db305c63917a82cd2033798e662edfe416d994ce88076
MD5 d5a249deea540b83828737360689cad3
BLAKE2b-256 a161d600a2df38ba1659d51299043349a79c643e880ef46d1c09a68c2d3a5a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for bss_mcp-0.2.1.tar.gz:

Publisher: python-publish.yml on Hochfrequenz/bss-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 bss_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bss_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bss_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f43cdb26a65fb96de6b4a7c1ea04a9e38ab6f84c85ae31431c8e537173521324
MD5 b2d8331acb87d8ffb97146bbf3dd0636
BLAKE2b-256 8124f6e770b2c5428707784d25884f6e22e7b667c6478fe4327655e4f380f0ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for bss_mcp-0.2.1-py3-none-any.whl:

Publisher: python-publish.yml on Hochfrequenz/bss-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