MCP Tool Factory
概要
作者による説明(英語の原文)
Generate MCP servers from natural language, OpenAPI specs, or database schemas.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 48/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: データベース・データセット
- 入力が必要なもの:ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, OPENAI_API_KEY, GOOGLE_API_KEY
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
ANTHROPIC_API_KEY,CLAUDE_CODE_OAUTH_TOKEN,OPENAI_API_KEY,GOOGLE_API_KEY
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- npmNode.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": "your-value",
"CLAUDE_CODE_OAUTH_TOKEN": "your-value",
"OPENAI_API_KEY": "your-value",
"GOOGLE_API_KEY": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add tool-factory --env ANTHROPIC_API_KEY=your-value --env CLAUDE_CODE_OAUTH_TOKEN=your-value --env OPENAI_API_KEY=your-value --env GOOGLE_API_KEY=your-value -- npx -y @heshamfsalama/mcp-tool-factory動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"tool-factory": {
"command": "npx",
"args": [
"-y",
"@heshamfsalama/mcp-tool-factory"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"CLAUDE_CODE_OAUTH_TOKEN": "your-value",
"OPENAI_API_KEY": "your-value",
"GOOGLE_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"tool-factory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@heshamfsalama/mcp-tool-factory"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"CLAUDE_CODE_OAUTH_TOKEN": "your-value",
"OPENAI_API_KEY": "your-value",
"GOOGLE_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- Anthropic Claude API key (one of the 4 provider keys is required)
- Claude Code OAuth token (one of the 4 provider keys is required)
- OpenAI GPT API key (one of the 4 provider keys is required)
- Google Gemini API key (one of the 4 provider keys is required)
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント HeshamFS で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
データベース・データセットのほかのサーバーとの比較i
- このカテゴリのほかの1144件のうち0%よりスターが多い
- このカテゴリのほかの1144件のうち3%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1144件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
MCP Tool Factoryは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN, OPENAI_API_KEY, GOOGLE_API_KEY
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは10 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。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
| Feature | Description |
|---|---|
| Natural Language | Describe your tools in plain English |
| OpenAPI Import | Convert any REST API spec to MCP tools |
| Database CRUD | Generate tools from SQLite or PostgreSQL schemas |
| GraphQL Import | Convert GraphQL schemas to MCP tools (queries to reads, mutations to writes) |
| Ontology Import | Generate from RDF/OWL, JSON-LD, or YAML ontologies |
| Resources & Prompts | Full support for all three MCP primitives: Tools, Resources, and Prompts |
| 10 LLM Providers | Anthropic, OpenAI, Google, Mistral, DeepSeek, Groq, xAI, Azure, Cohere + Claude Code via Vercel AI SDK |
| Cost Tracking | Per-call cost calculation, budget limits, provider cost comparison |
| Parallel Generation | Tool implementations generated concurrently for faster output |
| LLM Response Caching | Deduplicates identical LLM calls with configurable TTL |
| Streamable HTTP | Generated servers use the modern Streamable HTTP transport |
| Web Search | Auto-fetch API documentation for better generation |
| Production Ready | Logging, metrics, rate limiting, retries built-in |
| Type Safe | Full TypeScript with strict mode |
| MCP Registry | Generates server.json for registry publishing |
| Is an MCP Server | Use 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 Var | Purpose | Example |
|---|---|---|
MCP_FACTORY_PROVIDER | Override auto-detected provider | openai, groq, deepseek |
MCP_FACTORY_MODEL | Override default model | gpt-5.2, deepseek-chat |
MCP_FACTORY_BUDGET | Per-generation budget limit in USD | 0.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
| Tool | Description |
|---|---|
generate_mcp_server | Generate from natural language description |
generate_from_openapi | Generate from OpenAPI specification |
generate_from_database | Generate from database schema |
generate_from_graphql | Generate from GraphQL schema |
generate_from_ontology | Generate from RDF/OWL, JSON-LD, or YAML ontology |
validate_typescript | Validate TypeScript code |
list_providers | List available LLM providers |
get_factory_info | Get 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_servertool*
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
| Command | Description |
|---|---|
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 |
info | Display 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
| Variable | Description | Required |
|---|---|---|
ANTHROPIC_API_KEY | Anthropic Claude API key | At least one |
CLAUDE_CODE_OAUTH_TOKEN | Claude Code OAuth token | provider key |
OPENAI_API_KEY | OpenAI API key | is required |
| GOOGLE_API_KEY | Google Gemini API key | for generat
冒頭だけを表示しています。続きはリポジトリで読めます