Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-bersimao-b1-mcp-server": {
"command": "npx",
"args": [
"-y",
"b1-mcp-server"
],
"env": {
"MCP_DRY_RUN": "false",
"MCP_LOG_LEVEL": "info",
"MCP_SL_TIMEOUT_MS": "30000",
"MCP_SL_TRUST_FILE": "~/.claude/service-layer-trust.json",
"MCP_AUDIT_LOG_PATH": "~/.claude/logs/b1-mcp-audit.jsonl",
"MCP_MAX_RESULT_ROWS": "500",
"NODE_EXTRA_CA_CERTS": "<VALUE>",
"MCP_CONNECTIONS_FILE": "~/.claude/connections.json",
"MCP_MAX_QUERY_LENGTH": "8000",
"MCP_MAX_RESULT_CHARS": "100000",
"MCP_QUERY_TIMEOUT_MS": "60000",
"MCP_SL_MAX_BODY_CHARS": "50000",
"MCP_SL_MAX_URL_LENGTH": "2048",
"MCP_SL_WRITES_ENABLED": "true",
"MCP_RATE_LIMIT_MAX_CALLS": "60",
"MCP_RATE_LIMIT_WINDOW_MS": "60000",
"MCP_ELICITATION_TIMEOUT_MS": "120000"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MCP_DRY_RUN | No | The exact value true validates raw SQL and Service Layer writes without executing them; connections and Service Layer GET still run. Default: false |
| MCP_LOG_LEVEL | No | Stderr verbosity: debug / info / warn / error. JSONL file logging is unaffected. Uses info when unset/empty and reports a fallback for any other invalid value. Default: info |
| MCP_SL_TIMEOUT_MS | No | Service Layer login/request timeout in milliseconds. Must be a positive integer; invalid values fall back to the default. Default: 30000 |
| MCP_SL_TRUST_FILE | No | Local non-secret certificate trust store. Default: ~/.claude/service-layer-trust.json |
| MCP_AUDIT_LOG_PATH | No | Audit log JSONL file. Unset or empty uses the default path. Default: ~/.claude/logs/b1-mcp-audit.jsonl |
| MCP_MAX_RESULT_ROWS | No | Max rows returned to the model; extra rows are cut and announced. Must be a positive integer; invalid values fall back to the default. Default: 500 |
| NODE_EXTRA_CA_CERTS | No | For an internal certificate authority, set this to the CA bundle before starting the MCP process. Global certificate verification disablement is never supported: the adapter refuses to connect when NODE_TLS_REJECT_UNAUTHORIZED=0 is present. |
| MCP_CONNECTIONS_FILE | No | Path to the connection profile file. All optional; there is no .env file — the server reads process.env directly. Default: ~/.claude/connections.json |
| MCP_MAX_QUERY_LENGTH | No | Max SQL length in characters. Must be a positive integer; unset or whitespace-only uses the default, any other invalid value reports the fallback on stderr and uses the default. Default: 8000 |
| MCP_MAX_RESULT_CHARS | No | Max characters of result JSON, applied after the row cap. Must be a positive integer; invalid values fall back to the default. Default: 100000 |
| MCP_QUERY_TIMEOUT_MS | No | Statement ceiling in milliseconds; a query still running at this point is aborted. Raise it if a legitimate report needs longer. Must be a positive integer; invalid values fall back to the default. Default: 60000 |
| MCP_SL_MAX_BODY_CHARS | No | Maximum serialised PATCH/POST body length. Must be a positive integer; invalid values fall back to the default. Default: 50000 |
| MCP_SL_MAX_URL_LENGTH | No | Maximum relative OData URL length. Must be a positive integer; invalid values fall back to the default. Default: 2048 |
| MCP_SL_WRITES_ENABLED | No | Emergency kill switch for every Service Layer write (PATCH, POST, DELETE); true/false are case-insensitive and invalid values disable writes. Replaces MCP_SL_PATCH_ENABLED, which is no longer read — except that any value other than true in the old name still disables writes. Default: true |
| MCP_RATE_LIMIT_MAX_CALLS | No | Max calls per tool per window. Must be a positive integer; invalid values fall back to the default rather than meaning "no limit". Default: 60 |
| MCP_RATE_LIMIT_WINDOW_MS | No | Rate-limit window in milliseconds. Must be a positive integer; invalid values fall back to the default. Default: 60000 |
| MCP_ELICITATION_TIMEOUT_MS | No | How long a human gets to answer an approval form (certificate trust, Service Layer write) before it fails closed. Must be a positive integer; invalid values fall back to the default. Default: 120000 |