1.0.4 โ€ข Published 4 months ago

mcpgen v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

mcpgen

mcpgen is a minimal, elegant command-line tool for generating MCP servers that connect Claude and other MCP clients to your data sources with zero friction. This state-of-the-art tool streamlines the process of creating custom Model Context Protocol servers with advanced AI capabilities.

Features

  • ๐Ÿš€ Interactive CLI with guided workflow
  • ๐Ÿงฉ Multiple data sources - in-memory, JSON file, PostgreSQL, MySQL, MongoDB, Supabase, or custom API
  • ๐Ÿ› ๏ธ Customizable tools and prompts - ready-made templates optimized for Claude
  • ๐Ÿค– Advanced AI capabilities - vector embeddings, document processing, image analysis
  • โ˜๏ธ One-click cloud deployment - AWS, Google Cloud, Azure, Vercel, Heroku, Docker
  • ๐Ÿ“Š Data visualization - generate charts and graphs from your data
  • ๐Ÿ“ Schema inference - automatically generate TypeScript interfaces from sample data
  • โšก Zero configuration - sensible defaults with minimal setup
  • ๐Ÿงช Automated testing - built-in test suite generation
  • ๐Ÿ”Œ Instant integration with Claude Desktop and other MCP clients

Installation

# Global installation
npm install -g mcpgen

# Or run directly with npx
npx mcpgen

Usage

Just run and follow the interactive prompts:

mcpgen

The tool guides you through: 1. Project setup (name, description) 2. Data source selection 3. Tool selection 4. Schema customization 5. Cloud deployment options 6. Build and integration

Example: Creating a Weather MCP Server

Create a weather API that Claude can use to get current weather conditions:

mcpgen
> Project name: weather-mcp
> Description: Weather information MCP server
> Data source: External API
> Tools: getWeather
> Deploy to: Vercel

This creates a complete MCP server with:

  • TypeScript code for the weather API
  • Environment configuration for API keys
  • Ready-to-use integration with Claude
  • One-click cloud deployment
  • Automated test suite

Integration with Claude Desktop

Add to your Claude Desktop configuration:

// macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
// Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "your-mcp-name": {
      "command": "node",
      "args": ["/path/to/your-project/dist/main.js"],
      "env": {}
    }
  }
}

License

MIT


1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.0

4 months ago