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.0.tar.gz (18.5 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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bss_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 18.5 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.0.tar.gz
Algorithm Hash digest
SHA256 13b7433a7c16625f830ec31e97352f25f32016e411cde9e9fd0babb39dcec2cc
MD5 9fdd38ac11403e3ea4da20f0bbaa2f96
BLAKE2b-256 94b8f3f031329f4256c6ea34491d05d36980a6101d85b0193f94a4c9e322fda4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bss_mcp-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: bss_mcp-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 463ed7aa0a87ce62729e2191f8d00998dc1d0410c216c58882f0a95968725468
MD5 fb905b8b3c5e5e99e5ef36ed4da00120
BLAKE2b-256 60ed806eee4ca438500979f5856dcb70bb47ef7a4488b8cf7caa3786b68eee59

See more details on using hashes here.

Provenance

The following attestation bundles were made for bss_mcp-0.2.0-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