Purple and blue shaded background

Model Context Protocol Server

Deploy cloud services just by talking to your coding agent. The Defang MCP Server brings your services into your AI-based development workflow: check statuses, make updates, and redeploy, all from your chat. It's fast, simple, and built for the way you vibe code today.

MCP Tools & Features

A command palette for your cloud infrastructure—deploy, manage, and destroy services through your AI assistant or IDE with ease.

Deploy

Deploy Defang-compatible projects with Dockerfiles and Compose files and track their deployments

Services

View details of all your services currently deployed with Defang, including service name, ID, URL and status

Destroy

Identify any services deployed with Defang and terminate them with a simple command

Supported IDEs

Use natural language to interact with your cloud services directly from your favorite IDE.

Cursor

Interact with the AI coding agent using Defang-related actions like checking services or deploying applications

npx -y defang@latest mcp setup --client=cursor

Copied!

Windsurf

Seamlessly deploy applications and manage services using Defang through Windsurf's AI interface

npx -y defang@latest mcp setup --client=windsurf

Copied!

VS Code

Use Defang MCP tools directly through VS Code's AI coding agent interface

npx -y defang@latest mcp setup --client=vscode

Copied!

VS Code Insiders

Get early access to Defang MCP features through VS Code Insiders

npx -y defang@latest mcp setup --client=vscode-insiders

Copied!

Claude Desktop

While not a traditional IDE, Claude Desktop supports MCP servers for a smoother experience

npx -y defang@latest mcp setup --client=claude

Copied!

Example Prompts

Checkmark icon

Can you deploy this to Defang?

Checkmark icon

Please update middleware to reject requests without authentication and redeploy with Defang.

Checkmark icon

Please destroy this project.

Checkmark icon

What services do I have?

Checkmark icon

What is the status of my services?

Checkmark icon

Do I have a service called project1?

Ready to Get Started?

Skip the complexity. Just chat and deploy. The Defang MCP Server makes it effortless to manage your services as part of your vibe coding flow.

npx -y defang@latest mcp setup --client=<your-ide>

Copied!