OP

Open Source MCP Server Context Templates

Explore open-source MCP server context templates to structure prompts, configs, and workflows - contribute to expand and refine them.

Overview

Open Source MCP Server Context Templates is a curated collection of reusable context templates designed for MCP (Model Context Protocol) clients. These templates encode prompts, configuration snippets, and small workflows in YAML or Markdown so language-model-based developer tools can apply consistent behavior across repositories and IDEs. By exposing these templates via an MCP server, tools can list, fetch, and execute templates without requiring each user to clone the repository.

This approach is useful for teams and individual developers who want repeatable, auditable AI-assisted workflows—examples include standardized pull-request descriptions, code-review checklists, feature planning prompts, and coding-style enforcement. The repository is open-source and accepting contributions to expand and refine templates and workflows.

GitHub: https://github.com/ginylil/context-templates

Features

  • Centralized, versioned context templates (YAML/Markdown) for common developer tasks
  • Accessible over an MCP server so tools can integrate without cloning
  • Three main actions supported: discover available templates, retrieve raw templates, and run templates to get processed output
  • Platform configuration examples for Cursor, Windsurf, Claude Desktop, and One-Click install via Kiro
  • Public read-only token for immediate access and quick experimentation

Installation / Configuration

The MCP server endpoint and a public token are provided so MCP-compatible tools can connect easily.

MCP Server URL

https://detailer-api.supabase.co/functions/v1/mcp

Public (read-only) token

dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6

Example: integrate using the mcp-remote shim (used by many desktop clients)

npx mcp-remote https://detailer-api.supabase.co/functions/v1/mcp \
  --header "Authorization: Bearer dtl_public_eec1f1037008dc82ce9d314c3294fbcc0e3f5d5df315d8c6" \
  --allow-http

Cursor IDE (mcp.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"
      }
    }
  }
}

Windsurf / Codeium (mcp_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"
      }
    }
  }
}

Claude Desktop (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"
      }
    }
  }
}

One-click (Kiro)

  • Use the Add-to-Kiro link in the repo to install quickly: https://Ginylil.github.io/context-templates/add-to-kiro.html

Security note: The token above is provided for public, read-only access to the template server. Do not use it to proxy private data or secrets.

Available Tools / Resources

The MCP server exposes a small set of operations clients can call:

Tool / ActionDescription
list_templatesEnumerates templates, their types, and short descriptions
get_templateFetches the raw template file (YAML/Markdown) for inspection or customization
do_templateExecutes a template against provided context and returns generated output (e.g., PR description)

Repository resources:

  • Template files (YAML/Markdown) organized by purpose and type
  • Example configuration snippets for common IDEs
  • CONTRIBUTING guidelines on the GitHub project for adding or improving templates

Use Cases

  • Standardized Pull Request Descriptions

    • Use a PR template that extracts changed files, tests, and impact, then generates a consistent description and checklist for reviewers.
  • Automated Code Review Prompts

    • Run a template that highlights complexity hotspots, missed tests, or style violations and produces reviewer guidance.
  • Feature Planning and Breakdown

    • Execute a planning template that turns a high-level feature request into tasks, acceptance criteria, and rough estimates.
  • Onboarding Checks

    • Provide new-project templates that verify repository health (README, CI, license) and produce a remediation checklist.
  • Policy Enforcement

    • Use templates to apply project-specific rules (commit message format, dependency policies) and surface violations in PRs.

Concrete example (workflow)

  1. Developer selects “Generate PR Description” in their MCP-enabled IDE.
  2. The client calls do_template with the chosen template and a payload containing changed files and recent commits.
  3. The MCP server returns a formatted PR description which the developer can edit and paste into the PR.

Contributing and Next Steps

The project is open to contributions—add new templates, improve existing prompts, or provide mappings for additional IDEs. Visit the repository to file issues, submit pull requests, or view contribution guidance:

https://github.com/ginylil/context-templates

If you maintain an MCP-compatible tool, consider adding this server as an example integration or using the mcp-remote pattern to expose template-driven workflows to your users.