Skip to content

GH#14296: tighten MCP troubleshooting quick reference - #14740

Merged
marcusquinn merged 2 commits into
mainfrom
chore/GH-14296-mcp-troubleshooting
Mar 31, 2026
Merged

marcusquinn merged 2 commits into
mainfrom
chore/GH-14296-mcp-troubleshooting

Conversation

@marcusquinn

@marcusquinn marcusquinn commented Mar 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • move the dead-tool-schema warning into the quick-reference section so MCP startup failures are surfaced before the error table
  • tighten the MCP troubleshooting wording without dropping task references, commands, or version-specific guidance
  • register the simplified doc in .agents/configs/simplification-state.json so future simplification scans track the file and link back to PR GH#14296: tighten MCP troubleshooting quick reference #14740

Testing

  • bunx markdownlint-cli2 ".agents/aidevops/mcp-troubleshooting.md"
  • python3 -m json.tool ".agents/configs/simplification-state.json" >/dev/null
  • agent-review check: no concrete regressions found

Runtime Testing

  • self-assessed: low-risk documentation and metadata changes only

Closes #14296


aidevops.sh v3.5.514 plugin for OpenCode v1.3.9 with gpt-5.4 spent 20m on this as a headless worker.

@coderabbitai

coderabbitai Bot commented Mar 31, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • no-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 999de2a6-53ce-4746-b19c-069044ee2823

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/GH-14296-mcp-troubleshooting

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells

Tue Mar 31 08:09:37 UTC 2026: Code review monitoring started
Tue Mar 31 08:09:37 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 1

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 1
  • VULNERABILITIES: 0

Generated on: Tue Mar 31 08:09:39 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@marcusquinn marcusquinn added the origin:worker Created by headless/pulse worker session label Mar 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells

Tue Mar 31 08:11:14 UTC 2026: Code review monitoring started
Tue Mar 31 08:11:15 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 1

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 1
  • VULNERABILITIES: 0

Generated on: Tue Mar 31 08:11:17 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the MCP troubleshooting documentation by refining error causes, adding details on dead schemas, and reorganizing sections for better readability. It also updates the simplification state configuration to track these changes. The review feedback suggests improving consistency in capitalization, adding explicit warnings regarding retrying failed servers to prevent wasting context tokens, and ensuring the pull request number is correctly recorded in the state tracking file for better traceability.


- **Scripts**: `mcp-diagnose.sh check-all`, `tool-version-check.sh`
- **Common cause**: Version mismatch (outdated tool with changed MCP command)
- **Primary cause**: version mismatch (outdated tool, changed MCP command)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Capitalize "version" for consistency with the other bullet points in this section (e.g., "Scripts", "Config", "Dead schemas"). Per repository guidelines, important operational details should be formatted as bullet points for clarity.

Suggested change
- **Primary cause**: version mismatch (outdated tool, changed MCP command)
- **Primary cause**: Version mismatch (outdated tool, changed MCP command)
References
  1. For important operational details, format them as bullet points for clarity and readability.

| "Permission denied" | Missing credentials | Check `~/.config/aidevops/credentials.sh` |
| "Timeout" | Server not starting | Check Node.js version, run command manually |
| "unauthorized" | HTTP server instead of MCP | Use correct MCP command (not `serve`) |
- **Dead schemas (t1682)**: MCP tools can remain listed after startup failure; treat that server as unavailable for the session

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding "and do not retry it" to this summary. Per repository guidelines, provide the technical reason (wasting context tokens) and include a warning about the consequences of violating this rule. Also, clarify that MCPs are integrations and not part of the core agent identity.

Suggested change
- **Dead schemas (t1682)**: MCP tools can remain listed after startup failure; treat that server as unavailable for the session
- **Dead schemas (t1682)**: MCP tools can remain listed after startup failure; treat that server as unavailable for the session and do not retry it. Warning: Retrying consumes unnecessary context tokens for integrations that are not part of the core agent identity.
References
  1. For important operational details, format them as bullet points for clarity and readability.
  2. When documenting critical rules, include a warning about the consequences of violating the rule.
  3. When documenting restrictions, provide the technical reason behind them to improve understanding.
  4. When documenting agent identity, clarify that auxiliary tools (like MCPs) are integrations and not part of the core identity.

".agents/aidevops/mcp-troubleshooting.md": {
"hash": "53599e9a3e7d9799a065eb9bc1fe9df2e7dbd1d7",
"at": "2026-03-31T08:03:51Z",
"pr": 14740

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The pr field should be set to 14296 to match the pull request number from the title. Using null omits useful traceability data for the simplification state tracking.

Suggested change
"pr": 14740
"pr": 14296

@sonarqubecloud

Copy link
Copy Markdown

@marcusquinn
marcusquinn merged commit 8ed464f into main Mar 31, 2026
63 checks passed
@marcusquinn
marcusquinn deleted the chore/GH-14296-mcp-troubleshooting branch March 31, 2026 08:16
marcusquinn added a commit that referenced this pull request Apr 24, 2026
…e live ref (#20754)

Upstream issue anomalyco/opencode#14740 was auto-closed by stale bot on
2026-04-24 (60d inactivity, not maintainer rejection). PR #14741 remains
OPEN with all 9/9 CI green after the v1.2.11 Windows-test fix.

Changes:
- Status block now names PR #14741 as live tracking surface explicitly
- #14740 marked CLOSED-STALE 2026-04-24 with cause
- PR CI line refreshed from 6/8 (Windows flake) to 9/9 pass
- Added external interest signals (@ualtinok, @tspython)
- Added explicit re-file decision with reasoning and reversal conditions
- Timeline gains entry 6 for the stale-close event

Planning-only cleanup. t1305 stays [x] in TODO.md.

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

Labels

origin:worker Created by headless/pulse worker session

Projects

None yet

Development

Successfully merging this pull request may close these issues.

simplification: tighten agent doc MCP Troubleshooting Quick Reference (.agents/aidevops/mcp-troubleshooting.md, 90 lines)

1 participant