MCP server for the Basic Supply Service (BSS) — read-only debug tools
Project description
bss-mcp
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d29ffaab933d1e4fcd0db305c63917a82cd2033798e662edfe416d994ce88076
|
|
| MD5 |
d5a249deea540b83828737360689cad3
|
|
| BLAKE2b-256 |
a161d600a2df38ba1659d51299043349a79c643e880ef46d1c09a68c2d3a5a1b
|
Provenance
The following attestation bundles were made for bss_mcp-0.2.1.tar.gz:
Publisher:
python-publish.yml on Hochfrequenz/bss-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bss_mcp-0.2.1.tar.gz -
Subject digest:
d29ffaab933d1e4fcd0db305c63917a82cd2033798e662edfe416d994ce88076 - Sigstore transparency entry: 1803011871
- Sigstore integration time:
-
Permalink:
Hochfrequenz/bss-mcp@779d00d636dda6f9f42c497938d1ae7387b4b546 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Hochfrequenz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@779d00d636dda6f9f42c497938d1ae7387b4b546 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f43cdb26a65fb96de6b4a7c1ea04a9e38ab6f84c85ae31431c8e537173521324
|
|
| MD5 |
b2d8331acb87d8ffb97146bbf3dd0636
|
|
| BLAKE2b-256 |
8124f6e770b2c5428707784d25884f6e22e7b667c6478fe4327655e4f380f0ff
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bss_mcp-0.2.1-py3-none-any.whl -
Subject digest:
f43cdb26a65fb96de6b4a7c1ea04a9e38ab6f84c85ae31431c8e537173521324 - Sigstore transparency entry: 1803012067
- Sigstore integration time:
-
Permalink:
Hochfrequenz/bss-mcp@779d00d636dda6f9f42c497938d1ae7387b4b546 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Hochfrequenz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@779d00d636dda6f9f42c497938d1ae7387b4b546 -
Trigger Event:
release
-
Statement type: