vis-mcp
v3.1.0MCP (Model Context Protocol) server for @visulima/vis — exposes vis tooling to AI agents over stdio
MCP (Model Context Protocol) server for @visulima/vis — exposes vis tooling to AI agents over stdio [![typescript-image][typescript-badge]][typescript-url] [![mit licence][license-badge]][license] [![npm downloads][npm-downloads-badge]][npm-downloads] [![Chat][chat-badge]][chat] [![PRs Welcome][prs-welcome-badge]][prs-welcome] Daniel Bannert's open source work is supported by the community on GitHub Sponsors
Summary extracted from the README.
Install
npm install @visulima/vis-mcp
yarn add @visulima/vis-mcp
pnpm add @visulima/vis-mcp
Usage
@visulima/vis-mcp is an MCP (Model Context Protocol) server that exposes a read-only view of your @visulima/vis workspace to an LLM agent over stdio. It assumes @visulima/vis is installed in the workspace it operates against.
Run
npx @visulima/vis-mcp
The server speaks JSON-RPC on stdout and writes status to stderr. Wire it into any MCP-aware client (Claude Desktop, Cursor, Continue, etc.) by pointing the client at the vis-mcp command.
Claude Desktop config
Add the server to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"vis": {
"command": "npx",
"args": ["-y", "@visulima/vis-mcp"],
"env": {
"VIS_MCP_WORKSPACE_ROOT": "/absolute/path/to/your/workspace"
}
}
}
}
Environment
VIS_MCP_WORKSPACE_ROOT— workspace to operate against. Defaults toprocess.cwd().VIS_MCP_VIS_BIN— explicit path to thevisCLI. Defaults to resolving@visulima/visfrom the workspace'snode_modules.
Tools
All tools are read-only (each is annotated readOnlyHint: true). The agent prepares commands; a human runs anything that writes. The lint and fmt tools always run in check-only mode and never apply fixes — invoke vis lint --fix / vis fmt directly for that.
| Tool | What it does |
|---|---|
list_projects |
List all workspace projects, optionally filtered by a vis query string. |
describe_project |
Return full metadata for one project (language, layer, stack, targets). |
list_targets |
Flatten projects into per-target rows; optionally narrow to one project. |
list_templates |
List scaffolding templates discovered in the workspace, with source and one-line description. |
describe_template |
Return template metadata: description, default destination, and the variable schema for vis generate. |
get_run_logs |
Read a run summary from .vis/; optionally filter to one task. |
list_runs |
List recorded runs from .vis/runs/ (newest first) with status and task counts to discover run IDs. |
cache_why |
Diff a task's hash inputs against the previous run to explain a rotation. |
cache_hash |
Print the recorded hash and per-input hash details for a task. |
audit |
Audit installed packages for known vulnerabilities and supply-chain risk (vis audit). |
advisory_status |
Report local OSV advisory DB freshness (path, schema version, per-ecosystem counts, last sync). |
lint |
Run the vis lint orchestrator in check-only mode (vis lint --format json) and return { findings, runs }. |
fmt |
Run the vis fmt orchestrator in --check mode and return the files that would change. |
Tools backed by a typed CLI payload (audit, advisory_status, lint, fmt) also expose an outputSchema and return structuredContent, so MCP-aware clients can validate and render the result instead of re-parsing the JSON text block.
Related
@visulima/vis— the workspace CLI this server exposes. vis-mcp is a thin RPC overvissubcommands and does not duplicate vis logic.
Supported Node.js Versions
Libraries in this ecosystem make the best effort to track Node.js’ release schedule. Here’s a post on why we think this is important.
Contributing
If you would like to help take a look at the list of issues and check our Contributing guidelines.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Credits
Made with ❤️ at Anolilab
This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Anolilab is a Development and AI Studio. Contact us at hello@anolilab.com if you need any help with these technologies or just want to say hi!
License
The visulima vis-mcp is open-sourced software licensed under the MIT