vinilana/invokta/deploy-mcp-oauth-vps
Claude Code and agent skill by vinilana/invokta
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Deploy, upgrade, verify, or roll back this Docker Compose MCP OAuth stack on a VPS, including Hostinger environments with an existing Traefik proxy and hosts that use bundled Caddy. Use for production releases, new VPS setup, image rebuilds, environment configuration, database backup, owner bootstrap, health checks, public OAuth probes, rollback preparation, and deployment troubleshooting.
Install
npx vskill@latest install vinilana/invokta/deploy-mcp-oauth-vpsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as vinilana/invokta/deploy-mcp-oauth-vps.
Deploy MCP OAuth to a VPS
Resolve the project root as three directories above this SKILL.md. Perform all local reads and commands from that root before inspecting any remote host.
Choose the edge topology
- Read
AGENTS.md,docs/DEPLOYMENT_RUNBOOK.md, and
docs/PRODUCTION_CHECKLIST.md completely.
- Inspect the target before writing: running containers, Compose files,
volumes, free ports, edge proxy, health, current image version, and .env key names without printing values.
- Use
compose.yamlwhen ports 80 and 443 are free for bundled Caddy. - Use
compose.yamlpluscompose.hostinger.yamlwhen Traefik already owns
the edge. Set a unique APP_TRAEFIK_ROUTER_PREFIX.
- Do not start a second edge proxy on occupied ports.
- Derive networks and service reachability from the merged Compose output and
the running proxy. Do not invent an external Traefik network when the files do not declare one.
Prepare a recoverable release
- Run
npm run checkbefore packaging. - Validate the selected Compose merge before building.
- Back up PostgreSQL before migrations and protect the backup permissions.
- Tag the current image with an explicit rollback version.
- Transfer only source, manifests, migrations, Compose files, and proxy config.
- Exclude
.env,.git,node_modules,dist, logs, database files, and
credentials from transfer packages.
- Preserve existing volumes and the remote
.env.
Deploy in dependency order
- Build the
migrate,auth, andengineimage targets. - Start with
up -d --no-buildonly after the build succeeds. - Wait for PostgreSQL, the one-shot migration, OAuth, and engine health.
- Do not rerun owner bootstrap when an owner already exists.
- Create the owner interactively only for a confirmed new deployment; never
persist the bootstrap password on the VPS.
Verify publicly
- Confirm container health, restart counts, and application versions.
- Review migration, auth, and engine logs for sanitized errors.
- Run the public MCP deployment probe.
- Verify protected-resource metadata, authorization discovery, and JWKS.
- Run the DCR probe and confirm temporary-client cleanup.
- Complete one real login, consent, callback, token exchange, and authenticated
MCP request before declaring a new OAuth integration ready.
Roll back safely
- Repoint the application image to the preserved rollback tag.
- Do not roll back the database unless the migration is incompatible and a
matching pre-deploy backup is available.
- Recreate only affected services and verify health again.
- Never delete volumes as part of a routine rollback.
Report the deployed version, topology, backup, rollback tag, health, public probes, and any manual client-flow verification that remains.
Security
- Security scanPassed, 93 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
- SKILL.md in the repositoryCheckingexamples/auth-self-hosted-oauth-engine/.agents/skills/deploy-mcp-oauth-vps/SKILL.md
Popularity
- Repository stars
- 132
- Repository forks
- 18
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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
[](https://verified-skill.com/skills/vinilana/invokta/deploy-mcp-oauth-vps)