G
gabrielekarra/mcp-anything
One command to turn any codebase into an MCP server
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
- 复制上面的命令
- 粘成
claude_desktop_config.json里mcpServers的一项(本地服务器用 command + args,示例见 客户端接法) - 重启客户端
取自该仓库的安装命令
pip install mcp-anything
解析自我们于 2026-11-05 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
- 安装
pip install mcp-anything
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
pip install mcp-anything。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# MCP-Anything
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Describe what you want. Get a production-ready MCP server.
MCP-Anything turns any data source into a fully implemented MCP server — from a plain-language brief describing what agents should be able to do. It also works directly from codebases, OpenAPI specs, gRPC protos, and GraphQL schemas. Two modes, one tool.
## Try it inside Claude Code
No install step — the skill installs the CLI for you on first use.
/plugin marketplace add gabrielekarra/mcp-anything
/plugin install mcp-anything@mcp-anything
Then just ask: "turn this OpenAPI spec into an MCP server" or "wrap my Flask app as MCP tools". The skill figures out the right mode (generate vs. brief-driven build), runs it, and hands you back a working server plus the client config to add it.
## Quick start
1. Install
bash
pip install mcp-anything
export ANTHROPICAPIKEY=sk-...
2. Write a brief — describe your domain and point at your data source
yaml
# my-api.yaml
servername: payments-mcp
domaindescription: >
A payment API for managing customers, invoices, and subscriptions.
usecases:
"Create a customer with email and name"
"Issue an invoice and send it to the customer"
"Create and cancel subscriptions"
"Issue refunds"
datasourcepath: ./openapi.json # local file or URL
datasourcekind: openapi # openapi | graphql | grpc
authmethod: bearertoken
backendtarget: fastmcp
3. Build
bash
mcp-anything build --brief my-api.yaml -o ./my-mcp-server
4. Run
bash
cd my-mcp-server
pip install -e .
python -m mcppaymentsmcp.server
That's it. You now have a running MCP server. Add it to your agent:
json
"mcpServers": {
"payments": { "command": "python", "args": ["-m", "mcppaymentsmcp.server"] }
## Two modes
### build — brief-driven (recommended)
The LLM reads your brief, groups related operations into ergonomic tools, writes agent-optimised descriptions, and generates the full server package including a SKILL.md agent guide and an eval harness.
### generate — codebase scanner (no brief required)
Point at source code or a spec URL. Static detection, no LLM needed.
bash
# From a local codebase
mcp-anything generate /path/to/your/app
# From a URL (OpenAPI, GraphQL, gRPC)
mcp-anything generate https://api.example.com/openapi.json
## What you get
Both modes produce a complete, pip-installable package:
my-mcp-server/
├── mcp /
│ ├── server.py # FastMCP server (stdio or HTTP)
│ ├── tools/ # One file per tool, HTTP calls via httpx
│ ├── discovery.py # GET /.well-known/mcp
│ └── telemetry.py # Anonymised per-call logging
├── SKILL.md # Agent-readable usage guide (recipes, gotchas, anti-patterns)
├── quickqueries.json # Eval set derived from your use cases
├── evalcases.json # LLM-generated evaluation cases
├── conformancereport.json
├── Dockerfile
└── pyproject.toml
SKILL.md is the key output. It's a structured document written for AI agents — not humans — that lists every tool with its parameters, operation modes, usage recipes, gotchas, and anti-patterns. Agents read it before making any calls, which dramatically reduces hallucinations and misuse.
## How tools get designed
The LLM follows 2026 MCP design rules automatically:
Group CRUD. Three or more operations on the same resource become a single manageX(operation=...) tool. Fewer tools, broader coverage, easier for agents to use.
MCP-Anything turns any data source into a fully implemented MCP server — from a plain-language brief describing what agents should be able to do. It also works directly from codebases, OpenAPI specs, gRPC protos, and GraphQL schemas. Two modes, one tool.
## Try it inside Claude Code
No install step — the skill installs the CLI for you on first use.
/plugin marketplace add gabrielekarra/mcp-anything
/plugin install mcp-anything@mcp-anything
Then just ask: "turn this OpenAPI spec into an MCP server" or "wrap my Flask app as MCP tools". The skill figures out the right mode (generate vs. brief-driven build), runs it, and hands you back a working server plus the client config to add it.
## Quick start
1. Install
bash
pip install mcp-anything
export ANTHROPICAPIKEY=sk-...
2. Write a brief — describe your domain and point at your data source
yaml
# my-api.yaml
servername: payments-mcp
domaindescription: >
A payment API for managing customers, invoices, and subscriptions.
usecases:
"Create a customer with email and name"
"Issue an invoice and send it to the customer"
"Create and cancel subscriptions"
"Issue refunds"
datasourcepath: ./openapi.json # local file or URL
datasourcekind: openapi # openapi | graphql | grpc
authmethod: bearertoken
backendtarget: fastmcp
3. Build
bash
mcp-anything build --brief my-api.yaml -o ./my-mcp-server
4. Run
bash
cd my-mcp-server
pip install -e .
python -m mcppaymentsmcp.server
That's it. You now have a running MCP server. Add it to your agent:
json
"mcpServers": {
"payments": { "command": "python", "args": ["-m", "mcppaymentsmcp.server"] }
## Two modes
### build — brief-driven (recommended)
The LLM reads your brief, groups related operations into ergonomic tools, writes agent-optimised descriptions, and generates the full server package including a SKILL.md agent guide and an eval harness.
### generate — codebase scanner (no brief required)
Point at source code or a spec URL. Static detection, no LLM needed.
bash
# From a local codebase
mcp-anything generate /path/to/your/app
# From a URL (OpenAPI, GraphQL, gRPC)
mcp-anything generate https://api.example.com/openapi.json
## What you get
Both modes produce a complete, pip-installable package:
my-mcp-server/
├── mcp /
│ ├── server.py # FastMCP server (stdio or HTTP)
│ ├── tools/ # One file per tool, HTTP calls via httpx
│ ├── discovery.py # GET /.well-known/mcp
│ └── telemetry.py # Anonymised per-call logging
├── SKILL.md # Agent-readable usage guide (recipes, gotchas, anti-patterns)
├── quickqueries.json # Eval set derived from your use cases
├── evalcases.json # LLM-generated evaluation cases
├── conformancereport.json
├── Dockerfile
└── pyproject.toml
SKILL.md is the key output. It's a structured document written for AI agents — not humans — that lists every tool with its parameters, operation modes, usage recipes, gotchas, and anti-patterns. Agents read it before making any calls, which dramatically reduces hallucinations and misuse.
## How tools get designed
The LLM follows 2026 MCP design rules automatically:
Group CRUD. Three or more operations on the same resource become a single manageX(operation=...) tool. Fewer tools, broader coverage, easier for agents to use.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/gabrielekarra-mcp-anything/)
- 来源
- awesome · https://github.com/gabrielekarra/mcp-anything
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。