← All work

PM Dashboard with an MCP Server

A project management platform whose live data is exposed to AI assistants through a Model Context Protocol server.

Node.jsExpress 5MCP SDKMongoDB AtlasReact 19RechartsAzure MSAL

The problem

Managers wanted to ask an AI assistant about project health, budgets and effort, but that data lived inside the app. It needed a standard, secure way for AI clients to read it without copying data out.

How an AI assistant reads project data

  1. 1Connect

    AI client opens an SSE stream at /api/v1/mcp/sse

  2. 2Authenticate

    JWT middleware resolves the user and their role

  3. 3Request

    Client asks for MCP resources or prompts

  4. 4Resolve

    Handlers reuse the app's service layer, scoped by role

  5. 5Answer

    Read-only project, budget and effort data returned to the assistant

Key decisions

Reuse the service layer

MCP handlers call the same services as the REST API, so AI clients see exactly what the user would see, with the same role scoping.

Read-only by design

The MCP server exposes resources and prompts, not write tools, so an assistant can't change project data.

SSE transport inside the main app

MCP runs on the same Express server and deployment as the REST API, with raw body parsing kept off the MCP message route for the SDK.

Outcome

  • ✓ AI assistants can answer questions on live portfolio data.
  • ✓ CEO, Manager and Admin dashboards for budget burndown, effort and RAG health.

Built at HiBiz Solutions. Source code is proprietary; this write-up covers architecture and design decisions only.