imqueue/mcp
š š - Search @imqueue docs and scaffold typed services & clients for AI coding agents, access CLI and manage your service fleet.
Quick Install
{
"mcpServers": {
"imqueue-mcp": {
"command": "npx",
"args": [
"-y",
"imqueue-mcp"
]
}
}
}Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.
Documentation Overview
@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.
Tools
| 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). |
CLI-backed tools (require @imqueue/cli on PATH)
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:
npx -y @imqueue/mcp
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
serverskey with"type": "stdio"instead ofmcpServers. See imqueue.org/mcp/installation for the exact config file path and snippet for every client.
Develop
npm install
npm run build # tsc -> dist/
npm run dev # run from source with tsx
npm run smoke # JSON-RPC handshake + tools/list + tool calls
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-pasteUserService+ bootstrap, thensearch_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.