loerei/myskills/update-mcp

Claude Code and agent skill by loerei/myskills

Trust tier 2
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when updating, upgrading, or pulling upstream changes for local MCP servers.

Install

npx vskill@latest install loerei/myskills/update-mcp

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as loerei/myskills/update-mcp.

Update MCP

1. Locate Target MCP Source

Read the active IDE MCP config to extract the server's command, args, and working directory:

EnvironmentConfiguration File PathTarget Key
Antigravity<appDataDir>/mcp_config.jsonmcpServers.<name>
CursorGlobal Storage storage.jsonmcpServers.<name>
VS CodeUser Settings settings.jsonmcp.servers.<name>

If the command invokes a package runner (npx, uvx, pipx) rather than a local git repository, upgrade or refresh via that runner instead of running Steps 2-3.

2. Fetch & Merge Upstream

Inside the target MCP repository directory (compatible with Windows PowerShell 5.1 and pwsh):

powershell
if (git status --porcelain) { git stash push -m "pre-mcp-update" }
$remote = if ((git remote) -contains "upstream") { "upstream" } else { "origin" }
git fetch $remote
$headRef = git symbolic-ref --short "refs/remotes/$remote/HEAD" 2>$null
$target = if ($headRef) { $headRef } else { "$remote/main" }
git merge $target

Abort and report to the user if git fetch fails or git merge produces conflicts.

3. Build & Handle File Locks

Run the build command matching the repository root markers:

Project MarkerBuild / Sync Command
pyproject.toml / uv.lockuv sync
package.jsonnpm install && npm run build (or pnpm/bun equivalent)
Cargo.tomlcargo build --release
go.modgo build ./...
File Lock Recovery (Process In-Use)

If the build fails with locked binaries (EPERM, EBUSY, or access denied):

  1. Provide this terminal block for manual execution:

``powershell # 1. Stop the MCP server process (or close your IDE completely) # 2. Run in an external PowerShell window: cd "<path-to-mcp-directory>" <build-command> # 3. Reopen the IDE and message back to resume ``

  1. Ask the user to close the locking process/IDE, run the block, and confirm when done.

4. Verification & Changelog Brief

  1. Check git log -n 5 --oneline or CHANGELOG.md and summarize key fixes or features in 2-3 bullets.
  2. Prompt the user to reload the MCP server and verify with a lightweight tool call.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/loerei/myskills/update-mcp/badge)](https://verified-skill.com/skills/loerei/myskills/update-mcp)

Something wrong with this skill or its page? Tell us.