Skip to main content
Live. This area is documented as current, user-reliable behavior.

Goal

Configure VS Code to reach the scoped StackShift MCP endpoint.

Prerequisites

  • A StackShift backend/dashboard with agent connections enabled.
  • VS Code with MCP enabled and workspace trust

Workflow

1
Open Settings > Agent connections and choose VS Code.
2
Install a remote HTTP MCP server and authorize in your browser.
3
Review the browser request, return destination, selected resources, requested actions, policy and expiry before granting access.
4
Return to the client and inspect connection identity and authorized resources. Verify actual operation outcomes separately.

Setup from the shared catalog

Install a remote HTTP MCP server and authorize in your browser. Open Settings > Agent connections and expand this client. Use the endpoint and resolved instructions shown by your StackShift instance. The templates below contain placeholders, not a deployed endpoint or credential.
  • Setup methods: install link, configuration.
  • Supported local configuration scopes: project. Choose the scope deliberately before setup.

Project setup with CLI 1.0.12 or later

Open the agent directory at stackshift.cloud/agents and choose your client. Its setup page gives the recommended order: install the tools, add the skill from a terminal in the project root, sign in to StackShift, open a new coding-agent session, then paste a task into its chat. Terminal commands and chat prompts are labelled separately. Prompt-assisted setup is available as an alternative. MCP connection guides remain available separately. Use your existing coding agent in a repository. Fetch https://stackshift.cloud/prompt.md for the guided setup, or install the StackShift CLI and run the command below. This installs bundled project-local guidance and leaves MCP configuration unchanged. It does not install the coding client, authenticate or create resources. Guidance is installed in .github/skills/stackshift-cloud-operations. Repeat setup is safe when the installed files match. If they differ, preserve or move the existing folder before installing an updated version. Remove only that folder to uninstall. Restart the coding agent after setup. The entry skill stackshift-cloud-operations routes each task to a focused skill installed beside it: deploying and fixing builds, runtime debugging, env and secrets, domains, previews, workers and cron, services and networking, scaling and cost, databases and recovery, servers, Assets, Mail, mobile, billing and teams, Terraform and CI, agents and MCP, framework skills (JavaScript, Laravel, Python, Go, Ruby on Rails, Rust, Spring Boot, ASP.NET), migrations from other platforms, African payments and messaging, and AI and engineering playbooks. Existing applications follow an adoption flow: inspect the repository, verify and reuse StackShift project bindings, preserve working external providers and make only the changes needed for the requested task. Installation alone does not deploy or migrate the app. Previews use safe dependency configuration; data migration, production DNS cutover and retiring the previous deployment are separately scoped and verified. The recovery-and-cutover.md guide covers target identity, interrupted setup, missing secrets, monorepos, preview isolation, database migrations, persistent files, OAuth/webhooks, background jobs, concurrent changes, capability mismatches and safe skill updates. It provides verification and recovery steps; these instructions do not imply automatic platform enforcement. Use stackshift auth status or stackshift auth login for account access. Native AI credits are not required for direct CLI operations; agent-provider and cloud resource charges still apply. The setup agent command is available in CLI 1.0.12 or later.

Fetch StackShift guidance through MCP

The connected agent can call the read-only skill_read tool to fetch the entry skill, the focused skill for its task and the references that skill links. The server introduces this tool during connection setup. No download, local skill installation or native AI credits are needed to read the guides. The client decides when to call tools; connection alone is not proof that it has read the skill. Try this read-only prompt: Use StackShift’s skill_read tool to fetch SKILL.md and references/interfaces.md. Follow the guidance to inspect my connection identity and list only my authorized resources. Do not change anything. Reconnect your client to refresh discovery after an upgrade. Skill guidance does not change your granted resources, permissions or approval requirements.

Optional local skill installation

Download StackShift skill library v4.0.41 and its SHA-256 checksum. The package contains the entry skill stackshift-cloud-operations and every focused StackShift skill, each with its reference guides. Extract the ZIP and place every skill folder it contains inside .github/skills/ in your project, or run stackshift setup agent to install them. Review the files first. Back up any existing installation before replacing it. Start a new agent session in that project and select the skill when your client requires it. The skill guides workflows; MCP supplies tools and your consent supplies permissions. The package contains no credentials and grants no new access. Delete only the installed skill folder to uninstall it. MCP authorization remains separate. Client skill instructions.

Configuration entry template

This is the server entry, not a replacement for your entire configuration file. Preserve other entries and use the supported setup adapter when available. Catalog configuration location: .vscode/mcp.json. Server map: servers. The resolved location depends on the selected local scope.

Authorization and access

Initial discovery requests read access. To create or change resources, authorize the required actions in the browser consent flow. Complete the client authentication step after adding the server. In Settings > Agent connections, review authorized resources, permitted actions, expiry and last observed use. CLI diagnostics check connectivity; inspect the operation result to confirm a deployment completed.

Official client references

Catalog documentation review date: 2026-10-01. Requirements may change; consult the linked client documentation.

Expected result

A connection with the explicitly consented access. Setup alone does not prove client authentication, deployment success or database readiness.

Common failures

  • Hosted clients cannot reach a loopback-only development endpoint.
  • A configured server may still require client authentication.
  • Read access does not authorize mutations. Never work around a denied action with a broader legacy credential.

Connect your coding agent

Connect an external client, choose its access and inspect its work in StackShift.

Connection access and approvals

Understand selected resources, permitted actions, owner decisions and revocation.

Agent connection API and OAuth

Separate owner governance from scoped execution, handle OAuth challenges and recover recorded operations.