Skip to main content

Give your AI agent real project maths, not a hallucinated Gantt chart.

Pocket PMO exposes PERT, CPM, Monte Carlo, EVM and risk scoring over an MCP server, so AI planning agents compute answers instead of improvising them.

The published market stocks records. Nobody stocks computation.

Project-management MCP servers on the market today connect assistants to tasks, boards, pages and issues. That lets an agent create a plan, and then describe it. What we could not find anywhere in that market is a server that tells the agent how likely the plan is to succeed. PocketPMO's MCP server is built for exactly that missing half: computation, not storage. Existing servers create and update tasks, boards, issues and pages, read project state back, summarise data in prose, and estimate dates by language intuition. None of them compute. Pocket PMO's server carries the computational core: PERT three-point estimating, Monte Carlo delivery probability for a named date, CPM critical-path identification, earned value metrics, probability-impact risk scoring, and portfolio roll-ups.

What MCP is, in one paragraph

The Model Context Protocol (MCP) is an open standard that lets an AI application launch and talk to small helper programs called servers. Each server declares a list of tools: named operations with typed inputs and outputs that the AI can call the same way it would call a calculator. The host application (Claude Desktop, Hermes, or any MCP-capable agent framework) starts the server as a local process, discovers its tools, and invokes them mid-conversation when a question needs real computation. The server runs on your machine, over standard input and output; there is no cloud component in the protocol itself and nothing about MCP requires network access. That makes it a good fit for project data you would rather not paste into a chat window.

What PocketPMO's server exposes

The server is a zero-dependency Node.js program (Node 18 or later) published open source at github.com/thepmexpert/pocketpmo-mcp. It reads PocketPMO project export files (JSON) from a local directory and exposes eight read-only tools:

  • list_projects: the projects available to the server, with activity, risk, and milestone counts.
  • get_project: one project's schedule and budget metadata plus data-shape counts.
  • pert_estimate: per-activity expected duration, variance, and standard deviation from three-point inputs, a roll-up, and the probability of finishing by an optional target date.
  • critical_path: CPM analysis with early and late start/finish, float, the critical set, and project duration.
  • monte_carlo: duration percentiles (p10/p50/p90), mean and standard deviation, probability of finishing by target dates, and per-activity critical-path frequency.
  • evm_metrics: planned value, earned value, actual cost, CPI, SPI, EAC, VAC, and timeline percentage.
  • portfolio_rollup: cross-project PERT totals and EVM aggregates across every project in the directory.
  • risk_register: the project's risks scored by probability times impact, ranked highest first.

A session, with real numbers

The repository ships an end-to-end demo (node demo/demo.mjs) that drives the real server over stdio against a sample project, Northgate Platform Migration: six activities, four risks, four milestones, a 480,000 budget. Its output shows what an agent actually receives. The critical-path tool reports a project duration of 75 days on the chain a1, a2, a4, a5, a6, with activity a3 carrying 10 days of float. The Monte Carlo tool, run for 5,000 iterations with seed 42, returns p10 at 73.82 days, p50 at 81.59 days, and p90 at 89.92 days (mean 81.82, standard deviation 6.17), a 14.1% probability of finishing within the 75-day plan, and a 90.1% probability of finishing within 90 days. It also reports criticality: activities a1, a2, a5 and a6 sit on the critical path in 100% of simulated runs, a4 in 95.7%.

That last number is the kind an agent cannot invent. Asked 'how often does the design task end up driving the date?', the server answers from simulation frequencies, not from plausible-sounding prose.

How an agent actually connects

Setup is deliberately boring. Clone the repository (there are no dependencies to install), point the PMO_PROJECTS_DIR environment variable at a folder of PocketPMO project exports, and launch server.js with Node. Any MCP host that supports local stdio servers can then start it. In a host config file, the entry looks like this, as plain JSON: an mcpServers object with a pocketpmo key whose command is node, whose args array names the path to server.js, and whose env object sets PMO_PROJECTS_DIR to your export folder. Claude Desktop, Hermes, and other MCP-capable hosts all use this same shape.

