MCP Configuration Skill
Configure and resolve MCP (Model Context Protocol) tool integrations.
Core Rule for GitHub Tracking
For GitHub planning/tracking operations, prefer gh CLI first for token efficiency.
Use GitHub MCP (mcp__github__*) only when:
ghCLI is unavailable or not authenticated- an MCP-only workflow is explicitly required
- brokered auth/routing through
mcp-proxyis required
When to Use
- Setting up MCP servers
- Resolving MCP tool availability
- Configuring fallbacks for MCP features
- Troubleshooting MCP connectivity
Tracking Config Contract
Read issue-tracking provider settings in this order:
.agent/tracking.config.json(project)${ICA_HOME}/tracking.config.json(global)$HOME/.codex/tracking.config.jsonor$HOME/.claude/tracking.config.json(fallback)
Recommended minimal schema:
{
"issue_tracking": {
"provider": "github",
"enabled": true,
"repo": "owner/repo",
"transport": "gh-cli-preferred",
"fallback": "file-based"
}
}
Supported providers:
githublinear(future)jira(future)file-based
MCP Integration Points
Memory Integration
{
"memory": {
"provider": "mcp__memory",
"enabled": false,
"fallback": "file-based"
}
}
Issue Tracking
{
"issue_tracking": {
"provider": "github",
"enabled": false,
"transport": "gh-cli-preferred",
"fallback": "file-based"
}
}
Documentation
{
"documentation": {
"provider": "file-based",
"enabled": true
}
}
Available MCP Tools
Context7
mcp__Context7__resolve-library-id- Find library documentationmcp__Context7__query-docs- Query library documentation
GitHub
mcp__github__*- GitHub API operations
MCP Proxy
proxy.list_servers- Discover configured upstreamsproxy.list_tools- Enumerate tools for a serverproxy.call- Call upstream tool with centralized auth
Brave Search
mcp__brave-search__brave_web_search- Web searchmcp__brave-search__brave_local_search- Local search
Memory
mcp__memory__*- Knowledge graph operations
Playwright
mcp__playwright__*- Browser automation
Sequential Thinking
mcp__sequential-thinking__sequentialthinking- Structured analysis
Fallback Configuration
When MCP tools are unavailable:
- Check if fallback is configured
- Use fallback provider
- Log degraded capability
- Continue with reduced functionality
MCP Resolution Process
- Check availability - Is the MCP server running?
- Verify configuration - Are credentials valid?
- Test connectivity - Can we reach the service?
- Prefer gh for GitHub - If provider is
github, checkgh auth status - Apply fallback - Use alternative if unavailable
GitHub-specific order:
- Try
ghCLI path (gh auth status, thengh issue ...,gh api ...) - If unavailable, try
mcp__github__*directly - If direct MCP is constrained, route via
mcp-proxy(proxy.call) - If all fail, fallback to
file-based
Configuration Location
MCP servers are configured for Claude Code in ~/.claude.json:
{
"mcpServers": {
"server-name": {
"command": "...",
"args": ["..."]
}
}
}
Proxy upstream definitions:
- Project:
.mcp.json - User/global:
${ICA_HOME}/mcp-servers.json
Troubleshooting
- Server not found: Check
~/.claude.jsonmcpServers - Connection failed: Verify server is running
- Auth error: Check credentials/tokens
- Timeout: Increase timeout or check network
- GitHub mode mismatch: confirm
transportandgh auth status
Converted and distributed by TomeVault — claim your Tome and manage your conversions.