Sponsored by Deepsite.site

MCP Context Template

Created By
currenjin8 months 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.
Serper MCP ServerA Serper MCP Server
Tavily Mcp
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbotโ„ข
WindsurfThe new purpose-built IDE to harness magic
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.
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.
Amap Maps้ซ˜ๅพทๅœฐๅ›พๅฎ˜ๆ–น 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"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map็™พๅบฆๅœฐๅ›พๆ ธๅฟƒAPI็Žฐๅทฒๅ…จ้ขๅ…ผๅฎนMCPๅ่ฎฎ๏ผŒๆ˜ฏๅ›ฝๅ†…้ฆ–ๅฎถๅ…ผๅฎนMCPๅ่ฎฎ็š„ๅœฐๅ›พๆœๅŠกๅ•†ใ€‚
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors