New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@repo-prism/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@repo-prism/mcp-server

MCP server over Core: local repository intelligence for coding agents

latest
Source
npmnpm
Version
1.12.0
Version published
Weekly downloads
145
-44.44%
Maintainers
1
Weekly downloads
 
Created
Source

@repo-prism/mcp-server

npm license

prism-mcp — give any MCP-capable agent structural answers about the repo you have open, plus Dispatch (start my day, jobs, connect). Same engine as the CLI and IDE extension. Local analysis. 45 tools.

Website: https://www.prismhq.in · Docs: https://www.prismhq.in/docs/start/install

Requires Node.js 26.

You never type tool names. After setup, ask in plain language (“is this repo healthy?”, “start my day”, “connect Slack”). The server instructs the agent which tools to call.

Setup — step by step

No --workspace path. After connect the server asks the client for MCP roots (the folder you have open in chat). It also honours WORKSPACE_FOLDER_PATHS and then walks up from the process cwd to the nearest git root.

Claude Code

  • Open a terminal in your project: cd /path/to/your/project
  • Run:
    claude mcp add prism -- npx -y @repo-prism/mcp-server
    
  • Restart Claude Code if it was already open.
  • Ask: “What is this repository?” or “How healthy is this codebase?”
  • Confirm the agent calls Prism tools on its own (you should not need to name them).

Cursor

  • Open your project folder in Cursor.
  • Create .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
    {
      "mcpServers": {
        "prism": {
          "command": "npx",
          "args": ["-y", "@repo-prism/mcp-server"]
        }
      }
    }
    
  • Save the file.
  • Settings → MCP → enable prism.
  • Wait until ~40 tools appear.
  • In Agent chat, ask in plain language — no tool names.

Claude Desktop

  • Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/ · Windows: %APPDATA%\Claude\).
  • Add:
    {
      "mcpServers": {
        "prism": {
          "command": "npx",
          "args": ["-y", "@repo-prism/mcp-server"]
        }
      }
    }
    
  • Quit and reopen Claude Desktop.
  • Start from / with your project so the server cwd is that project (or set env.PRISM_WORKSPACE once if the client always starts from a fixed dir).
  • Ask in plain language.

Codex CLI

  • Edit ~/.codex/config.toml.
  • Add:
    [mcp_servers.prism]
    command = "npx"
    args = ["-y", "@repo-prism/mcp-server"]
    
  • Run Codex from inside your project.
  • Ask in plain language.

Optional overrides

Only if auto-detection is wrong:

npx -y @repo-prism/mcp-server --workspace /path/to/repo
# or
PRISM_WORKSPACE=/path/to/repo npx -y @repo-prism/mcp-server

Do not leave a terminal on ready on stdio — that means the server is waiting for an MCP client. Configure the client; it starts the process.

Workspace resolution

  • --workspace <path> (or -w, or first positional)
  • PRISM_WORKSPACE
  • MCP roots/list from the client (the folder you are chatting in)
  • Host WORKSPACE_FOLDER_PATHS (Cursor / VS Code open folders)
  • Nearest ancestor of cwd with .git
  • Git root from VSCODE_CWD / INIT_CWD
  • Process cwd

How to talk to the agent

You sayAgent should call
“What is this repo?” / “Orient me”repository_dna, landmarks / overview
“Is this codebase healthy?”repository_health
“What breaks if I edit src/…?”prepare_change / work_order, then blast_radius, test_impact
“Can I delete this?”safe_delete
“Review my changes”review_changes (omit paths to auto-discover)
“What changed?”changed_paths
“Is the index ready?”workspace_status
“Can Prism do X?”capabilities
“Start my day”start_my_day
Any request to change code (“fix the news tab highlighting”)start_job
The same request plus “do it now” / “right here”no job — inline edit
“Prism init” / set up jobsinit
“Prism sleep” / put Prism to sleepsleep
“Prism wake” / wake upwake
“Prism use …”use_skill
“Where are we?”list_jobs
“What is it doing?” / “show me the logs”job_logs
“Remember this”remember
“Configure Dispatch”configure

Optional MCP prompts (picker / slash in some clients): orient, before_edit, review_diff, start_my_day, start_work, where_are_we, connect, configure, init, sleep, wake.

Say prism init to set up local workers. The worker matches your host: Cursor signs in via a browser page; Claude Code reuses the claude CLI sign-in. Do not paste CURSOR_API_KEY into mcp.json — it is only an optional CI override. Dispatch docs: see the public Dispatch guide.

MCP resources (for clients that bind context): prism://dna, prism://landmarks, prism://health.

CI vs MCP

SurfaceUse it for
CLI (@repo-prism/cli)Gates and scripts — exit codes, JSON for CI jobs, prism health, prism review, thresholds that fail a build
MCP (this package)Interactive agent queries — orient, blast radius, review a working tree, explore symbols while chatting

Do not drive CI pass/fail from MCP tool calls. Agents are non-deterministic about which tools they pick; the CLI is the stable gate. Install both when you want agents in the IDE and the same engine in pipelines.

Install globally (optional)

npm install -g @repo-prism/mcp-server
# then use "command": "prism-mcp" instead of npx in configs

