Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@critical-path/mcp

Latest version: v0.28.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: surrealroad
0 Stars
0 Forks
55 Versions
3.6K Downloads
TypeScript Repo language

Scan summary

@critical-path/mcp was last scanned on 30 Nov 2026 at version 0.28.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 55 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.28.0.
  • Downloads: 3,610 downloads.

Versions

55 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.28.0 LATEST 30 Nov 2026 No rules fired
0.27.1 22 Nov 2026 No rules fired
0.27.0 22 Nov 2026 No rules fired
0.26.3 13 Nov 2026 Not shown
0.26.2 5 Nov 2026 Not shown

No rules fired in 0.28.0

Findings

Findings for v0.28.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.28.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@critical-path/mcp

Model Context Protocol (MCP) and Client-Side WebMCP Integration for Critical Path\ Connect AI coding agents, background workers, and in-browser copilots directly to your project management workflows.

Upgrading? Upgrade every @critical-path/* package together. Coding agents: follow UPGRADING.md; breaking changes are marked BREAKING in this package's CHANGELOG.md.

License: MIT


💡 Overview

@critical-path/mcp bridges the Critical Path headless project management framework with AI agents via two complementary protocols:

  1. Standard Server MCP (@critical-path/mcp/server): Standard Model Context Protocol (MCP) server implementation using @modelcontextprotocol/sdk. Runs over stdio or streamable HTTP/SSE, allowing external AI assistants (such as Claude Desktop, Cursor, and Antigravity) to manage projects, tasks, sprints, deliverables, and comments.
  2. Client-Side WebMCP (@critical-path/mcp/web): In-browser tool registration following the W3C Web Machine Learning Community Group WebMCP specification. Registers structured tools directly on document.modelContext / navigator.modelContext with ambient project scoping, enabling in-browser AI assistants and page copilots to actuate project state without fragile DOM scraping.

📦 Installation

pnpm add @critical-path/mcp

🚀 Standard Server MCP (Claude Desktop, Cursor, CLI)

Running via CLI

You can spin up an MCP server over stdio instantly against a local SQLite database, in-memory store, or a remote Critical Path REST API:

# Against a local SQLite database
npx @critical-path/mcp --db ./path/to/critical-path.db

# Against a remote Next.js or SvelteKit route handler
npx @critical-path/mcp --api http://localhost:3000/api/critical-path

# Temporary in-memory store (for testing)
npx @critical-path/mcp

# Expose only some tools: toolsets, exact names, read-only
npx @critical-path/mcp --db ./critical-path.db --toolsets scheduling,analytics,guidance --read-only

# Install the bundled agent skills for coding agents
npx @critical-path/mcp skills install

For APIs protected with requireAuth, set CRITICAL_PATH_API_TOKEN (sent as Authorization: Bearer <token>) or pass --header "Name: value" (repeatable). Prefer the environment variable for secrets, since command-line flags are visible in process lists. The CLI warns when credentials would be sent over plain http to a non-local host.

{
  "mcpServers": {
    "critical-path": {
      "command": "npx",
      "args": ["-y", "@critical-path/mcp", "--api", "https://app.example.com/api/critical-path"],
      "env": { "CRITICAL_PATH_API_TOKEN": "<token>" }
    }
  }
}
Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "critical-path": {
      "command": "npx",
      "args": ["-y", "@critical-path/mcp", "--db", "/absolute/path/to/critical-path.db"]
    }
  }
}
Programmatic Server Creation
import { createCriticalPathMcpServer, startStdioServer } from '@critical-path/mcp/server';
import { CriticalPathEngine, SQLiteStore } from '@critical-path/core';

const engine = new CriticalPathEngine({
  store: new SQLiteStore({ filename: 'projects.db' })
});

const server = createCriticalPathMcpServer({
  engine,
  name: 'my-project-pm',
  toolsets: ['core', 'collaboration', 'guidance'] // optional; default: every tool
});

await startStdioServer(server);

🌐 Client-Side WebMCP (In-Browser Copilots)

WebMCP exposes client-side tools directly in the browser's JavaScript environment without scraping DOM elements.

React Integration (useWebMCP)
import { useWebMCP } from '@critical-path/react';

export function ProjectDashboard({ projectId }: { projectId: string }) {
  // Automatically registers tools scoped to the active project
  // and cleans up on unmount or project change via AbortController.
  // `instructions` briefs the agent; add it to your copilot's system prompt.
  const { registered, tools, instructions } = useWebMCP({
    projectId,
    tools: ['create_task', 'list_tasks', 'update_task', 'add_comment']
  });

  return (
    <div>
      <h1>Project View</h1>
      {registered && <p>AI Copilot Active ({tools.length} tools available)</p>}
    </div>
  );
}
Svelte 5 Integration (WebMcpState / createWebMcpState)
<script lang="ts">
  import { createCriticalPathClient, createWebMcpState } from '@critical-path/svelte';

  const client = createCriticalPathClient({ baseUrl: '/api/critical-path' });
  const mcp = createWebMcpState(client, { projectId: 'proj-123' });
</script>

<div>
  {#if mcp.registered}
    <span>🤖 In-browser AI assistant enabled for project {mcp.activeProjectId}</span>
  {/if}
</div>
Vanilla / Framework-Agnostic WebMCP
import { registerWebMcpTools } from '@critical-path/mcp/web';
import { CriticalPathClient } from '@critical-path/client';

const client = new CriticalPathClient({ baseUrl: '/api/critical-path' });

const handle = registerWebMcpTools({
  client,
  projectId: 'proj-main',
  onToolExecuted: (name, input, result) => {
    console.log(`[WebMCP] Executed ${name}:`, input, result);
  }
});

// To clean up and unregister:
handle.unregister();
Tool call telemetry

onToolExecuted runs only when a tool succeeds. For telemetry, use onToolCall: it runs once for every call after it settles, with toolName, input, status ('success' | 'error'), durationMs, projectId, and result or error. Errors thrown by the callback are caught, so they never change the tool's result. createWebMcpState (Svelte) and useWebMCP (React) accept it too.

registerWebMcpTools({
  client,
  projectId: 'proj-main',
  onToolCall: ({ toolName, status, durationMs, error }) => {
    console.log(`[WebMCP] ${toolName} ${status} in ${Math.round(durationMs)}ms`, error?.message ?? '');
  }
});

🛠️ Supported Tools

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @critical-path/mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229