Writing a Recipe
Authoring checklist
Section titled “Authoring checklist”- Create
servers/<id>/recipe.json - Define at least one transport
- Define auth requirements and env vars
- Add install method for stdio transports
- Add metadata (
category,tags,maturity,toolExamples) - Validate with CLI before submit
npx @aiwerk/mcp-bridge validate-recipe ./recipe.jsonMigration from v1
Section titled “Migration from v1”npx @aiwerk/mcp-bridge migrate-recipe servers/todoist/config.jsonThis generates a v2 recipe.json. Legacy config.json remains supported during transition.
Security recommendations
Section titled “Security recommendations”- Never store credentials in recipe files
- Avoid
preInstall/postInstall; they are security-sensitive and warned by validators - Prefer explicit
auth.instructionsandcredentialsUrlfor user setup
For publishing behavior, see Catalog tools.