MCP Registry

Manifest prepared for owner submission: server.json · REGISTRY.md · copy-paste config mcp-install.json.

Tools

Intelligence tools are read-only. Dispatch tools write state under ~/.prism/workspaces/<key>/dispatch/. Dispatch makes no network calls and holds no third-party credentials — connectors belong to the agent window (ADR-0049).

Dispatch

ToolAnswersArguments
start_my_dayStandup: jobs, git, connected drivers, connect CTAs—
initOne-time worker sign-in (Cursor browser login; Claude CLI check)—
sleepPark the Console and hold queued jobs until wakeconfirm
wakeBring the Console back and start queued jobsconfirm
use_skillLoad a Prism skill (prism use <name>)name
start_jobStart a named teammate in its own worktree; returns immediatelytitle, prd, jobId, branch, confirmOverlap
queue_findingFix one finding from a report tool; re-scans the report once checks pass instead of trusting job status (M-071)finding, instructions
list_jobsLive activity plus finished results (“where are we”); names the jobs board—
job_logsOne job's console: activity lines (subagent lines marked) plus the review awaiting youjobId, limit, since
job_controlpause / resume / cancel / attach_context / commit (checkout jobs)jobId, action, context
rememberSave, list, or forget memories for the next jobaction, text, scope, confirm
configureStandup settings or export a non-secret templateaction, Slack channels, maxJobs, ticketHost
dispatch_doctorWorker backend + sign-in, role, job cap—
working_setGet/patch a job's (or an inline session's) accumulated files, symbols, decisions, neighbors (M-073)action, jobId, files, symbols, decisions, neighbors

Orientation — what is this, and how is it laid out?

ToolAnswersArguments
repository_dnaLanguages, frameworks, package manager, architecture hints, test runners, ranked domains—
repository_healthOverall health 0-100 with the per-factor breakdown—
repository_mapStructural map at a zoom level: nodes, edges, regions (default zoom package)zoom, layers
repository_overviewThe dashboard snapshot: totals, coupling, regions, most connected, activityactivityDays
list_packagesPackages in a monorepo, with rootslimit
stack_profileFrameworks, runtimes and build tooling, with detection signalspackageId
landmarksEntrypoints, package roots and feature anchors — where to start readinglimit
explain_areaWhat a module or folder does: domains, degree, ownershippath
workspace_statusIndex readiness, freshness, git/cache presence, graph counts—
capabilitiesCore + consent-gated capabilities with availability reasons—

Graphs and navigation

ToolAnswersArguments
dependency_graphThe import graph, file-level or aggregated to packages (bounded)packageAggregation, resolveAliases, limit, summaryOnly
dependency_cyclesImport and re-export cyclespackageAggregation, limit
knowledge_graphSymbol declarations and the references between thempath or limit (required)
feature_graphInferred features and how they depend on each other (bounded)limit, summaryOnly
list_featuresInferred features with member files and confidencelimit
find_symbolExact-name symbol lookupname, path, kind, limit
search_symbolsSubstring/regex symbol search (hard max 50)pattern, regex, path, kind, limit
find_referencesWho actually calls or imports a symbolname, path, start, limit
dependency_routeHow one file or symbol reaches anotherfrom, to, maxAlternatives, maxHops

Impact — is this change safe?

ToolAnswersArguments
prepare_changePack, reuse, House Style, notes, and a work order for a task — never file bodiestask, budget
work_orderIn-scope, off-limits (generated/vendor), and needs-sign-off paths; optional path evaluates the advisory hook (M-076)task, path
blast_radiusWhat depends on this, and how risky is changing itkind, id, path, intent, limit
safe_deleteCan this be deleted? Blockers and files left orphanedkind, id, path
rename_impactEvery edit site a rename would touchkind, id, path, newName
test_impactWhich tests cover this change targetkind, id, path, limit
breaking_change_hintsDeprecated — included in blast_radiuskind, id, path
changed_pathsWorking-tree or base-ref changed pathsbase
guard_sessionRank the current dirty session by blast risk, flagged for duplicate/orphan/boundary (M-072)preExistingChanges
review_changesRolled-up review; omit paths to auto-discoverpaths?, base
agents_mdGenerate/verify the Living AGENTS.md — features, cycles, tests, owners; writes only ~/.prism, never the repo (M-073)action
list_findingsUnused exports, duplicate implementations, wrapper functions; excludes muted findings by default (M-074)limit, includeMuted

Reports

ToolAnswersArguments
engineering_healthHotspots, churn, complexity, ownership, knowledge decay, debt—
health_historyHealth over time, with provenance on each pointmaxPoints
explore_codeEverything about one file or symbol in one call (usages bounded)kind, path, name, start, limit
backend_reportEndpoints, auth, data layer, env, background jobspackageId
testing_reportTest structure, and coverage when artifacts are on disk—
security_reportLeft-shift security posture against local configuration—

Full reference: MCP tools.

CLI@repo-prism/cli — npm i -g @repo-prism/cli then prism health
IDEPrism
DocsMCP guide
Websiteprismhq.in
Sourcegithub.com/Shailesh200/prism

License

MIT

FAQs

Package last updated on 18 Sep 2026

Related posts