Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Mcp Project GeneratorNew to Visual Studio Code? Get it now.
Mcp Project Generator

Mcp Project Generator

Nihar Sarkar

|
76 installs
| (2) | Free
Generate Mcp Projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCP Project Generator for Visual Studio Code

Marketplace Version

🚀 Overview

The MCP Project Generator is a Visual Studio Code extension designed to streamline the setup of basic Model Context Protocol (MCP) projects for Python, TypeScript, c# and swift. With just a simple command, developers can quickly generate a ready-to-use project structure, complete with essential files and configuration, allowing them to jump straight into implementing their MCP solutions.

This tool eliminates the manual boilerplate setup, ensuring consistency and accelerating development for MCP-based applications.

✨ Features

  • Quick Project Generation: Instantly create a new MCP project with pre-configured files.
  • Language Support: Generate projects for Python, TypeScript, c# and swift.
  • Guided Setup: Prompts for project location and name.
  • Ready-to-Use Structure: Includes README.md, help.txt, requirements.txt (for Python) or package.json/tsconfig.json (for TypeScript), and basic client code.
  • Consistency: Ensures generated projects follow a standardized structure.

⚙️ Installation

You can install the MCP Project Generator directly from the Visual Studio Code Marketplace:

  1. Open VS Code.
  2. Go to the Extensions view by clicking on the Square icon on the sidebar or pressing Ctrl+Shift+X (Windows/Linux) / Cmd+Shift+X (macOS).
  3. Search for Mcp Project Generator.
  4. Click the Install button.

Alternatively, you can visit the Marketplace page and click "Install".

🚀 Usage

Once the extension is installed, you can generate an MCP project using the VS Code Command Palette:

  1. Open the Command Palette by pressing Ctrl+Shift+P (Windows/Linux) / Cmd+Shift+P (macOS).

  2. Type one of the following commands:

    • For a Python MCP project: Create mcp python project
    • For a TypeScript MCP project: Create mcp typescript project
    • For a C# MCP project: Create mcp csharp project
    • For a Swift MCP project: Create mcp swift project
  3. Press Enter.

  4. The extension will prompt you to:

    • Select a folder where the new project will be created.
    • Enter a name for your new project.
  5. After providing the details, the extension will generate the project structure and files in the specified location.

What's Generated?

Each generated project includes:

  • Python Project:

    • A basic Python script (client.py , server.py or similar) demonstrating MCP client initialization.
    • A requirements.txt file listing necessary Python dependencies.
    • A README.md for the generated project.
    • A help.txt with quick-start instructions.
    • A .env file for environment variables (e.g., API keys, server details).
  • TypeScript Project:

    • A basic TypeScript client file (src/index.ts) demonstrating MCP client initialization.
    • package.json with all necessary Node.js/TypeScript dependencies.
    • tsconfig.json for TypeScript compilation.
    • A README.md for the generated project.
    • A help.txt with quick-start instructions.
  • C# Project:

    • A basic C# client/server project (e.g., a .csproj file, Program.cs or similar entry point).
    • Relevant NuGet package references for MCP client/server and other dependencies.
    • A README.md for the generated project.
    • A help.txt with quick-start instructions.
  • Swift Project:

    • A basic Swift project structure (e.g., Package.swift for Swift Package Manager, Sources/Server/main.swift or similar entry point).
    • Relevant dependency configurations for the MCP client/server (if available as Swift packages).
    • A README.md for the generated project.
    • A help.txt with quick-start instructions.

💡 Troubleshooting

  • Extension not found in Command Palette: Ensure the extension is installed and enabled in VS Code. Sometimes a VS Code restart can help.
  • Generated project issues: The generated projects are basic templates. For detailed troubleshooting of the generated MCP client code (e.g., connection errors, API issues), refer to the README.md and help.txt files within the generated project folder.
  • Permissions: Ensure VS Code has the necessary file system permissions to create directories and write files in your chosen project location.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft