Skip to main content
Glama
mechanic-mcp
by lightward

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MECHANIC_REPO_URLNoURL of the mechanic repo
MECHANIC_DATA_PATHNoPath to the data directory (default: dist/data)
MECHANIC_DOCS_PATHNoPath to the mechanic-docs repository
MECHANIC_TASKS_PATHNoPath to the mechanic-tasks repository
MECHANIC_REPO_BRANCHNoBranch of the mechanic repo
MECHANIC_SYNC_INTERVALNoSync 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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 6 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

Six tools is well-scoped for a task/document search and retrieval server. Each tool covers a distinct operation without unnecessary redundancy.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues