Forge MCP server

Generates powerful server templates with multiple configuration options for quickly bootstrapping and deploying standardized server implementations with utility functions and best practices.
Back to servers
Setup instructions
Provider
chromewillow
Release date
Mar 26, 2025
Language
TypeScript

MCP Forge is a server generator tool that helps you create Model Context Protocol (MCP) servers for Smithery with Cursor IDE integration. It allows you to quickly scaffold new MCP servers from templates, integrate them with Cursor IDE, and deploy them to Smithery.

Installation

To install MCP Forge, run the following command in your terminal:

npm install

Usage

Start the MCP Forge server with:

npm start

Available Templates

When generating a new MCP server, you can choose from these templates:

  • Basic: Simple MCP server with an example tool
  • Web Search: MCP server with web search capabilities
  • Database: MCP server with PostgreSQL database interaction

Integrating with Cursor IDE

To connect your MCP server with Cursor IDE, add this configuration to your ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "mcp-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli@latest",
        "run",
        "@your-username/mcp-forge",
        "--config",
        "{}"
      ]
    }
  }
}

Available Tools

Generate MCP Server

This tool helps you create a new MCP server based on your selected template and configuration options.

Get Cursor Integration

Provides you with the necessary code and instructions to integrate your MCP server with the Cursor IDE.

Deploy to Smithery

Gives you step-by-step instructions for deploying your MCP server to Smithery, making it available for wider use.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mcp-forge" '{"command":"npx","args":["-y","@smithery/cli@latest","run","@your-username/mcp-forge","--config","{}"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mcp-forge": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli@latest",
                "run",
                "@your-username/mcp-forge",
                "--config",
                "{}"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "mcp-forge": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli@latest",
                "run",
                "@your-username/mcp-forge",
                "--config",
                "{}"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later