How to use these prompts
The pages in this section are prompts you can copy and paste into your AI coding assistant to get correct, idiomatic mcify code on the first try. Each one assumes the assistant has access to these docs (via llms-full.txt) and your local repo.
Two ways to use them
Option 1: paste into a chat (Claude.ai / ChatGPT / Cursor agent)
Open the prompt page, click the copy button on the prompt block, paste into your assistant. The prompt starts with a context-setting block that points at our llms-full.txt, so the model can pull all the framework docs into its context before doing the work.
Option 2: drop into Claude Code / Cursor as a slash command
Each prompt has a frontmatter block at the top you can save as a project-level slash command:
# Claude Code — pulls the raw markdown from the repomkdir -p .claude/commandscurl -L -o .claude/commands/add-mcp-tool.md \ https://raw.githubusercontent.com/Lelemon-studio/mcify/main/apps/docs/src/content/docs/prompts/add-tool.md
# Cursor — same idea, drop in .cursor/rules/Then /add-mcp-tool in Claude Code triggers the prompt with the rest of your conversation as input.
Why this works
mcify ships three things specifically for this loop:
docs.mcify.dev/llms-full.txt— every page of these docs in one markdown file. Models can read it in one fetch.AGENTS.md— everymcify initscaffold ships with one. Claude Code, Cursor, Cody, Windsurf, and Copilot Workspace all read it automatically.- Slash commands in templates —
from-scratchandfrom-zodtemplates include.claude/commands/add-tool.mdso the slash command works out of the box.
Available prompts
| Prompt | What it does |
|---|---|
| Bootstrap from zero | One prompt that runs mcify init, installs deps, sets up auth, adds your first tool, runs a test, and starts the dev server. You never open a terminal. |
| Add a tool | You already have a project. Tell the assistant what API call to expose. It scaffolds the tool with the right schemas, middleware, and tests. |
| Wrap an existing API | Point at an OpenAPI spec or a few endpoints. The assistant generates a full mcify connector with multiple tools, client, tests, README. |
| Debug a misbehaving tool | Paste the error or the agent transcript. The assistant locates the bug (schema mismatch, auth, timeout, side effect). |
| Migrate to multi-spec | You already have one MCP server. The assistant adds N microservices behind it via generate from-openapi. |
Building your own
Every prompt in this section starts with the same three-block structure:
You are helping a developer build an MCP server with mcify.
Read these docs first to ground your knowledge:
- https://docs.mcify.dev/llms-full.txt
Project context:[the developer's repo state here, if relevant]
Task:[what the developer wants done]
Conventions:
- TypeScript strict, ES modules, Node ≥ 20.- Zod schemas for inputs and outputs (defineTool).- requireAuth + rateLimit + withTimeout middleware on every tool.- Snake-case, service-prefixed tool names.- Per-field .describe() on every input.- See https://docs.mcify.dev/guides/antipatterns/ for what to avoid.Reuse that scaffold; swap in the task. The “Read these docs first” line is the load-bearing one — without it, the model relies on stale training data.