MCP Tool Factory

Generates MCP servers from natural language, OpenAPI specs, or database schemas for secure, scalable data access.
  • typescript

1

GitHub Stars

typescript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "heshamfs-mcp-tool-factory-ts": {
      "command": "node",
      "args": [
        "path/to/mcp-tool-factory-ts/bin/mcp-server.js"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your-key-here"
      }
    }
  }
}

MCP Tool Factory is a production-ready MCP server generator that creates complete MCP servers from natural language descriptions, OpenAPI specs, or database schemas. It enables you to rapidly deploy tools that integrate with MCP clients and AI assistants, reducing setup time and ensuring consistent, typed server implementations.

How to use

You can use MCP Tool Factory to generate MCP servers that expose tools your MCP clients can call. Start from a natural language description, an OpenAPI specification, or a database schema, then customize server name, logging, metrics, and web documentation. Once generated, you can run, test, and publish the server to an MCP Registry for discovery.

How to install

Prerequisites: Node.js and npm installed on your development machine. You may also install Python if you plan to use Python-based clients, but it is not required for server generation.

Configuration and runtime

Two standard ways to run the MCP Tool Factory server locally are shown here. Use the first for a local node-based runtime and the second to use the published package from npm.

"mcpServers": {
  "mcp_tool_factory": {
    "command": "node",
    "args": ["path/to/mcp-tool-factory-ts/bin/mcp-server.js"],
    "env": {
      "ANTHROPIC_API_KEY": "your-key-here"
    }
  }
}

Troubleshooting tips

If you encounter issues starting the generated server, ensure dependencies are installed and the server script path is correct. Check that your API key for the chosen provider is set in the environment and that the server has the necessary permissions to bind to its port.

Production features

The generated MCP servers include options for structured logging, metrics collection, rate limiting, and retry logic to handle transient failures. These features help you monitor performance, enforce quotas, and maintain reliability in production.

Architecture overview

The factory composes an agent that can generate servers from multiple input sources, then outputs a complete MCP server ready for testing, packaging, and registry publishing. The approach emphasizes type safety, modular generation, and easy integration with various MCP clients.

Available tools

generate_mcp_server

Generate an MCP server from a natural language description.

generate_from_openapi

Generate an MCP server from an OpenAPI specification.

generate_from_database

Generate an MCP server from a database schema.

validate_typescript

Validate TypeScript code for the generated server.

list_providers

List available LLM providers supported by the factory.

get_factory_info

Retrieve information about the factory's capabilities.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
MCP Tool Factory MCP Server - heshamfs/mcp-tool-factory-ts | VeilStrat