Handy utility app to help generate VS Code install buttons and links for Model Context Protocol (MCP) servers. Create professional one-click install experiences for your MCP projects with customizable badges and comprehensive configuration support.
πΊ Watch full demo on YouTube
Try it out live at VSCodeMCP.com!
Sample buttons:
This tool handles the conversion automatically when generating install buttons.
-
π Comprehensive MCP Support:
- stdio: Configure command execution, arguments, and environment variables
- http/sse: Configure server URLs, custom headers, and authentication
-
π¨ Advanced Badge Customization:
- Custom badge text with automatic encoding
- Full color picker for badge and logo colors
- Multiple professional styles (flat, flat-square, plastic, for-the-badge, social)
- Powered by Shields.io for high-quality badge generation
-
π Multiple Output Formats:
- Markdown format: Perfect for README files and documentation
- HTML format: Ready for web pages and blogs
-
β‘ Real-time Experience:
- Live preview of generated badges
- Instant copy-to-clipboard functionality
- Responsive design for all devices
-
π VS Code Integration:
- Generates proper
vscode:mcp/installURLs - Automatic JSON encoding for URL parameters
- One-click installation experience for end users
- Generates proper
The JSON configuration format used for the VS Code install button is different from VS Code's MCP configuration file format.
- For the install button (this tool): The MCP server name is a key-value pair in the URL parameters
- For VS Code's
mcp.jsonfile: The MCP server name is a parent object containing the configuration
Example of VS Code MCP configuration format (used in your mcp.json file):
{
"microsoft.docs.mcp": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}- Open
src/index.htmlin your web browser, or - Visit the live version at vscodemcp.com
-
Enter MCP Server Details:
- Provide your MCP server name (e.g.,
microsoft.docs.mcp) - Choose your preferred configuration mode:
- Simple Mode: Paste JSON configuration directly
- Enhanced Mode: Use the guided form with validation
- Provide your MCP server name (e.g.,
-
Configure Server Settings:
- For stdio servers: Set command, arguments, and environment variables
- For http/sse servers: Set server URL and optional headers
-
Customize Badge Appearance:
- Set custom badge text (defaults to server name)
- Choose badge and logo colors using the color picker
- Select from multiple professional styles
-
Generate and Copy:
- Choose output format (Markdown or HTML)
- Preview your badge in real-time
- Copy the generated code with one click
-
Use in Your Project:
- Paste the generated code into your README or website
- Users can now install your MCP server with one click!
For a Microsoft Docs MCP server, the app generates professional install buttons:
Markdown Output:
[](vscode:mcp/install?name=microsoft.docs.mcp&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Flearn.microsoft.com%2Fapi%2Fmcp%22%7D)HTML Output:
<a href="vscode:mcp/install?name=microsoft.docs.mcp&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Flearn.microsoft.com%2Fapi%2Fmcp%22%7D">
<img src="https://img.shields.io/badge/VS_Code-Install_Microsoft_Docs_MCP-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code">
</a>How it works:
- Users click the badge β VS Code opens β MCP server installs automatically
- No manual configuration needed for end users
- Perfect for README files, documentation, and project pages
The app supports the official VS Code MCP configuration format. Here are the supported connection types:
Perfect for locally executed MCP servers:
{
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-server-name"],
"env": {
"API_KEY": "${input:api-key}"
}
}Ideal for remote MCP servers:
{
"type": "http",
"url": "https://api.example.com/mcp",
"headers": {
"Authorization": "Bearer ${input:token}"
}
}Both configuration types support environment variables using the ${input:variable-name} syntax, which prompts users for values during installation.
Powered by Shields.io, the app supports extensive customization:
- flat: Clean, modern flat design
- flat-square: Flat design with square edges
- plastic: Glossy, dimensional appearance
- for-the-badge: Large, bold style perfect for prominent placement
- social: GitHub-style social badges
- Hex Colors: Full hex color support (#FF0000, #667eea, etc.)
- RGB Colors: Standard RGB notation
- Named Colors: CSS color names (red, blue, green, etc.)
- Brand Colors: Automatic brand color detection
- VS Code Logo: Professional VS Code branding
- Custom Colors: Match your project's color scheme
- High Quality: SVG-based logos for crisp display at any size
- Frontend: Pure HTML5, CSS3, and vanilla JavaScript (zero dependencies)
- Styling: Modern CSS Grid and Flexbox layouts with responsive design
- Badge Generation: Shields.io API for high-quality badge rendering
- VS Code Integration: Official
vscode:mcp/installURL scheme - Accessibility: WCAG compliant with semantic HTML and proper ARIA labels
Contributions are welcome! This project aims to make MCP server installation as simple as possible.
- Clone the repository
- Open
src/index.htmlin your browser - Make your changes
- Test thoroughly across different browsers
- Submit a pull request
Found a bug or have a feature request? Please open an issue on GitHub with:
- Clear description of the problem or feature
- Steps to reproduce (for bugs)
- Browser and OS information
- Expected vs actual behavior
See LICENSE file for details.
- Live App: vscodemcp.com
- GitHub Repository: merill/vscode-mcp
- VS Code MCP Documentation: Official MCP Docs
- Shields.io: Badge Service
Made with β€οΈ for the MCP community | Create beautiful install experiences for your Model Context Protocol servers