daaem-pmo-mcp

v2.11.1
@nozomtechs/daaem-pmo-mcp Checked 1 day ago Published 2 months ago

MCP server for Daaem PMO — connect Claude Code to your project management system

MCP server for Daaem PMO V2 — enables AI agents to interact with PMO data. Published on npm as @nozomtechs/daaem-pmo-mcp. See CHANGELOG.md for release history. When the PMO mandatory account security policy is activated, enabled users must reset their password through the website and enroll Microsoft/Google Authenticator. Existing personal API tokens are revoked. Disabled accounts stay disabled. A subsequent password reset or administrator MFA recovery also revokes personal tokens.

Summary extracted from the README.

Daaem PMO MCP Server

pipeline status npm version

MCP server for Daaem PMO V2 — enables AI agents to interact with PMO data.

Published on npm as @nozomtechs/daaem-pmo-mcp. See CHANGELOG.md for release history.

Install (end users)

// .mcp.json
{
  "mcpServers": {
    "daaem-pmo": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nozomtechs/daaem-pmo-mcp@latest"],
      "env": {
        "DAAEM_TOKEN": "...",
        "DAAEM_URL": "https://pmo.nozomtechs.sa"
      }
    }
  }
}

Account security and MFA

When the PMO mandatory account security policy is activated, enabled users must reset their password through the website and enroll Microsoft/Google Authenticator. Existing personal API tokens are revoked. Disabled accounts stay disabled. A subsequent password reset or administrator MFA recovery also revokes personal tokens.

The MCP uses the configured DAAEM_TOKEN; it never signs in with a password or collects MFA secrets, one-time codes, or recovery codes. After completing website enrollment, an authorized operator can issue a replacement token using php artisan api:generate-token email@example.org. Issuance and API requests reject disabled users or users who have not completed security setup. Replace the token in your local MCP configuration and restart the server. A 403 may also indicate a normal permission denial; follow the server's message rather than repeatedly retrying.

For separate legacy API clients, POST /api/login requires two_factor_code (current six-digit TOTP or an unused recovery code) alongside email/password when the policy is active. Reset/enrollment must first be completed on the website; incomplete setup returns 403, missing/invalid codes return 401. This endpoint is not exposed as an MCP tool. Existing resource tool schemas are unchanged. Workspace-scoped machine client-credentials integrations retain their existing authentication; MFA is an interactive user control.

Develop

npm install
npm run dev          # tsx watch mode
npm run build        # compile to dist/

Release workflow

Publishing to npm is automated via GitLab CI. To cut a release:

  1. Make sure you're on main and up to date: git pull origin main
  2. Bump the version — pick one:
    • Bug fix: npm version patch -m "chore: release v%s"
    • New feature: npm version minor -m "chore: release v%s"
    • Breaking change: npm version major -m "chore: release v%s"
  3. Push commit + tag: git push && git push --tags

GitLab CI detects the vX.Y.Z tag, verifies it matches package.json, and publishes to npm automatically. Regular pushes and MRs only run npm ci (sanity check) — they do NOT publish.

One-time CI setup

Add the npm automation token as a GitLab CI variable:

  • Settings → CI/CD → Variables → Add variable
  • Key: NPM_TOKEN
  • Value: automation token from npmjs.com → Tokens → Generate → Automation
  • Flags: ✅ Masked, ✅ Protected
  • Also protect the v* tag pattern in Settings → Repository → Protected Tags

Keeping the MCP in sync with PMO

Every new API endpoint or field on Daaem-PMO-V2 MUST be mirrored here in the same release cycle. See the gap log in Daaem-PMO-V2/CLAUDE.md for the rule.

Tool modules under src/tools/ map 1:1 to API resources — e.g. src/tools/expenses.ts ↔ /api/v1/workspaces/projects/{id}/expenses.