원클릭으로
mcp-integration
Model Context Protocol (MCP) integration patterns for extending AI capabilities with external tools and data sources.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Model Context Protocol (MCP) integration patterns for extending AI capabilities with external tools and data sources.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Pull request lifecycle domain knowledge — branch strategy detection, PR size classification, confidence-scored review, git-aware context, PR analytics, dependency management, and split/merge/describe operations.
Production readiness audit domains, weighted scoring criteria, and check specifications for the /preflight workflow.
Application scaffolding orchestrator. Creates full-stack applications from requirements, selects tech stack, coordinates agents.
Production deployment workflows, rollback strategies, and CI/CD best practices.
Internationalization and localization patterns for multi-language applications
Mobile UI/UX patterns for iOS and Android. Touch-first, platform-respectful design with React Native/Expo focus.
| name | mcp-integration |
| description | Model Context Protocol (MCP) integration patterns for extending AI capabilities with external tools and data sources. |
| version | 1.0.0 |
| triggers | ["mcp","tool","server","protocol","integration","external"] |
Purpose: Guide the integration and effective use of Model Context Protocol (MCP) servers to extend AI agent capabilities with external tools, data sources, and services.
The Model Context Protocol (MCP) is an open standard that connects AI systems with external tools and data sources through a unified interface. MCP servers act as capability providers — each server exposes a set of tools that the AI can invoke to perform actions beyond its native abilities.
This skill ensures that MCP integrations follow Trust-Grade principles: secure, reliable, and properly governed.
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ AI Agent │────▶│ MCP Client │────▶│ MCP Server │
│ (LLM + Kit) │◀────│ (IDE/Runtime) │◀────│ (Tool Provider)│
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
┌────┴────┐
│ External │
│ Service │
└─────────┘
| Component | Role | Example |
|---|---|---|
| MCP Server | Exposes tools via protocol | GitHub MCP, GitKraken MCP, Database MCP |
| MCP Client | Connects AI to servers | VS Code extension, Cursor, IDE runtime |
| Tools | Individual capabilities | create_issue, git_commit, run_query |
| Resources | Data endpoints | File contents, database schemas, API docs |
| Prompts | Reusable templates | Code review template, deployment checklist |
When to use: Git operations that benefit from structured API access rather than raw CLI commands.
Available servers: GitKraken MCP, GitHub MCP
Preferred for:
- Creating branches, commits, PRs (structured data)
- Reading git status, blame, diff (parsed output)
- Managing issues and reviews (API access)
Still use CLI for:
- Complex git operations (rebase, cherry-pick)
- Local-only operations (stash, worktree)
- Performance-critical batch operations
When to use: Creating, updating, and querying issues across platforms.
GitHub MCP Server provides:
- issue_write (create/update issues)
- issue_read (get details, comments, labels)
- search_issues (query with GitHub syntax)
- list_issues (paginated browsing)
Best practices:
- Use search_* for targeted queries with criteria
- Use list_* for broad retrieval with pagination
- Batch reads in groups of 5-10 items
When to use: Finding code patterns across repositories.
GitHub MCP provides:
- search_code (cross-repo code search)
- get_file_contents (read specific files)
- get_commit (commit details with diff)
Usage guidance:
- Use search_code for finding symbols, functions, patterns
- Use get_file_contents for reading specific known files
- Combine with local grep_search for current workspace
When to use: Full PR lifecycle management.
Workflow:
1. create_branch → Create feature branch
2. push_files → Push code changes
3. create_pull_request → Open PR
4. request_copilot_review → Automated review
5. pull_request_read(get_status) → Check CI status
6. merge_pull_request → Merge when ready
Trust-Grade rules:
- Always create PR (never push directly to main)
- Always request review before merge
- Always check CI status before merge
| Operation Type | Risk Level | Verification Required |
|---|---|---|
| Read (list, get, search) | Low | None |
| Create (new issue, branch, file) | Medium | Confirm with user |
| Modify (update, edit) | Medium | Confirm with user |
| Delete (remove file, close issue) | High | Explicit user approval |
| Deploy (merge, publish) | Critical | Double confirmation |
| Task | Recommended Server | Why |
|---|---|---|
| Git operations (commit, branch, status) | GitKraken MCP | Richer git-specific tools |
| GitHub issues and PRs | GitHub MCP | Native GitHub API access |
| Code review and analysis | GitHub MCP | PR review tools |
| Repository management | GitHub MCP | Repo CRUD operations |
| Complex git workflows | GitKraken MCP | Worktree, stash, blame |
| Error | Cause | Resolution |
|---|---|---|
ENEEDAUTH | Token expired/missing | Re-authenticate via IDE settings |
403 Forbidden | Insufficient permissions | Check token scopes |
404 Not Found | Resource doesn't exist | Verify owner/repo/branch names |
422 Unprocessable | Invalid parameters | Check required fields and formats |
Rate Limited | Too many requests | Implement exponential backoff |
When an MCP server is unavailable:
MCP capabilities are registered in engine/loading-rules.json under domain rules:
{
"domain": "git-operations",
"keywords": ["git", "commit", "branch", "pr", "merge"],
"loadAgents": ["devops-engineer"],
"loadSkills": ["git-workflow", "mcp-integration"],
"mcpServers": ["GitKraken", "github-mcp-server"]
}
Log MCP operations in session context for continuity:
## MCP Operations This Session
- Created branch `feature/auth` via GitKraken MCP
- Opened PR #42 via GitHub MCP
- Requested Copilot review via GitHub MCP
MCP operations map to workflow phases:
| Phase | MCP Operations |
|---|---|
| EXPLORE | search_code, get_file_contents, list_issues |
| PLAN | issue_write (create tracking issue) |
| IMPLEMENT | create_branch, push_files |
| VERIFY | pull_request_read(get_status) |
| REVIEW | request_copilot_review, pull_request_review_write |
| DEPLOY | merge_pull_request |