MCPInstall
mcp-context-template logo

mcp-context-template

by currenjin 5 stars currenjin/mcp-context-template

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

READMEmain

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

ν™œμš© 사둀

  • μƒˆλ‘œμš΄ 개발자 μ˜¨λ³΄λ”© - μ½”λ“œ μŠ€νƒ€μΌκ³Ό νŒ¨ν„΄μ„ λΉ λ₯΄κ²Œ 이해
  • 반볡적인 μ½”λ“œ μž‘μ—… μžλ™ν™” - ν…ŒμŠ€νŠΈ μ½”λ“œ, λ³΄μΌλŸ¬ν”Œλ ˆμ΄νŠΈ 생성
  • μ½”λ“œ 리뷰 μžλ™ν™” - μΌκ΄€λœ κΈ°μ€€μœΌλ‘œ 리뷰 μ½”λ©˜νŠΈ 생성
  • λ¬Έμ„œν™” 지원 - μ½”λ“œλ² μ΄μŠ€ λ¬Έμ„œν™” μž‘μ—… 보쑰

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5