Sponsored by Deepsite.site

MCP Context Template

Created By
currenjina year ago
🪱 MCP Context Template is a repository designed to centrally manage AI tools (MCP) to reduce context sharing costs and improve development productivity.
Content

MCP Context Template

Introduction

MCP Context Template is a repository designed to centrally manage AI tools (MCP) to reduce context sharing costs and improve development productivity.

It serves as a central context repository that helps modern AI tools like Claude Code and Cursor AI consistently understand your company's codebase and development practices.

Purpose

  • Common context repository managed independently from individual projects
  • Providing reference document structure to improve collaboration efficiency with AI tools
  • Containing examples and guides that can be used by different teams and organizational layers
  • Providing consistent AI usage experience across projects
  • Reducing the burden of duplicate context management

Directory Structure

ai-context/
├── README.md
├── context/
│   ├── backend/
│   │   ├── domain-overview.md
│   │   ├── service-patterns.md
│   │   └── test-guidelines.md
│   ├── frontend/
│   │   ├── component-structure.md
│   │   └── naming-convention.md
│   ├── mobile/
│   │   └── network-layer.md
│   └── shared/
│       ├── business-terms.md
│       └── naming-style.md
├── prompts/
│   ├── refactoring.md
│   ├── test-generation.md
│   └── code-review.md
└── examples/
├── cursor-snippets.md
└── claude-usage.md

How to Use

1. Project Integration

  • Set ai-context/ as a context path in your project's .cloderc or Cursor settings
  • Explicitly reference guides in Claude Code prompts with "Please refer to the following guide: [path]"
  • Example: Request refactoring based on context/backend/service-patterns.md
Refactoring request:
Please refactor the following code according to the service patterns defined in context/backend/service-patterns.md.

[INSERT CODE]

2. Contribution Guidelines

  • Contribute via Pull Request
  • Write all convention documents in Markdown
  • Propose significant context structure changes as issues first for discussion
  • Write context concisely and clearly for easy AI understanding

3. Prompt Writing Examples

Example from prompts/test-generation.md:

## Purpose
Claude prompt example for automating service unit test generation

## Prompt
Please write unit test code for the following service class method:
- Test framework: JUnit5
- Mocking: MockK
- Use Given-When-Then format
- Target method:
```kotlin
fun getUserById(id: Long): User

Use Cases

  • New developer onboarding - quickly understand code styles and patterns
  • Automation of repetitive coding tasks - generating test code, boilerplate
  • Code review automation - generate review comments with consistent standards
  • Documentation support - assist in codebase documentation tasks

MCP Context Template(Korean)

소개

MCP Context Template은 AI 도구(MCP)를 "중앙 집중식"으로 관리하여 컨텍스트 공유 비용을 줄이고 개발 생산성을 높이기 위한 레포지토리입니다.

Claude Code, Cursor AI 등 최신 AI 도구들이 일관된 방식으로 회사의 코드베이스와 개발 관행을 이해할 수 있도록 돕는 중앙 컨텍스트 저장소로 기능합니다.

목적

  • 프로젝트와 독립적으로 관리되는 공통 컨텍스트 저장소
  • AI 도구와의 협업 효율을 높이기 위한 참고 문서 구조 제공
  • 팀별, 계층별로 활용 가능한 예시와 가이드 수록
  • 프로젝트 간 일관된 AI 사용 경험 제공
  • 중복 컨텍스트 관리 부담 감소

디렉토리 구조

ai-context/
├── README.md
├── context/
│   ├── backend/
│   │   ├── domain-overview.md
│   │   ├── service-patterns.md
│   │   └── test-guidelines.md
│   ├── frontend/
│   │   ├── component-structure.md
│   │   └── naming-convention.md
│   ├── mobile/
│   │   └── network-layer.md
│   └── shared/
│       ├── business-terms.md
│       └── naming-style.md
├── prompts/
│   ├── refactoring.md
│   ├── test-generation.md
│   └── code-review.md
└── examples/
    ├── cursor-snippets.md
    └── claude-usage.md

활용 방법

1. 프로젝트에서의 활용

  • 프로젝트 내 .cloderc 또는 Cursor 설정에서 ai-context/를 context path로 지정
  • Claude Code 프롬프트 작성 시 "다음 가이드를 참고해주세요: [경로]"와 같이 명시적으로 언급
  • 예시: context/backend/service-patterns.md에 기반한 리팩토링 요청
리팩토링 요청:
context/backend/service-patterns.md에 정의된 서비스 패턴에 따라 다음 코드를 리팩토링해 주세요.

[코드 삽입]

2. 문서 기여 가이드

  • Pull Request를 통해 기여
  • 모든 컨벤션 문서는 Markdown으로 작성
  • 큰 컨텍스트 구조 변경은 이슈로 먼저 제안 후 논의
  • 컨텍스트는 간결하고 명확하게 작성하여 AI가 이해하기 쉽게 구성

3. 프롬프트 작성 예시

prompts/test-generation.md 예시:

## 목적
서비스 단위 테스트 자동화를 위한 Claude용 프롬프트 예시

## 프롬프트
서비스 클래스의 메서드에 대해 단위 테스트 코드를 작성해주세요.
- 테스트 프레임워크: JUnit5
- 모킹: MockK
- Given-When-Then 형식 사용
- 테스트 대상 메서드:

```kotlin
fun getUserById(id: Long): User

활용 사례

  • 새로운 개발자 온보딩 - 코드 스타일과 패턴을 빠르게 이해
  • 반복적인 코드 작업 자동화 - 테스트 코드, 보일러플레이트 생성
  • 코드 리뷰 자동화 - 일관된 기준으로 리뷰 코멘트 생성
  • 문서화 지원 - 코드베이스 문서화 작업 보조

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Tavily Mcp
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。