nashmi-mcp-server

v1.5.0
nashmi-mcp-server Checked 3 days ago Published 13 days ago

Nashmi AI Manager Model Context Protocol (MCP) Server for IDEs and CLI agents

Model Context Protocol (MCP) server that connects AI coding agents (Claude Code, Cursor, Antigravity, VS Code, Claude Desktop) to the Nashmi AI Manager Kanban board. Once connected, an agent can read its assigned tasks, move cards across columns, post progress comments with Git metadata, and generate branch names and commit messages — all under the organization's MCP policy. 1. Requirements - Node.js 18 or newer (node -v) - A Nashmi account that is a member of at least one project

Summary extracted from the README.

nashmi-mcp-server

Model Context Protocol (MCP) server that connects AI coding agents (Claude Code, Cursor, Antigravity, VS Code, Claude Desktop) to the Nashmi AI Manager Kanban board.

Once connected, an agent can read its assigned tasks, move cards across columns, post progress comments with Git metadata, and generate branch names and commit messages — all under the organization's MCP policy.

What the agent can do once connected: see AGENT_GUIDE.md.


Quick setup (2 minutes)

1. Requirements

  • Node.js 18 or newer (node -v)
  • A Nashmi account that is a member of at least one project

2. Create a Personal Access Token

  1. Open Nashmi → Settings → MCP.
  2. Under Access Tokens, create a token named after the device/agent (e.g. laptop-claude-code).
  3. Copy it immediately. It starts with nashmi_pat_ and is shown only once.

3. Set two environment values

Variable Value
NASHMI_API_URL Your Nashmi API base, ending in /api — e.g. https://nizzam.ai.eqratech.com/api or http://localhost:8000/api
NASHMI_API_TOKEN The nashmi_pat_... token

4. Register the server in your client

Claude Code (one command):

claude mcp add nashmi \
  --env NASHMI_API_URL=https://nizzam.ai.eqratech.com/api \
  --env NASHMI_API_TOKEN=nashmi_pat_xxx \
  -- npx -y nashmi-mcp-server

Cursor (~/.cursor/mcp.json for all projects, or .cursor/mcp.json per project), Claude Desktop (claude_desktop_config.json), Antigravity (MCP raw config):

{
  "mcpServers": {
    "nashmi": {
      "command": "npx",
      "args": ["-y", "nashmi-mcp-server"],
      "env": {
        "NASHMI_API_URL": "https://nizzam.ai.eqratech.com/api",
        "NASHMI_API_TOKEN": "nashmi_pat_xxx"
      }
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "nashmi": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "nashmi-mcp-server"],
      "env": {
        "NASHMI_API_URL": "https://nizzam.ai.eqratech.com/api",
        "NASHMI_API_TOKEN": "nashmi_pat_xxx"
      }
    }
  }
}

Windows: if the client fails to start npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "nashmi-mcp-server"].

5. Verify

Restart the client, then ask the agent:

Call nashmi_get_context and tell me which projects I can see.

A working setup returns your user, organization, visible projects and the active policy. The server should list 16 tools whose names start with nashmi_.


Setup checklist for AI agents

If you are an AI agent asked to connect this server, do it in this order and stop at the first failure:

  1. Run node -v and confirm the version is 18 or newer.
  2. Ask the user for the token (nashmi_pat_...) and the API URL if you don't have them. Never invent a token, and never write it into a file tracked by git.
  3. Prefer the client's own command (claude mcp add ...). Otherwise edit the client's MCP config, merging into existing mcpServers rather than overwriting the file.
  4. Tell the user to restart or reload the client if it doesn't hot-reload MCP servers.
  5. Call nashmi_get_context. Success means user.email is present. Report the visible projects back to the user.
  6. If it fails, use the troubleshooting table below.

Troubleshooting

Symptom Cause Fix
Unauthenticated: Valid Nashmi Personal Access Token... (401) Token missing, mistyped, revoked or expired Create a new token in Settings → MCP and update NASHMI_API_TOKEN
Failed to connect to Nashmi API at ... Wrong NASHMI_API_URL, or the backend is down Make sure the URL ends in /api and opens in a browser
HTTP 404 on every call URL missing /api, or pointing at the frontend Use https://<host>/api
[Nashmi MCP Warning] No NASHMI_API_TOKEN provided in logs The env block was not passed Check the env key spelling in the client config
Server doesn't appear in the client Client not restarted, or npx not found Restart; on Windows use the cmd /c form
Action '...' is disabled by the MCP AI policy (403) An admin disabled that action Ask an admin to enable it in Settings → MCP → Policy
npx keeps using an old version npx cache Run npx -y nashmi-mcp-server@latest
429 MCP_RATE_LIMITED / MCP_QUOTA_EXCEEDED Per-minute or daily limit reached Wait (see Retry-After / resets_at), or ask the platform admin to raise it
503 MCP_DISABLED MCP switched off platform-wide Ask the platform admin
422 MCP_TOKEN_LIMIT when creating a token Too many active tokens Revoke an unused token in Settings → MCP

Security

  • One token per device/agent, so each can be revoked on its own from Settings → MCP.
  • Tokens act as you: the agent sees exactly the projects you can see, limited further by the MCP policy.
  • Every write action (create, update, assign, move, comment) is recorded in the MCP action log.
  • Never commit tokens. Keep them in the client's MCP config (outside the repo) or in environment variables.

Local development

cd packages/mcp-server
npm install
npm run build
NASHMI_API_URL=http://localhost:8000/api NASHMI_API_TOKEN=nashmi_pat_xxx node dist/index.js

To point a client at a local build, use "command": "node" and "args": ["/absolute/path/to/packages/mcp-server/dist/index.js"].

Publishing: npm version patch && npm publish (2FA required).