本文へ移動
cccskills
無料GitHub で公開

mcp

Use when working with MCP (Model Context Protocol) servers — their tools, capabilities, and best practices for effective agent workflows.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md9.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MCP Skill

When to use

Use this skill when:

  • Deciding which MCP tool to use for a task
  • Combining multiple MCP tools in a workflow
  • Troubleshooting MCP tool errors or unexpected results
  • Building commands or skills that reference MCP tools

Procedure: Use MCP tools

  1. Inspect available MCP servers — List configured servers (Sentry, Jira, GitHub, Playwright, Context7, Sequential Thinking) and confirm credentials/permissions for the task.
  2. Pick the right tool per task — Match user intent to the server table below; prefer the most specific tool over generic search.
  3. Chain tools when needed — Apply the Combining tools in workflows patterns; capture intermediate IDs (org slug, project slug, ticket key) before deeper calls.
  4. Verify and handle errors — Apply Error handling and Permission boundaries; confirm the result answers the original question before moving on.

Sentry (augment-partner-remote-mcp-sentry)

Error tracking and performance monitoring.

ToolPurposeWhen to use
find_organizationsFind org slugFirst call — needed for all other Sentry tools
find_projectsFind project slugWhen filtering by project
find_teamsFind team slug/IDTeam-based queries
find_releasesRecent releasesCheck deploy timing, release versions
get_issue_detailsFull issue: stacktrace, tagsInvestigating a specific error
get_issue_tag_valuesDistribution by tagAnalyzing who/what is affected
get_trace_detailsTrace overviewPerformance investigation
get_event_attachmentDownload attachmentsScreenshots, logs on events
search_issuesList issues by criteria"Show me unresolved errors"
search_eventsCount/aggregate events"How many errors today?"
search_issue_eventsFilter events in an issue"Events from last hour"
analyze_issue_with_seerAI root cause analysisWhen stacktrace alone isn't enough

Key pattern: Always get org slug first → then use other tools. See: sentry-integration skill for investigation workflow.

Jira (jira-integration)

Issue tracking and project management.

ToolPurposeWhen to use
GET /search/jqlSearch with JQLFind tickets by criteria
GET /issue/{key}Read ticket detailsGet context for a task
POST /issueCreate ticketNew bugs, tasks, stories
PUT /issue/{key}Update ticketChange fields, assignee
GET /issue/{key}/transitionsAvailable status changesBefore transitioning
POST /issue/{key}/transitionsChange ticket statusMove to "In Progress", etc.
POST /issue/{key}/commentAdd commentProgress updates, analysis
GET /projectList projectsFind project key
GET /fieldList available fieldsBefore writing JQL

Key pattern: Check fields (GET /field) before writing JQL. Check transitions before changing status. See: jira-integration skill for JQL patterns and ADF format.

GitHub (github-api)

Repository, PR, and CI management.

ToolPurposeWhen to use
GET /repos/{o}/{r}/pullsList PRsFind open PRs for branch
POST /repos/{o}/{r}/pullsCreate PROpen a new pull request
GET /repos/{o}/{r}/pulls/{n}/filesPR changed filesReview what changed
GET /repos/{o}/{r}/issuesList issues/PRsSearch by label, assignee
GET /search/issuesSearch issues/PRsComplex queries with q=
GET /repos/{o}/{r}/actions/runsCI runsCheck build status
GET /repos/{o}/{r}/actions/jobs/{id}CI job detailsRead failure logs
GET /repos/{o}/{r}/commits/{sha}/check-runsCheck runsDetailed CI status
GET /repos/{o}/{r}/commits/{sha}/statusCommit statusQuick pass/fail check

Key pattern: Use head=org:branch to filter PRs by branch. Use q=is:pr or q=is:issue to separate. See: git-workflow and code-review skills.

Browser / Playwright (Playwright)

Web interaction and testing.

