Scan your whole stack
Are you using @critical-path/mcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.28.0
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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'sCHANGELOG.md.
@critical-path/mcp bridges the Critical Path headless project management framework with AI agents via two complementary protocols:
@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.@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.pnpm add @critical-path/mcp
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>" }
}
}
}
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"]
}
}
}
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);
WebMCP exposes client-side tools directly in the browser's JavaScript environment without scraping DOM elements.
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>
);
}
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>
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();
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 ?? '');
}
});
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.