Skip to main content
Glama

MATRIX

Multi-Agent Task & Requirement IndeX — A local, project-scoped Requirement Management MCP server for multi-agent, multi-session work. Think of it as a lightweight local project manager, backed by SQLite, that AI agents can connect to via the Model Context Protocol.

Requirements

  • Node.js ≥ 22.5.0 — required for the built-in node:sqlite module

Related MCP server: MCP Plus

Installation & Configuration

MATRIX is project-scoped: each project gets its own .matrix/matrix.db database. The server resolves the DB path relative to its working directory (process.cwd()), so you must set cwd to your project root in your MCP client config.

Claude Desktop

{
  "mcpServers": {
    "matrix": {
      "command": "npx",
      "args": ["-y", "matrix-mcp"],
      "cwd": "/absolute/path/to/your/project"
    }
  }
}

Cursor / VS Code (.cursor/mcp.json or .vscode/mcp.json)

{
  "servers": {
    "matrix": {
      "command": "npx",
      "args": ["-y", "matrix-mcp"],
      "cwd": "${workspaceFolder}"
    }
  }
}

Note: ${workspaceFolder} is expanded by Cursor/VS Code to the workspace root automatically.

Custom DB path

To store the database somewhere other than <project-root>/.matrix/matrix.db, set the MATRIX_DB_PATH environment variable to an absolute path:

{
  "mcpServers": {
    "matrix": {
      "command": "npx",
      "args": ["-y", "matrix-mcp"],
      "env": {
        "MATRIX_DB_PATH": "/absolute/path/to/matrix.db"
      }
    }
  }
}

Human Interface (CLI & Web)

MATRIX also ships a matrix-mcp-cli CLI for humans to browse and manage the database directly.

matrix-mcp-cli --help
matrix-mcp-cli list # lists requirements
matrix-mcp-cli get req-00001
matrix-mcp-cli pick tsk-00001 --agent my-agent
matrix-mcp-cli serve --port 3000

DB path: --matrix-db-path flag > MATRIX_DB_PATH env var > .matrix/matrix.db

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
2wRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aminfara/matrix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server