Configuration
Complete settings reference for the bx-mcp module including authentication access control, slow request tracking, and performance monitoring.
Complete Settings Table
{
"modules": {
"bxmcp": {
"enabled": true,
"settings": {
"enabled": true,
"authToken": "FILL_THIS_OUT_ALWAYS",
"allowedIPs": ["127.0.0.1"],
"corsAllowedOrigins": [],
"enableStats": true,
"maxRequestBodySize": 0,
"enablePoolLatencyTracking": false,
"heapDumpDir": "",
"includedTools": ["*"],
"excludedTools": [],
"slowSQL": {
"enabled": true,
"slowQueryThresholdMs": 1000,
"slowQueryBufferSize": 200,
"slowQueryCapture": true
},
"slowRequests": {
"enabled": true,
"slowRequestThresholdMs": 1000,
"slowRequestBufferSize": 200,
"slowRequestCaptureStack": false
},
"slowHttp": {
"enabled": true,
"slowHttpThresholdMs": 1000,
"slowHttpBufferSize": 200,
"slowHttpCaptureBody": false
},
"routeMetrics": {
"enabled": true,
"maxRoutes": 200,
"normalizePathParams": true
},
"securityProfiles": {
"admin": { "includedTools": ["*"], "excludedTools": [] },
"readonly": { "includedTools": ["*_get*", "*_has*", "*_search*", "*_read*"], "excludedTools": [] }
}
}
}
}
}Core Settings
Setting
Type
Default
Description
Slow SQL Configuration
Setting
Type
Default
Description
Slow Request Configuration
Setting
Type
Default
Description
Slow HTTP Configuration
Setting
Type
Default
Description
Route Metrics Configuration
Setting
Type
Default
Description
Security Profiles
Built-in Profiles
Profile
Included Tools
Description
Custom Profile Configuration
Field
Default
Description
Authentication & Access Control
Shape 1: Simple String
Shape 2: Array of Structs (Inline Tools)
Field
Default
Description
Shape 3: Array of Structs (Profile Reference) — Recommended
Field
Default
Description
Filtering Rules (Applied in Order)
Glob Pattern Reference
Pattern
Matches
Security Notes
Last updated
Was this helpful?
