About MCP Server Magic
MCP Server Magic generates MCP servers for developers, with TypeScript, Python, and Go output. It supports direct implementations and API proxy servers, including authentication and deployment configuration.
Key features
- 01Generate TypeScript, Python, and Go servers
- 02Configure API Key, Bearer Token, and Basic Auth
- 03Define MCP resources and tools
- 04Deploy to cloud or self-hosted environments
- 05Proxy existing REST APIs with optional caching and rate limits
Use cases
- 01Generate an MCP server implementation
- 02Expose an existing REST API through an MCP proxy
- 03Configure server authentication and deployment
MCP support
It generates MCP servers that expose defined resources and tools to MCP clients. Proxy mode translates between MCP requests and existing REST API calls.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server Magic
Generate MCP (Model Context Protocol) servers easily.
Project info
URL: https://lovable.dev/projects/d1f58d89-2e1d-4c6a-ade1-f7807ab46e44
Features
- Generate TypeScript, Python, and Go MCP servers
- Configure authentication (API Key, Bearer Token, Basic Auth)
- Define resources and tools
- Deploy to various environments (AWS, GCP, Azure, Self-hosted)
- NEW: API Proxy Mode - Create MCP servers that proxy to existing APIs
Server Modes
MCP Server Magic supports two modes for server generation:
Direct Implementation Mode
This is the default mode where MCP Server Magic generates a complete, standalone implementation of your MCP server. The server handles all logic and data processing directly.
Proxy Mode
Proxy mode allows you to create an MCP server that acts as a middleware between MCP clients (like Claude) and your existing APIs. The MCP server translates MCP-formatted requests into standard API calls and converts the responses back to MCP format.
Proxy Mode Features:
- Connect to any existing REST API
- Automatic conversion between MCP and standard formats
- Optional caching for improved performance
- Optional rate limiting to protect your target API
- Authentication support for both MCP client and target API
- Full compliance with Model Context Protocol standard
Tests
This project includes comprehensive tests to ensure the quality of generated servers:
# Run basic MCP server tests
npm test
# Run full MCP tests including Go server generation
npm run test:mcp
# Run proxy mode tests
npm run test:proxy
How can I edit this code?
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run dev
Technologies
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
- Model Context Protocol SDK
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.