ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP Tool Factory

โดย HeshamFSรุ่น 0.1.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.HeshamFS/mcp-tool-factory

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ฐานข้อมูลและชุดข้อมูล
  • ต้องใส่ค่าเหล่านี้: ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, OPENAI_API_KEY, GOOGLE_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "CLAUDE_CODE_OAUTH_TOKEN": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "GOOGLE_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add tool-factory --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' --env CLAUDE_CODE_OAUTH_TOKEN='ใส่ค่าของคุณ' --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env GOOGLE_API_KEY='ใส่ค่าของคุณ' -- npx -y @heshamfsalama/mcp-tool-factory

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "tool-factory": {
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "CLAUDE_CODE_OAUTH_TOKEN": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "GOOGLE_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "tool-factory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@heshamfsalama/mcp-tool-factory"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "CLAUDE_CODE_OAUTH_TOKEN": "ใส่ค่าของคุณ",
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "GOOGLE_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • ANTHROPIC_API_KEY ความลับ env
    Anthropic Claude API key (one of the 4 provider keys is required)
  • CLAUDE_CODE_OAUTH_TOKEN ความลับ env
    Claude Code OAuth token (one of the 4 provider keys is required)
  • OPENAI_API_KEY ความลับ env
    OpenAI GPT API key (one of the 4 provider keys is required)
  • GOOGLE_API_KEY ความลับ env
    Google Gemini API key (one of the 4 provider keys is required)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub HeshamFS ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 1142 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 3% ของอีก 1142 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1142 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP Tool Factory ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, OPENAI_API_KEY, GOOGLE_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 10 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

โดย supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

บนเครื่องหรือคลาวด์★ 2,993Apache-2.0อัปเดต เมื่อวาน
ติดตั้ง

MongoDB MCP Server

โดย mongodb-js

MongoDB Model Context Protocol Server

รันบนเครื่อง★ 1,157Apache-2.0อัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Elasticsearch MCP Server

โดย cr7258

MCP server for interacting with Elasticsearch

รันบนเครื่อง★ 315Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

MCP Tool Factory (TypeScript)

Generate production-ready MCP (Model Context Protocol) servers from natural language descriptions, OpenAPI specs, database schemas, GraphQL schemas, or ontologies.

Why MCP?

The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect with external data sources and tools. MCP servers expose tools that can be used by:

  • Claude Code and Claude Desktop
  • OpenAI Agents SDK
  • Google ADK (Agent Development Kit)
  • LangChain and CrewAI
  • Any MCP-compatible client

MCP Tool Factory lets you generate complete, production-ready MCP servers in seconds.

Features

FeatureDescription
Natural LanguageDescribe your tools in plain English
OpenAPI ImportConvert any REST API spec to MCP tools
Database CRUDGenerate tools from SQLite or PostgreSQL schemas
GraphQL ImportConvert GraphQL schemas to MCP tools (queries to reads, mutations to writes)
Ontology ImportGenerate from RDF/OWL, JSON-LD, or YAML ontologies
Resources & PromptsFull support for all three MCP primitives: Tools, Resources, and Prompts
10 LLM ProvidersAnthropic, OpenAI, Google, Mistral, DeepSeek, Groq, xAI, Azure, Cohere + Claude Code via Vercel AI SDK
Cost TrackingPer-call cost calculation, budget limits, provider cost comparison
Parallel GenerationTool implementations generated concurrently for faster output
LLM Response CachingDeduplicates identical LLM calls with configurable TTL
Streamable HTTPGenerated servers use the modern Streamable HTTP transport
Web SearchAuto-fetch API documentation for better generation
Production ReadyLogging, metrics, rate limiting, retries built-in
Type SafeFull TypeScript with strict mode
MCP RegistryGenerates server.json for registry publishing
Is an MCP ServerUse it directly with Claude to generate servers on-the-fly

Use as MCP Server

MCP Tool Factory is itself an MCP server! Add it to Claude Desktop, Claude Code, Cursor, or VS Code to generate MCP servers through conversation.

Tier 1 — Zero Config (Claude Code)

Claude Code auto-injects CLAUDE_CODE_OAUTH_TOKEN — no env vars needed:

claude mcp add mcp-tool-factory -- node /path/to/mcp-tool-factory-ts/bin/mcp-server.js
Tier 2 — Standard (Pick a Provider)

Set one API key and go. The factory auto-detects the provider:

Claude Desktop / Cursor / VS Code — add to your MCP config (claude_desktop_config.json, .cursor/mcp.json, or .vscode/mcp.json):

{

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

Any of these API keys will work: ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, MISTRAL_API_KEY, DEEPSEEK_API_KEY, GROQ_API_KEY, XAI_API_KEY, AZURE_OPENAI_API_KEY, COHERE_API_KEY.

Tier 3 — Full Control (Provider + Model + Budget)

Use MCP_FACTORY_PROVIDER, MCP_FACTORY_MODEL, and MCP_FACTORY_BUDGET to override auto-detection:

{

"mcpServers": { "mcp-tool-factory": { "command": "node", "args": ["/path/to/mcp-tool-factory-ts/bin/mcp-server.js"], "env": { "OPENAI_API_KEY": "your-key-here", "MCP_FACTORY_PROVIDER": "openai", "MCP_FACTORY_MODEL": "gpt-5.2", "MCP_FACTORY_BUDGET": "0.50" } } } }

Env VarPurposeExample
MCP_FACTORY_PROVIDEROverride auto-detected provideropenai, groq, deepseek
MCP_FACTORY_MODELOverride default modelgpt-5.2, deepseek-chat
MCP_FACTORY_BUDGETPer-generation budget limit in USD0.50

Claude Code CLI with full control:

claude mcp add mcp-tool-factory \

-e DEEPSEEK_API_KEY=your-key \ -e MCP_FACTORY_PROVIDER=deepseek \ -e MCP_FACTORY_MODEL=deepseek-chat \ -e MCP_FACTORY_BUDGET=0.25 \ -- node /path/to/mcp-tool-factory-ts/bin/mcp-server.js

Available Tools
ToolDescription
generate_mcp_serverGenerate from natural language description
generate_from_openapiGenerate from OpenAPI specification
generate_from_databaseGenerate from database schema
generate_from_graphqlGenerate from GraphQL schema
generate_from_ontologyGenerate from RDF/OWL, JSON-LD, or YAML ontology
validate_typescriptValidate TypeScript code
list_providersList available LLM providers
get_factory_infoGet factory capabilities
Example Conversation

You: Create an MCP server for the GitHub API with tools to list repos, create issues, and manage pull requests

Claude: *Uses generate_mcp_server tool*

I've generated a complete MCP server with the following tools:

- list_repositories - List user repositories

- create_issue - Create a new issue

- list_pull_requests - List PRs for a repo

- merge_pull_request - Merge a PR

Let me write these files to your project...

Quick Start

Installation
# Global installation

npm install -g @heshamfsalama/mcp-tool-factory

Or use npx

npx @heshamfsalama/mcp-tool-factory generate "Create tools for managing a todo list"

Set Your API Key

At least one provider API key is required:

# Anthropic Claude (recommended)

export ANTHROPIC_API_KEY=your-key-here

Or Claude Code OAuth

export CLAUDE_CODE_OAUTH_TOKEN=your-token-here

Or any other supported provider

export OPENAI_API_KEY=your-key-here export GOOGLE_API_KEY=your-key-here export MISTRAL_API_KEY=your-key-here export DEEPSEEK_API_KEY=your-key-here export GROQ_API_KEY=your-key-here export XAI_API_KEY=your-key-here export AZURE_OPENAI_API_KEY=your-key-here export COHERE_API_KEY=your-key-here

Generate Your First Server
# From natural language

mcp-factory generate "Create tools for fetching weather data by city and converting temperatures"

From OpenAPI spec

mcp-factory from-openapi ./api-spec.yaml

From database

mcp-factory from-database ./data.db

From GraphQL schema

mcp-factory from-graphql ./schema.graphql

From ontology

mcp-factory from-ontology ./ontology.owl --format rdf

Usage

Natural Language Generation
mcp-factory generate "Create tools for managing a todo list with priorities" \

--name todo-server \ --output ./servers/todo \ --web-search \ --logging \ --metrics

OpenAPI Specification
# From local file

mcp-factory from-openapi ./openapi.yaml --name my-api-server

With custom base URL

mcp-factory from-openapi ./spec.json --base-url https://api.example.com

Database Schema
# SQLite

mcp-factory from-database ./myapp.db --tables users,posts,comments

PostgreSQL

mcp-factory from-database "postgresql://user:pass@localhost/mydb" --type postgresql

GraphQL Schema
# From a GraphQL SDL file

mcp-factory from-graphql ./schema.graphql --name my-graphql-server

From a URL endpoint

mcp-factory from-graphql https://api.example.com/graphql --name my-api-server

GraphQL queries are mapped to read-only MCP tools, and mutations are mapped to write tools. GraphQL types are automatically converted to Zod validation schemas.

Ontology
# From RDF/OWL (.owl, .rdf, .ttl)

mcp-factory from-ontology ./ontology.owl --format rdf --name knowledge-server

From JSON-LD (.jsonld)

mcp-factory from-ontology ./schema.jsonld --format jsonld --name linked-data-server

From custom YAML ontology

mcp-factory from-ontology ./domain.yaml --format yaml --name domain-server

OWL Classes are mapped to MCP Resources, ObjectProperties become Tools, and DataProperties become tool parameters.

Test & Serve
# Run tests

mcp-factory test ./servers/my-server

Start server for testing

mcp-factory serve ./servers/my-server

Generated Server Structure

servers/my-server/

├── src/ │ └── index.ts # MCP server with tools, resources, and prompts ├── tests/ │ └── tools.test.ts # Vitest tests (InMemoryTransport) ├── package.json # Dependencies ├── tsconfig.json # TypeScript config ├── Dockerfile # Container deployment ├── README.md # Usage documentation ├── skill.md # Claude Code skill file ├── server.json # MCP Registry manifest ├── EXECUTION_LOG.md # Generation trace (optional) └── .github/ └── workflows/ └── ci.yml # GitHub Actions CI/CD

Generated servers export a createServer() factory function for easy testing. The server uses Streamable HTTP transport with a single /mcp POST endpoint and a /health GET endpoint. Tests use InMemoryTransport.createLinkedPair() for fast, reliable in-process testing with vitest.

CLI Reference

CommandDescription
generate Generate MCP server from natural language
from-openapi Generate from OpenAPI specification
from-database Generate from database schema
from-graphql Generate from GraphQL schema
from-ontology Generate from RDF/OWL, JSON-LD, or YAML ontology
test Run tests for generated server
serve Start server for testing
infoDisplay factory information
Generate Options
mcp-factory generate "..." \

--output, -o # Output directory (default: ./servers) --name, -n # Server name --description, -d # Package description --github-username, -g # GitHub username for MCP Registry --version, -v # Server version (default: 1.0.0) --provider, -p # LLM provider (anthropic, openai, google, mistral, deepseek, groq, xai, azure, cohere, claude_code) --model, -m # Specific model to use --web-search, -w # Search web for API documentation --auth # Environment variables for auth --health-check # Include health check endpoint (default: true) --logging # Enable structured logging (default: true) --metrics # Enable Prometheus metrics --rate-limit # Rate limiting (requests per minute) --retries # Enable retry logic (default: true) --budget # Maximum spend in USD (aborts if exceeded) --compare-costs # Show cost comparison across providers before generating

Configuration

Environment Variables
VariableDescriptionRequired
ANTHROPIC_API_KEYAnthropic Claude API keyAt least one
CLAUDE_CODE_OAUTH_TOKENClaude Code OAuth tokenprovider key
OPENAI_API_KEYOpenAI API keyis required

| GOOGLE_API_KEY | Google Gemini API key | for generat

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx