Skip to content
MCP server

MCP Tool Factory

Generate MCP servers from natural language, OpenAPI specs, or database schemas.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
4 days ago

About MCP Tool Factory

MCP Tool Factory is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-tool-factory --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env CLAUDE_CODE_OAUTH_TOKEN='<CLAUDE_CODE_OAUTH_TOKEN>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env GOOGLE_API_KEY='<GOOGLE_API_KEY>' -- npx -y @heshamfsalama/mcp-tool-factory

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "CLAUDE_CODE_OAUTH_TOKEN": "<CLAUDE_CODE_OAUTH_TOKEN>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "CLAUDE_CODE_OAUTH_TOKEN": "<CLAUDE_CODE_OAUTH_TOKEN>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-tool-factory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "CLAUDE_CODE_OAUTH_TOKEN": "<CLAUDE_CODE_OAUTH_TOKEN>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "CLAUDE_CODE_OAUTH_TOKEN": "<CLAUDE_CODE_OAUTH_TOKEN>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "CLAUDE_CODE_OAUTH_TOKEN": "<CLAUDE_CODE_OAUTH_TOKEN>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Configuration

  • ANTHROPIC_API_KEYAnthropic Claude API key (one of the 4 provider keys is required)
  • CLAUDE_CODE_OAUTH_TOKENClaude Code OAuth token (one of the 4 provider keys is required)
  • OPENAI_API_KEYOpenAI GPT API key (one of the 4 provider keys is required)
  • GOOGLE_API_KEYGoogle Gemini API key (one of the 4 provider keys is required)

Pricing

Open source

MCP Tool Factory FAQ

Is MCP Tool Factory free?

Yes. MCP Tool Factory is open source, so you can use and self-host it for free.

How do I add MCP Tool Factory to Claude Code?

Run this command in your terminal: claude mcp add mcp-tool-factory --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env CLAUDE_CODE_OAUTH_TOKEN='<CLAUDE_CODE_OAUTH_TOKEN>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env GOOGLE_API_KEY='<GOOGLE_API_KEY>' -- npx -y @heshamfsalama/mcp-tool-factory