MCP server

Run a Model Context Protocol server so AI assistants can discover and install Dashfy extensions.

dashfy mcp runs a Model Context Protocol server over stdio so AI assistants (Cursor, Claude, VS Code, Codex, OpenCode) can discover and install Dashfy extensions. Tool output is plain text, and the server uses stdout for the protocol only — it never logs to stdout.

Tools

ToolDescription
get_project_registriesList the registries configured for the project (plus built-in @dashfy).
list_items_in_registriesList extensions across registries (filter by types, paginate).
search_items_in_registriesFuzzy-search extensions by text query (ranked, paginated; runner-aware command).
view_items_in_registriesFull details for one or more extensions (deps, env vars, setup).
get_docs_for_itemsSetup-oriented docs (env, setup, starter blocks, runner-aware install command).
get_add_command_for_itemsThe add command (and variants), prefixed with the project's package runner.
get_audit_checklistProject-aware post-install checklist (env vars, server setup, starters).

Configure a client

dashfy mcp init writes the client configuration that points to npx dashfy@latest mcp. With no --client, it prompts you to select one or more.

pnpm dlx dashfy@latest mcp init --client cursor
ClientFile writtenNotes
Cursor.cursor/mcp.jsonmcpServers.dashfy
Claude.mcp.jsonmcpServers.dashfy
VS Code.vscode/mcp.jsonservers.dashfy
OpenCodeopencode.jsonmcp.dashfy (local)
Codexnoneprints TOML for ~/.codex/config.toml

Existing config files are preserved; only the dashfy server entry is merged in.

Pin the CLI version

Pass --install to install dashfy as an exact devDependency (using your detected package manager) and point the MCP config at the local binary (npx dashfy mcp) instead of npx dashfy@latest mcp. This is useful for monorepos and teams that want a locked CLI version.

pnpm dlx dashfy@latest mcp init --client cursor --install
FlagDescription
-c, --cwd <cwd>Working directory (on the mcp command).
--client <client>cursor, claude, vscode, codex, or opencode.
--installInstall dashfy as a pinned devDependency and use it.
Loading Dashfy...