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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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-sus-tech-gmbh-matrix42-mcp": {
"command": "npx",
"args": [
"-y",
"matrix42-mcp"
],
"env": {
"M42_HOST": "https://matrix42.example.com",
"M42_API_TOKEN": "<YOUR_VALUE>",
"M42_ALLOW_WRITES": "0",
"M42_LANGUAGE": "en-US",
"M42_TOOLS": "all",
"M42_AUDIT_NOTE": "1",
"M42_AGENT_LABEL": "Matrix42 MCP server",
"M42_UI_URL": "discovered",
"M42_ALLOW_INSECURE_TLS": "0",
"M42_TIMEOUT_MS": "30000",
"M42_PASSWORD": "<VALUE>",
"M42_USERNAME": "<VALUE>"
}
}
}
}
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 |
|---|---|---|
| M42_HOST | Yes | Base URL of the Matrix42 instance, e.g. https://matrix42.example.com |
| M42_API_TOKEN secret | Yes | API token; exchanged for an access token automatically |
| M42_ALLOW_WRITES | No | Set to 1 to expose tools that modify data. Write tools are not registered at all unless this is set. Default: 0 |
| M42_LANGUAGE | No | Response language, sent as Explicit-Language Default: en-US |
| M42_TOOLS | No | Comma-separated tool ids to expose Default: all |
| M42_AUDIT_NOTE | No | Mark created tickets with an internal note saying they were raised through this server. Set to 0 to disable. Default: 1 |
| M42_AGENT_LABEL | No | How the assistant is named in that note Default: Matrix42 MCP server |
| M42_UI_URL | No | Origin of the web interface, for deep links. Discovered from the instance's web shell config when unset. Default: discovered |
| M42_ALLOW_INSECURE_TLS | No | Set to 1 to skip TLS verification (self-signed dev instances only) Default: 0 |
| M42_TIMEOUT_MS | No | Per-request timeout Default: 30000 |
| M42_PASSWORD | No | Basic-auth alternative to M42_API_TOKEN |
| M42_USERNAME | No | Basic-auth alternative to M42_API_TOKEN |