fix-upstream SKILL.md skillA

fix-upstream from vishalhabib99/mcp-doctor is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add vishalhabib99/mcp-doctor/fix-upstream@git:20261017.231c22f

Pins git:20261017.231c22f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
vishalhabib99/mcp-doctor
Path
plugin/skills/fix-upstream/SKILL.md
Versions recorded
4
Latest version
git:20261017.231c22f, committed Oct 17, 2026
First version recorded
Oct 14, 2026
Size
8,081 bytes
Repository stars
3
License
MIT

Prepare a fix for a bug mcp-doctor finds in SOMEONE ELSE'S MCP server — a local clone of an open-source repo the user doesn't own — as a ready-to-review pull-request draft. It reproduces the bug with a failing test, applies one kind of fix, runs the repo's own tests, and writes the PR description in the repo's template, then stops for the user to review. It never pushes, opens a PR, or posts anything. Use when the user asks to fix, patch or contribute a fix upstream to another project's MCP…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# fix-upstream

Turn one mcp-doctor finding in someone else's MCP server into a pull-request draft a maintainer is likely to merge. The bar is that the user would send it unchanged. **A wrong PR costs more than no PR**: it wastes a stranger's time and spends the user's reputation. When in doubt, stop and say why.

Target: the path the user gave (`$ARGUMENTS` in Claude Code), else the current directory. It must be a git clone of a repo the user doesn't own. If it's the user's own server, use the `mcp-doctor` skill instead.

Runner: as in the `mcp-doctor` skill (`mcp-doctor`, else `uvx --from mcp-server-lint mcp-doctor`, else `pipx run --spec mcp-server-lint mcp-doctor`), called below `MCPD`. This skill needs `--fix-only`; if `MCPD --help` doesn't list it, ask the user to upgrade `mcp-server-lint` and stop.

## Scope: one kind of fix per PR
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vishalhabib99/mcp-doctor/fix-upstream@sha256:8fcdd7fd06a4fc48

The line at the top of this page pins the label git:20261017.231c22f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5ia4oafscs6oeqmi.svg)](https://markdownregistry.com/a/art_5ia4oafscs6oeqmi)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 14, 2026 and Oct 17, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261017.231c22f latest2026-10-17 231c22f 8,081 BA view · diff
git:20261014.58e6e022026-10-14 58e6e02 8,050 BA view · diff
git:20261014.7f1afc22026-10-14 7f1afc2 7,128 BA view · diff
git:20261014.a82607d2026-10-14 a82607d 7,098 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8081 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vishalhabib99/mcp-doctor · 3 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5ia4oafscs6oeqmi
GET https://markdownregistry.com/api/v1/resolve?ref=vishalhabib99/mcp-doctor/fix-upstream
GET https://markdownregistry.com/api/v1/blob/8fcdd7fd06a4fc486675582ea5230163d8ebaa6458a8f68c4b12fc5d9b9c5b14

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from vishalhabib99/mcp-doctor

mcp-doctor SKILL.md skill
vishalhabib99/mcp-doctor · plugin/skills/mcp-doctor/SKILL.md · Lint and fix an MCP (Model Context Protocol) server's source for what breaks the agent calling it — missing or vague…
git:20261018.7c955e7 · audit A · 3 stars

Every file in vishalhabib99/mcp-doctor

Browse by kind, by grade A, or by owner.