After the host restarts, the agent discovers the eight tools on its own. A question like 'what is the P80 date for the Northgate migration, and what would slipping the integration task do to it?' turns into two or three tool calls: monte_carlo for the percentile, critical_path for the float picture, and a prose answer grounded in both.

Security posture: local, read-only, deterministic

The design guarantees are stated in the repository and enforced in the code. The server is local: it is a process on your machine talking over stdio, with no cloud endpoint, no account, and no telemetry. It is read-only: none of the eight tools writes to project data, and write-back is a future milestone, not a present capability. It is deterministic: the Monte Carlo random number generator is seeded (seed 42 by default), so identical calls return identical output, which makes an agent's numbers auditable after the fact. And it is fail-soft: a tool that receives bad input returns an in-band error result instead of crashing the server, and responses carry an issues list that flags suspect inputs rather than silently fabricating statistics.

Where the maths comes from

The calculators are faithful ports of the ones running in the PocketPMO browser app: the PERT, CPM, Monte Carlo, and EVM engines each document their source function in the repository. Two honesty notes ship alongside them. The PERT roll-up assumes activity durations are independent, so shared resources or common risks that correlate durations make the true variance larger and the completion probability optimistic. And in the EVM tool, actual cost is derived under the PocketPMO export model (milestone cost times progress), not read from an expense ledger. Both caveats are documented where an agent (and its human) will see them.

Who this is for

The server fits three kinds of user. PMO leads who already keep an AI agent in their workflow and want its plan reviews to carry computed probabilities instead of adjectives. Tool builders and consultants assembling agent stacks for clients who need schedule maths as a callable capability. And technically curious project managers who want to query their own forecasts in plain language without re-keying data. It is not a chatbot UI, and it does not try to be: the browser app remains the place where humans plan, and the server is the place where agents compute.

What it does not do (yet)

Stated plainly, so nobody is surprised. There is no write-back: agents cannot change project data, only read and compute. The portfolio roll-up covers PERT and EVM but not Monte Carlo. The ROM (rough order of magnitude) estimator lives in the browser app and is not among the server's tools. Monte Carlo accepts a bounded number of target dates per call (100 by default). And the MCP protocol surface may grow with PocketPMO itself, so pin the repository version you deploy and read the changelog before upgrading.

Frequently asked questions

Does the agent need access to our live PocketPMO app?

No. The server reads project export files (JSON) from a local directory you choose with the PMO_PROJECTS_DIR environment variable. Export the projects from PocketPMO, point the server at the folder, and the agent works from that snapshot. Nothing connects to the app itself.

Is any project data sent to a cloud service?

No. The server is a local process that communicates over standard input and output with the host that launched it. There is no cloud endpoint, no account, and no telemetry. Your project data stays on the machine where the server runs.

Which MCP clients can use it?

Any host that launches local stdio MCP servers: Claude Desktop, Hermes, and other MCP-capable agent frameworks. The server is a zero-dependency Node.js program (Node 18 or later), so a host that can run node server.js can run it. Test it standalone first: piping a JSON-RPC ping into the server on the command line gets a pong back.

Can an agent change our project data through the server?

No. All eight tools are read-only, and the repository states that write-back is a future milestone. An agent can compute forecasts, critical paths, and risk rankings, but it cannot edit activities, risks, or budgets. That boundary is deliberate.

Why do the Monte Carlo numbers come out exactly the same every run?

The simulation uses a seeded random number generator (seed 42 by default), so identical inputs produce identical outputs by design. That determinism is a feature: when an agent quotes a P80 date in a meeting, you can re-run the same call later and get the same number to audit. Pass a different seed if you want an independent replication.

Does the MCP server include a ROM estimator?

No. The rough order of magnitude estimator is a browser-app feature and is not among the server's eight tools, which cover PERT estimates, critical path, Monte Carlo, EVM, portfolio roll-up, and the risk register. If an agent task needs ROM outputs today, use the app, and check the repository changelog before assuming that is still true.

Run the example on your own schedule

Try the computation core free in Pocket PMO: the same engines the MCP server exposes (PERT, CPM, Monte Carlo) running in your browser.

Related planning pages