claude_mcp_config.jsonโข4.16 kB
{
"mcpServers": {
"matrix-pattern": {
"command": "node",
"args": ["src/index.js"],
"cwd": "/Users/rodrigomallmann/Workspace/libs/matrix-pattern/matrix-mcp-server",
"env": {
"NODE_ENV": "production",
"MATRIX_PATTERN_LOG_LEVEL": "info",
"MATRIX_PATTERN_CONFIG_PATH": ".matrix_pattern/config.json"
}
}
},
"globalSettings": {
"logLevel": "info",
"timeout": 30000,
"retryAttempts": 3,
"enableMetrics": true
},
"capabilities": {
"matrix-pattern": [
"matrix_create_cell",
"matrix_read_cell",
"matrix_sync_horizontal",
"matrix_sync_vertical",
"matrix_list_verticals",
"matrix_list_horizontals",
"matrix_read_horizontal_instructions"
]
},
"description": {
"matrix-pattern": "Advanced pattern management and synchronization server for Claude applications. Provides tools for creating, reading, and synchronizing matrix patterns with horizontal and vertical coordination."
},
"installation": {
"requirements": [
"Node.js >= 18.0.0",
"npm package manager"
],
"setup_commands": [
"cd /Users/rodrigomallmann/Workspace/libs/matrix-pattern/matrix-mcp-server",
"npm install",
"./setup.sh"
],
"validation": [
"npm test",
"npm run validate"
]
},
"examples": {
"create_cell": {
"tool": "matrix_create_cell",
"description": "Create a new cell in the matrix pattern system",
"parameters": {
"cellId": {
"row": "requirements",
"column": "authentication"
},
"data": {
"content": "# Authentication Requirements\n\n## Functional Requirements\n- User login with email/password\n- Multi-factor authentication support\n- Session management\n\n## Non-Functional Requirements\n- Security: OAuth 2.0 compliance\n- Performance: < 2s login time\n- Availability: 99.9% uptime",
"metadata": {
"priority": "high",
"assigned_to": "security_team",
"horizontal_type": "requirements"
}
}
}
},
"sync_horizontal": {
"tool": "matrix_sync_horizontal",
"description": "Synchronize patterns horizontally between rows",
"parameters": {
"sourceRow": "requirements",
"targetRow": "architecture",
"columns": ["authentication", "authorization"]
}
},
"list_verticals": {
"tool": "matrix_list_verticals",
"description": "List all cells in a vertical column",
"parameters": {
"column": "authentication"
}
}
},
"troubleshooting": {
"common_issues": {
"connection_failed": {
"symptoms": ["Server not responding", "Connection timeout"],
"solutions": [
"Check if Node.js >= 18.0.0 is installed",
"Verify the server is running with 'npm start'",
"Check the working directory path is correct",
"Ensure all dependencies are installed with 'npm install'"
]
},
"validation_errors": {
"symptoms": ["Cell creation fails", "Validation error messages"],
"solutions": [
"Check cell data format matches required schema",
"Ensure cell ID has both row and column properties",
"Verify content is a non-empty string",
"Use CellValidator for content validation before creation"
]
},
"sync_issues": {
"symptoms": ["Sync operations fail", "Forward-only constraint errors"],
"solutions": [
"Verify source cells exist before syncing",
"Check target cells don't already exist (forward-only constraint)",
"Ensure proper permissions on .matrix_pattern directory",
"Review sync reports in metadata/sync-reports/"
]
}
},
"debugging": {
"log_files": [
".matrix_pattern/logs/server.log",
".matrix_pattern/metadata/sync-reports/"
],
"diagnostic_commands": [
"npm test",
"npm run validate",
"node -e \"console.log(process.version)\" # Check Node.js version"
]
}
}
}