This repository contains the official collection of context templates for the Detailer MCP, an AI-powered co-pilot for developers. These templates provide reusable prompts, configurations, and workflows to accelerate development tasks.
Context templates are structured files (YAML or Markdown) that define specific instructions and context for the Detailer MCP. They are designed to help with a variety of tasks, from enforcing coding standards to automating common workflows like generating pull request descriptions.
The templates in this repository are accessed through the Detailer MCP using a set of powerful tools:
Discover all available templates. You can see their names, descriptions, and types. This helps you find the right template for your task.
Download a template's raw content directly into your workspace. This is useful when you want to view or customize a template to fit your specific needs.
Execute a template directly and receive immediate, context-aware output. Instead of just getting the template file, do_template processes it and provides you with the generated result, such as a feature plan or a list of best practices.
You can access context templates directly via MCP (Model Context Protocol) using the public token. This allows you to use templates across different AI development platforms without needing to clone this repository.
dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6
MCP Server URL: https://detailer-api.supabase.co/functions/v1/mcp
Choose your platform to see the configuration instructions:
⚡ Kiro (One-Click Install)
Click the button below for instant installation:
This will open a page that redirects to Kiro and prompts you to install the context-templates MCP server automatically.
🎯 Cursor IDE
- Open Cursor IDE
- Click the Settings/Cog icon (⚙️) in the top-right corner
- Select "MCP" from the sidebar
- Click "Add new global MCP server"
- This will open your
mcp.jsonconfiguration file - Add the configuration below
Directly edit your Cursor MCP settings file at the following location:
macOS/Linux: ~/.cursor/mcp.json
Windows: %USERPROFILE%\.cursor\mcp.json
Add the following configuration:
{
"mcpServers": {
"context-templates": {
"command": "npx",
"args": [
"mcp-remote",
"https://detailer-api.supabase.co/functions/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}",
"--allow-http"
],
"env": {
"AUTH_HEADER": "Bearer dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6"
}
}
}
}After configuration:
- Save the file
- Restart Cursor IDE completely to load the new MCP server
- The MCP server indicator should appear in the Cursor interface
🌊 Windsurf IDE
- Open Windsurf IDE
- Press
Cmd/Ctrl + ,to open Windsurf Settings - Scroll down to the Cascade section
- Find "Plugins (MCP servers)" or "Model Context Protocol (MCP) Servers"
- Click "Manage Plugins"
- Click "View raw config" or "Add custom server"
- Add the configuration below
- Click the Refresh button after saving
Directly edit your Windsurf MCP configuration file at the following location:
macOS: ~/.codeium/windsurf/mcp_config.json
Windows: %APPDATA%\Codeium\Windsurf\mcp_config.json
Linux: ~/.config/Codeium/Windsurf/mcp_config.json or ~/.codeium/windsurf/mcp_config.json
Add the following configuration:
{
"mcpServers": {
"context-templates": {
"command": "npx",
"args": [
"mcp-remote",
"https://detailer-api.supabase.co/functions/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}",
"--allow-http"
],
"env": {
"AUTH_HEADER": "Bearer dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6"
}
}
}
}After configuration:
- Save the file
- Click the Refresh button in the MCP settings panel
- Restart Windsurf IDE for changes to take full effect
🤖 Claude Desktop
Add the following configuration to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"context-templates": {
"command": "npx",
"args": [
"mcp-remote",
"https://detailer-api.supabase.co/functions/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}",
"--allow-http"
],
"env": {
"AUTH_HEADER": "Bearer dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6"
}
}
}
}After configuration:
- Save the file
- Completely quit Claude Desktop (not just close the window)
- Restart Claude Desktop to load the new MCP server
- You should see an MCP indicator in the bottom-right of the chat interface
🔧 Other MCP-Compatible Tools
For any other tool that supports MCP, use this standard configuration format:
{
"mcpServers": {
"context-templates": {
"command": "npx",
"args": [
"mcp-remote",
"https://detailer-api.supabase.co/functions/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}",
"--allow-http"
],
"env": {
"AUTH_HEADER": "Bearer dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6"
}
}
}
}Consult your tool's documentation for the specific configuration file location and format requirements.
Important Notes:
- After adding the configuration, restart your IDE completely (quit and reopen) for the changes to take effect
- For Cursor and Windsurf, you may need to reload or refresh the MCP servers panel after the first configuration
- Ensure you have Node.js installed on your system (required for
npxcommand) - If you encounter issues, check that the configuration file syntax is valid JSON
This repository is organized into three main categories of templates:
rules: Define coding standards, best practices, and style guides for various languages and frameworks (e.g., React, Python, TypeScript).shortcuts: Provide quick actions and generators for common development tasks, like creating feature plans or generating PR descriptions.workflows: Contain multi-step processes and guides for more complex development scenarios.
The templates are organized into directories based on their type:
templates/
├── rules/
│ └── cursor/
│ ├── react.yml
│ └── python.yml
├── shortcuts/
│ ├── pr_description_generation.yml
│ └── task_planning_and_feature_development.yml
└── workflows/
└── example-workflow.yml
We welcome contributions! If you have a template that could benefit other developers, please feel free to open a pull request. (Contribution guidelines coming soon).
A portion of the rules available in templates/rules/cursor are adapted from the collection at awesome-cursorrules by PatrickJS. We are grateful for their contributions to the community.