Skip to content

Document MCP dependencies and make them optional #15

Closed

Description

@admarble

Problem

Skills reference MCP tools without documenting that they're optional or what happens without them:

Current MCP References

MCP Skills Purpose
`mcp__chrome-devtools__*` test, loop, fullsolve, testgen Browser automation for UI testing
`mcp__context7__*` exec, fullsolve Library documentation lookup
`mcp__sequential-thinking__*` fullsolve Complex multi-step reasoning
`mcp__supabase__*` Multiple REMOVE - project-specific (see #12)

Issues

  1. No documentation about which MCPs are needed
  2. Skills fail silently or confusingly without MCPs
  3. No fallback behavior defined
  4. New users don't know to install these

Proposed Solution

1. Document in README

```markdown

Optional MCP Integrations

Sequant works without any MCPs, but these enhance functionality:

MCP Purpose Install
chrome-devtools Browser testing (/test) `npx ...`
context7 Library docs lookup `npx ...`
sequential-thinking Complex reasoning `npx ...`
```

2. Graceful Degradation

Skills should check if MCP tools exist and:

  • Skip MCP-dependent steps with a warning
  • Suggest installing the MCP
  • Provide manual alternatives

3. Update allowed-tools

Make MCP tools optional in skill definitions:
```yaml
allowed-tools:

  • Read
  • Bash

Optional MCPs (enhanced functionality if available)

  • mcp__chrome-devtools__* # For browser testing
    ```

Acceptance Criteria

Priority

Medium - improves new user experience

Activity

  1. admarble commented on Jan 7, 2026

    @admarble
    ContributorAuthor

    Progress Update: Commit 816f017 made MCP tools optional across all skill templates.

    • Removed hard requirements for mcp__supabase__* tools
    • Changed "Using MCP Tools" sections to "Using MCP Tools (Optional)"
    • Context7 and Sequential Thinking documented as optional enhancements
    • Skills now work without any MCP servers configured

    Remaining work:

    • Add MCP configuration section to CLAUDE.md template
    • Document recommended MCP servers in README
  2. added
    documentation
    on Jan 9, 2026
  3. admarble commented on Jan 10, 2026

    @admarble
    ContributorAuthor

    Implementation Plan

    Acceptance Criteria Checklist

    • AC-1: Document all optional MCPs in README

      • Verification: Manual review of README.md for MCP section
      • Test: New user can find MCP docs, understand purpose, and follow install instructions
    • AC-2: Add MCP check to sequant doctor

      • Verification: Unit tests + sequant doctor with/without MCPs configured
      • Test: Missing MCPs show as warnings (not failures) with install hints
    • AC-3: Update skills to handle missing MCPs gracefully

      • Verification: Manual test of /test, /exec without MCPs
      • Test: Skills warn about missing MCPs and suggest alternatives
    • AC-4: Provide install instructions for each MCP

      • Verification: Follow install instructions on fresh system
      • Test: MCPs install and function correctly
    • AC-5: Remove mcp__supabase references

      • Verification: grep -r "mcp__supabase" .claude/ returns no matches
      • Test: No supabase MCP references in codebase

    Implementation Phases

    Phase 1: README Documentation (AC-1, AC-4)

    1. Add "MCP Integration" section to README.md (after Features, ~line 88)
    2. Document each MCP with purpose and installation:
      • chrome-devtools — Browser automation for /test, /testgen
      • context7 — Library docs lookup for /exec
      • sequential-thinking — Complex reasoning for /fullsolve
    3. Link to official MCP server repositories

    Phase 2: Doctor MCP Check (AC-2)

    1. Add MCP detection to src/commands/doctor.ts
    2. Parse Claude Code config for MCP servers
    3. Show warnings (not failures) for missing optional MCPs
    4. Add unit tests

    Phase 3: Skill Graceful Degradation (AC-3)

    1. Add "MCP Availability" sections to skill templates
    2. Document manual alternatives for each MCP-dependent feature
    3. Focus on /test (browser testing) and /exec (context7)

    Phase 4: Supabase Cleanup (AC-5)

    1. Verify and remove any remaining mcp__supabase references
    2. Cross-check with Clean up matcha maps remnants (Supabase, dead code) #12 status

    Conflict Analysis

    • Worktree already exists (no changes yet)
    • Prior work (commit 816f017) made MCPs optional in skill templates
    • Potential overlap with Doctor: Add Claude Code CLI check #3 (doctor CLI check) — AC-2 is additive, should not conflict

    Open Questions

    1. MCP config detection — Recommend checking ~/.claude/config.json
    2. Warning vs Info level — Recommend warnings (consistent with jq)
    3. Install commands — Will link to official MCP repos rather than hardcode commands

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: disabled
    Reasoning: Documentation-heavy with straightforward TypeScript changes. No UI components requiring browser testing.

  4. added a commit that references this issue on Jan 10, 2026
  5. admarble commented on Jan 10, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #15
    Status: READY_FOR_MERGE

    Summary

    Acceptance Criteria

    AC Status Notes
    Document optional MCPs in README ✅ MET Added table with 3 MCPs
    Add MCP check to sequant doctor ✅ MET Check 12 - shows configured vs missing
    Update skills for graceful degradation ✅ MET test skill has manual fallback
    Provide install instructions ✅ MET Install links in README table
    Remove mcp__supabase references ⏳ DEFERRED Covered by #12 (still open)

    Changes Made

    • README.md: "Optional MCP Integrations" section (+17 lines)
    • src/commands/doctor.ts: MCP check logic (+37 lines)
    • src/lib/system.ts: MCP server info and detection (+92 lines)
    • src/commands/doctor.test.ts: 6 new MCP tests (+96 lines)
    • .claude/skills/test/SKILL.md: Manual testing fallback (+40 lines)

    Quality Metrics

    • No new any types
    • No deleted test files
    • Scope: 5 files, 282 additions

    PR: #56


    Ready for human review and merge.

  6. admarble commented on Jan 10, 2026

    @admarble
    ContributorAuthor

    Documentation Generated

    File: docs/mcp-integrations.md

    Sections Included:

    • Quick Start - Overview of optional MCP support
    • Supported MCPs - Table of 3 MCPs with skills they enhance
    • Checking MCP Status - How to use sequant doctor
    • Installation - Step-by-step for each MCP
    • Behavior Without MCPs - Fallback behavior table
    • Troubleshooting - Common issues and solutions

    Key Content:

    • Chrome DevTools → browser testing automation
    • Context7 → library documentation lookup
    • Sequential Thinking → complex reasoning
    • Config file locations for all platforms
    • Graceful degradation when MCPs missing

    Next Steps:

    1. Review generated documentation for accuracy
    2. Commit and push to main
    3. Link from README if desired

    📄 Documentation complete!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions