@imqueue/mcp

A Model Context Protocol server for @imqueue. It lets AI coding agents (Claude Code, Cursor, VS Code, JetBrains, โฆ) search the @imqueue documentation, scaffold typed services & clients, and drive the imq CLI โ so they generate correct, idiomatic @imqueue code instead of guessing.
๐ Full documentation: imqueue.org/mcp โ per-client setup, complete tools reference, agent workflows and the safety model.
| Tool | What it does |
|---|
search_docs | Search the official docs (guides, tutorial, CLI manual, API reference, articles) and return the most relevant pages + URLs. |
get_doc | Fetch the full markdown of a doc page by URL. |
list_packages | List the main @imqueue packages with install commands. |
scaffold_service | Generate an IMQService subclass with @expose()d, JSDoc-typed methods + a bootstrap (offline, no CLI needed). |
scaffold_client | Show how to generate and use the fully-typed client for a service (offline). |
When the imq CLI is installed locally, these drive the real CLI:
| Tool | What it does |
|---|
cli_status | Detect imq and report its version. |
cli_install | Install @imqueue/cli globally (npm i -g @imqueue/cli) when it's missing. |
cli_help | imq <command> --help โ exact, version-accurate flags (no side effects). |
create_service | imq service create โ dry-run by default (writes nothing); pass apply: true to actually create the project. |
generate_client | imq client generate <Service> โ the real typed client (the service must be running). |
fleet | imq ctl <start|stop|restart|status> โ manage a directory of service repos. status is read-only. |
config | imq config <check|get|set|init> โ read/write CLI configuration (set for automation; init is interactive). |
logs | imq log โ dump current fleet logs (never follows; capped) or clean them. |
Calls run with stdin closed and a timeout, so a missing-flag prompt fails fast instead of hanging. If imq isn't installed, run cli_install or use the offline scaffold_* tools.
Docs are fetched live from imqueue.org's machine-readable feeds (/llms.txt, per-page โฆ/index.md mirrors), so the server never ships stale content. It only ever fetches imqueue.org.
Install
Requires Node.js โฅ 18. No build step for users โ run straight from npm:
Claude Code
claude mcp add imqueue -- npx -y @imqueue/mcp
Other clients (Cursor, Claude Desktop, JetBrains, Windsurf, Zed, โฆ)
Add to your MCP config (.cursor/mcp.json, claude_desktop_config.json, โฆ):
{
"mcpServers": {
"imqueue": {
"command": "npx",
"args": ["-y", "@imqueue/mcp"]
}
}
}
VS Code and Visual Studio use a top-level servers key with "type": "stdio" instead of mcpServers. See imqueue.org/mcp/installation for the exact config file path and snippet for every client.
Develop
npm install
npm run build
npm run dev
npm run smoke
Example
User: "Create an @imqueue user service with a getUser(id) method."
The agent calls scaffold_service({ name: "user", methods: [{ name: "getUser", params: [{ name: "id", type: "number" }], returns: "User" }] }) and gets a ready-to-paste UserService + bootstrap, then search_docs("run a service") / get_doc(...) to wire it up.
License
GPL-3.0 โ free and open source.
Commercial licensing
Need to use @imqueue/mcp in a closed-source product, or want commercial support? A commercial license is available โ see imqueue.com.
Full docs: imqueue.org/mcp. See SPEC.md for the design and registry-distribution plan.