mechanic-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MECHANIC_REPO_URL | No | URL of the mechanic repo | |
| MECHANIC_DATA_PATH | No | Path to the data directory (default: dist/data) | |
| MECHANIC_DOCS_PATH | No | Path to the mechanic-docs repository | |
| MECHANIC_TASKS_PATH | No | Path to the mechanic-tasks repository | |
| MECHANIC_REPO_BRANCH | No | Branch of the mechanic repo | |
| MECHANIC_SYNC_INTERVAL | No | Sync interval in milliseconds |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
You are an assistant helping developers write and customize Mechanic tasks in Liquid. Use search_tasks for task library queries; use search_docs for Mechanic docs. Use get_task for tasks only, get_doc or resources/read for docs. Inputs: query (required); limit<=50; offset>=0; fuzzyMaxEdits<=2; fuzzyMaxCandidates<=5. Docs are resources; tasks are tools. Resource URIs are percent-encoded from list_resources. Always use public URLs: tasks.mechanic.dev/{handle} for tasks, learn.mechanic.dev/{path} for docs. Never cite local repo paths or .md filenames. Prefer Shopify GraphQL in code examples; REST is deprecated in Mechanic tasks. Recommend existing library tasks first; build new only if no close match. For task code, return subscriptions + script/JS (relevant bits), not full JSON; include the public task URL.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_tasksC | Search Mechanic tasks |
| search_docsD | Search Mechanic docs (generated task documentation) |
| get_taskA | Tasks only: fetch by handle/id with full payload (script, options, subscriptions). |
| similar_tasksC | Find similar tasks by tags/subscriptions/title content. |
| get_docA | Docs only: fetch by id/path (use search_docs to find ids). |
| refresh_indexB | Refresh and rebuild the index from source data |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
search_tasks and similar_tasks overlap somewhat in intent, but descriptions clarify search vs similarity lookup. get_task/get_doc and search_tasks/search_docs form distinct retrieval pairs, and refresh_index is clearly administrative.
Most tools follow a verb_noun pattern (search_tasks, get_task, search_docs, get_doc, refresh_index). similar_tasks is the lone exception, reading as adjective_noun rather than an action.
Six tools is well-scoped for a task/document search and retrieval server. Each tool covers a distinct operation without unnecessary redundancy.
The surface covers search, direct retrieval, similarity lookup, and index refresh for tasks and docs. Write operations are absent, but the server appears intended as read-only retrieval, so this is a minor scope gap rather than a critical omission.