Assistant Setup
mdt’s official assistant profiles are intentionally lightweight: they provide ready-to-copy MCP configuration snippets and repo-local guidance, not a marketplace or plugin registry.
Recommended workflow
- Run
mdt assist <assistant>to print an official setup profile. - Copy the MCP snippet into your assistant’s configuration.
- Add the suggested repo-local guidance to your project instructions.
- Let the assistant inspect and synchronize docs through
mdt mcp.
Example
mdt assist claude
This prints:
- an MCP server configuration snippet that runs
mdt mcp - repo-local guidance such as reusing sources before creating new ones
- assistant-specific notes for the selected profile
Why this approach
The goal is to reduce setup friction without inventing a new extension ecosystem.
The first official profiles focus on:
- portable MCP configuration — the same
mdt mcpserver can be reused across assistants - repo-local guidance — your assistant should follow the same mdt workflow every time
- human-controlled adoption — you can copy, review, and customize the generated setup before using it
Repo-local guidance to keep
Regardless of assistant, keep guidance like this close to your project instructions:
- Prefer reuse before creation: run
mdt_find_reuseormdt_listbefore introducing a new source block. - Use
.templates/as the canonical template location. - Use
mdt_previewto inspect source and target output before syncing changes. - Run
mdt_checkafter documentation edits andmdt_updatewhen target blocks are stale.
Agent skill package
For Pi users, install the official mdt skill package to give your agent full knowledge of template syntax, MCP tools, CLI workflows, and configuration:
pi install npm:@m-d-t/skills
Or try it for a single session:
pi -e npm:@m-d-t/skills
The skill package teaches agents how to create and manage provider/consumer blocks, apply transformers for source-file doc comments, use MCP tools with best practices, and configure mdt.toml.
For project-level adoption, add it to .pi/settings.json so every contributor gets the skill automatically:
{
"packages": ["npm:@m-d-t/skills"]
}
Supported first-slice profiles
genericclaudecursorcopilotpi
As the project evolves, these profiles can grow into richer setup helpers, but the initial focus is pragmatic: make assistant setup reproducible and easy to adopt.