Skip to content
VS Code

mcp tool factory for VS Code

io.github.heshamfs/mcp-tool-factory

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

client:VS Code transport:stdio runtime:npm

Install mcp tool factory in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "claude-code-oauth-token",
      "description": "CLAUDE_CODE_OAUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-api-key",
      "description": "GOOGLE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-tool-factory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "CLAUDE_CODE_OAUTH_TOKEN": "${input:claude-code-oauth-token}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "GOOGLE_API_KEY": "${input:google-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp tool factory in other clients