pitwall-mcp
v0.1.1Solo lectura sobre BMW CarData: mantenimiento, neumaticos y bateria de 12V.
Values you need
| Variable | What it is | |
|---|---|---|
PITWALL_CLIENT_ID | required secret | Client id de tu aplicacion BMW CarData, creada en https://bmw-cardata.bmwgroup.com. Se obtiene en el portal; no lo comparte nadie contigo. |
PITWALL_VIN | required secret | VIN del vehiculo, 17 caracteres. Debe estar mapeado como PRIMARY en la cuenta. |
PITWALL_CONTAINER_ID | required | Id del contenedor telematico creado por scripts/bootstrap_containers.py. El servidor solo lo consume: nunca crea ni borra contenedores. |
PITWALL_TOKEN_FILE | optional | Ruta del fichero de tokens OAuth. Por defecto ~/.config/pitwall-mcp/tokens.json, con permisos 600 y fuera del repositorio. |
PITWALL_DB_PATH | optional | Ruta de la base SQLite con la cache, el registro de cuota y el historico. Por defecto ~/.local/share/pitwall-mcp/pitwall.db. |
PITWALL_DAILY_QUOTA | optional | Tope duro de peticiones REST al dia. BMW permite 50 cada 24 h por cuenta; el valor por defecto es 20 para dejar margen. Nunca puede superar 50. Default: 20 |
PITWALL_LOG_LEVEL | optional | DEBUG, INFO, WARNING o ERROR. Los logs van a stderr: stdout es el canal MCP. Default: INFO |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add pitwall-mcp -e 'PITWALL_CLIENT_ID=<PITWALL_CLIENT_ID>' -e 'PITWALL_CONTAINER_ID=<PITWALL_CONTAINER_ID>' -e 'PITWALL_VIN=<PITWALL_VIN>' -- uvx pitwall-mcp==0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"pitwall-mcp": {
"args": [
"pitwall-mcp==0.1.1"
],
"command": "uvx",
"env": {
"PITWALL_CLIENT_ID": "<PITWALL_CLIENT_ID>",
"PITWALL_CONTAINER_ID": "<PITWALL_CONTAINER_ID>",
"PITWALL_VIN": "<PITWALL_VIN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pitwall-mcp": {
"args": [
"pitwall-mcp==0.1.1"
],
"command": "uvx",
"env": {
"PITWALL_CLIENT_ID": "<PITWALL_CLIENT_ID>",
"PITWALL_CONTAINER_ID": "<PITWALL_CONTAINER_ID>",
"PITWALL_VIN": "<PITWALL_VIN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PITWALL_CLIENT_ID",
"id": "pitwall-client-id",
"password": true,
"type": "promptString"
},
{
"description": "PITWALL_CONTAINER_ID",
"id": "pitwall-container-id",
"password": true,
"type": "promptString"
},
{
"description": "PITWALL_VIN",
"id": "pitwall-vin",
"password": true,
"type": "promptString"
}
],
"servers": {
"pitwall-mcp": {
"args": [
"pitwall-mcp==0.1.1"
],
"command": "uvx",
"env": {
"PITWALL_CLIENT_ID": "${input:pitwall-client-id}",
"PITWALL_CONTAINER_ID": "${input:pitwall-container-id}",
"PITWALL_VIN": "${input:pitwall-vin}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pitwall-mcp]
command = "uvx"
args = ["pitwall-mcp==0.1.1"]
env = { "PITWALL_CLIENT_ID" = "<PITWALL_CLIENT_ID>", "PITWALL_CONTAINER_ID" = "<PITWALL_CONTAINER_ID>", "PITWALL_VIN" = "<PITWALL_VIN>" }For AI agents
- Ask the user for: PITWALL_CLIENT_ID, PITWALL_VIN, PITWALL_CONTAINER_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_descriptors, get_api_quota, list_vehicles, get_vehicle_basic_data, report_product_update_step, get_telematic_data, get_vehicle_status, get_tyre_diagnosis, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json