ToolPurposeWhen to use
browser_navigateOpen URLLoad a page
browser_snapshotAccessibility snapshotRead page content (better than screenshot)
browser_clickClick elementInteract with UI
browser_typeType textFill forms
browser_evaluateRun JavaScriptExtract data, manipulate DOM
browser_take_screenshotVisual captureDocument UI state
browser_network_requestsNetwork logDebug API calls

Key pattern: Use browser_snapshot over screenshots — it returns structured data the agent can act on.

Context7 (Context_7)

Library documentation lookup.

ToolPurposeWhen to use
resolve-library-idFind library IDFirst — before querying docs
query-docsQuery documentationGet up-to-date API docs and examples

Key pattern: Always resolve library ID first → then query. Max 3 calls per question. Use for: Laravel, React, Django, Tailwind, or any library docs.

Sequential Thinking (Sequential_thinking)

Structured problem-solving.

ToolPurposeWhen to use
sequentialthinkingStep-by-step reasoningComplex problems, planning, analysis

Use for: Breaking down complex tasks, planning before implementation, multi-step reasoning.

Best Practices

Tool selection

NeedTool
Error investigationSentry → get_issue_details
Ticket contextJira → GET /issue/{key}
CI failureGitHub → actions/runs + actions/jobs/{id}
Library docsContext7 → resolve-library-id + query-docs
Web scrapingPlaywright → navigate + snapshot
Complex planningSequential Thinking

Combining tools in workflows

Bug investigation:
  Jira (ticket context) + Sentry (stacktrace) + codebase-retrieval (code)

Feature planning:
  Jira (requirements) + codebase-retrieval (existing code) + Context7 (library docs)

CI fix:
  GitHub (failure logs) + codebase-retrieval (failing code) + launch-process (run locally)

PR creation:
  GitHub (create PR) + Jira (transition to "In Review")

Error handling

  • If an MCP tool returns an error, retry once with corrected parameters
  • If org/project slug is unknown, use find_organizations / find_projects first
  • Sentry and Jira tools need the correct org — don't guess, look it up
  • GitHub API has rate limits — batch related calls, avoid unnecessary requests

Permission boundaries

  • Read operations — always safe, use freely
  • Write operations — ask user permission first:
    • Creating Jira tickets or changing status
    • Creating GitHub PRs or pushing code
    • Posting comments on issues/PRs

Tool-tier ladder — most-specific first, no silent fall-through

Pick the most specific tool available for the job: a dedicated tool > a generic tool > a lowest-level/raw call. The ladder has an anti-fall-through rule:

  • A dedicated tool erroring is a signal to debug/report, never to silently retry the same job via a broader/slower tier. Silent degradation masks the real failure (the dedicated tool broke) behind a worse-but-working path.
  • The broader tier is for unavailability (the specific tool isn't present), not for error recovery (it's present but failed). Unavailable → step down a tier; errored → stop and surface.

This is tool-selection discipline. Delegation (when to hand work to a subagent at all) is subagent-orchestration's concern, not this ladder's — keep the boundary explicit.

Related

  • Skill: sentry-integration — Sentry-specific investigation patterns
  • Skill: jira-integration — Jira-specific JQL and ticket management
  • Skill: git-workflow — GitHub PR and branch conventions
  • Skill: copilot-config — GitHub Copilot integration
  • Rule: no-commit.md — permission boundaries for write operations

Output format

  1. MCP server configuration or tool integration code
  2. Tool capability mapping for the agent workflow

Gotcha

  • MCP servers are token-expensive — prefer CLI equivalents when available (see rtk-output-filtering skill).
  • Don't chain 5+ MCP tool calls when a single CLI command could do the same thing.
  • MCP server availability varies — always handle connection failures gracefully.
  • Sentry and Jira MCP provide unique capabilities — those are worth the token cost.

Do NOT

  • Do NOT call MCP tools without understanding their side effects.
  • Do NOT use MCP tools when simpler alternatives exist.

Auto-trigger keywords

  • MCP
  • Model Context Protocol
  • MCP server
  • MCP tools
  • agent tools

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する