Prism
Configures Prism for GitHub Copilot CLI via MCP and skill support, providing tools for web layout inspection and structural repository analysis.
Provides a universal Prism skill for Replit agents, enabling deterministic website inspection and repository intelligence within Replit.
Provides a universal Prism skill for Warp agents, enabling deterministic website inspection and repository intelligence within Warp.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Prism Audit the homepage layout for spacing and WCAG contrast issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Prism
Deterministic web layout inspection and structural repository intelligence engine for AI coding agents via Model Context Protocol (MCP).
Quickstart (One-Line Universal Installer)
Install Prism with an interactive agent & scope selector (Global vs Local Project):
curl -fsSL https://raw.githubusercontent.com/whysooraj/prism/main/install.sh | bashThe installer prompts you:
Scope Selection:
Global (system-wide:
~/.agents/skills/,~/.claude.json,~/.gemini/config/, etc.)Local Project (installs inside the current directory:
./.agents/skills/,./.cursor/mcp.json, etc.)Both
Agent Selection:
Auto-detects installed agents on your machine.
Lets you choose: [A] All detected agents, [E] All 70+ supported agents, or [C] Custom selection.
Non-Interactive / CI Flags
# Install globally for all detected agents non-interactively
curl -fsSL https://raw.githubusercontent.com/whysooraj/prism/main/install.sh | bash -s -- -g -y
# Install locally to current project only
curl -fsSL https://raw.githubusercontent.com/whysooraj/prism/main/install.sh | bash -s -- -l -yRelated MCP server: websight
The Problem
AI assistants fail at web design inspection and codebase analysis because they operate on low-signal approximations:
Websites: Assistants receive either uncomputed raw HTML (missing exact CSS computed values) or downscaled screenshots (where padding, alignment drift, WCAG contrast violations, and touch targets cannot be mathematically verified).
Repositories: Assistants either dump entire files into context (saturating tokens and inducing hallucinations) or rely on naive string grep (which lacks AST symbol understanding, caller/callee graphs, and route definitions).
Prism bridges this gap by providing deterministic, structured context:
Web: Exact CSS box model (
padding,margin,rect), computed typography & color tokens, WCAG contrast audit, 4/8pt spacing validation, and vector wireframe SVGs.Code: Ephemeral shallow repository acquisition, AST symbol parsing, caller/callee tracing, route mapping, and line-sliced retrieval.
Supported AI Agents & Ecosystem
Prism adheres to both the Model Context Protocol (MCP) and the open Agent Skills specification (agentskills.io pioneered by Vercel Labs), supporting 70+ developer agents:
Agent / Framework | Creator / Organization | Integration Type | Auto-Configured Path |
Antigravity ( | Google DeepMind | Native MCP + Skill |
|
OpenClaw | OpenClaw Community | MCP + Skill |
|
Hermes Agent | Nous Research | MCP + Skill |
|
Claude Code & Desktop | Anthropic | MCP + Skill |
|
Cursor | Anysphere | MCP + Skill |
|
OpenCode | OpenCode Project | Native MCP + Universal Skill |
|
Pi Agent | Inflection AI | MCP + Universal Skill |
|
Codex CLI | OpenAI | MCP + Universal Skill |
|
Cline & Roo Code | Roo / Cline Community | MCP + Universal Skill |
|
Devin for Terminal | Cognition AI | MCP + Skill |
|
Goose | Block | MCP + Skill |
|
Windsurf | Codeium | Native MCP |
|
OpenHands | All-Hands AI | Universal Skill |
|
Continue | Continue Dev | Universal Skill |
|
Universal Agents | Amp, Replit, Zed, Warp, Loaf, Kimi | Universal Skill |
|
Architecture
[ AI Assistant (agy / claude / cursor / opencode / pi / codex) ]
│
MCP (JSON-RPC via stdio / SSE)
│
▼
[ PRISM ENGINE ]
┌──────────────────┴──────────────────┐
▼ ▼
[ Web Pipeline ] [ Repo Pipeline ]
• Playwright Chromium Engine • Git Acquisition (--depth 1)
• Box Model & Layout Tree • AST Compiler (TS/JS/Py/Go/Rs)
• Design Token Extractor • Symbol Indexer & Call Graph
• WCAG Contrast Auditor • Route & Middleware Analyzer
• Deterministic Wireframe SVG • Surgical Line Slicer
• SSRF Safety Boundary • In-Memory Index CacheTools Reference
Tool | Parameters | Output | Description |
|
| JSON ( | Extracts layout tree, box model, design tokens, WCAG contrast score, and wireframe SVG |
|
| PNG Base64 (Desktop & Mobile) | Captures dual viewports (1440x900 and 390x844) |
|
| JSON ( | Fetches repo, extracts AST symbols, builds file tree and routes |
|
| JSON ( | Searches symbols and endpoints with AST relevance scoring |
|
| Formatted text with line numbers | Retrieves exact lines with line number prefix ( |
|
| JSON ( | Traces definitions, importers, and connected HTTP route handlers |
| None | JSON ( | Summarizes tech stack, key configs, entry points, and directory map |
Manual Configuration
If you prefer manual setup rather than the one-line installer:
git clone https://github.com/whysooraj/prism.git ~/.prism
cd ~/.prism
npm install
npm run buildThen add to your client's MCP configuration:
{
"mcpServers": {
"prism": {
"command": "node",
"args": ["/home/YOUR_USER/.prism/dist/index.js"]
}
}
}Verification & Testing
Prism comes with a native self-check suite verifying SSRF boundaries, Playwright DOM parsing, and AST symbol extraction:
npm testSecurity Model
SSRF Hardening: By default,
inspect_websiteintercepts and aborts requests to private IPv4/IPv6 subnets (127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.169.254,::1) and local hostnames (localhost,*.local,*.internal).Browser Sandboxing: Runs headless Chromium with isolated incognito contexts that terminate immediately upon evaluation completion.
Controlled Ingestion: Repositories are cloned shallowly with depth 1 into isolated user cache directories (
~/.cache/context-bridge/repos/) and never shared across unauthorized boundaries.
License
MIT
Available Tools
7 toolscapture_screenshotsD
Inputs: url (required), allowLocalhost.
explain_architectureD
Inputs: no named parameters.
get_fileD
Inputs: filePath (required), endLine, startLine.
index_repositoryD
Inputs: urlOrPath (required), branch, authToken.
inspect_websiteD
Inputs: url (required), viewport, includeA11y, allowLocalhost, +1 more.
search_codebaseD
Inputs: query (required), kind, limit.
trace_symbolD
Inputs: symbolName (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tool names are mostly self-explanatory and target distinct actions: file retrieval, symbol tracing, architecture explanation, website inspection, screenshot capture, repository indexing, and code search. However, the absence of descriptions leaves some ambiguity between trace_symbol and search_codebase, and between inspect_website and capture_screenshots.
All tool names follow a consistent snake_case verb_noun pattern: get_file, trace_symbol, explain_architecture, inspect_website, capture_screenshots, index_repository, search_codebase. There are no naming style deviations.
Seven tools is well within the typical 3–15 range and each tool appears to cover a distinct capability for codebase analysis and website inspection. The set is scoped enough to avoid redundancy while covering core workflows.
Core read-only operations for codebase exploration and website inspection are present, including indexing, search, file retrieval, symbol tracing, and architecture explanation. Minor gaps exist, such as no explicit directory listing or index status tool, but agents can likely work around these via search.
Maintenance
Related MCP Connectors
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Real HTML, styles, measurements and brand tokens from any live site, for coding agents.
Give agents eyes on any web page: structured context, and changes explained in plain language.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceGives AI coding assistants live, structured access to running apps' state and UI elements, enabling real-time verification and interaction across web, mobile, and desktop.36-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to see, analyze, and visually verify web page changes through pixel-perfect diffing, theme extraction, layout analysis, and interactive element detection.MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to see, measure, and verify web pages through a real Chrome browser, including screenshots, responsive layout and accessibility audits, pixel diffing against baselines, secure logins, and deployed-fix verification.271MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to inspect web pages deterministically as token-cheap visual geometry instead of pixel dumps, surfacing layout tooling for overlaps, overflow, WCAG contrast ratios, and quality scoring. Agents can pass HTML source or a live URL per call and receive byte-identical, actionable findings they can act on and re-verify.1MIT