About Openapi To Fastmcp
Openapi To Fastmcp is an MCP server published by pxq818 in the Documentation category.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/pxq818/openapi_to_fastmcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Openapi To Fastmcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
OpenAPI to FastMCP 转换工具
这是一个将OpenAPI规范转换为FastMCP服务的工具。该工具可以读取OpenAPI规范文件,并创建一个FastMCP服务器,提供API代理功能。
功能特点
- 支持从OpenAPI规范文件创建FastMCP服务
- 自动将HTTP路由映射为FastMCP组件(工具和资源)
- 提供交互式命令行界面,方便配置参数
- 支持自定义路由映射规则
安装要求
- Python 3.12+
- fastmcp
- httpx
使用方法
1. 创建并激活虚拟环境
python -m venv venv
.\venv\Scripts\activate
2. 安装依赖
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
3. 运行程序
python convert_openapi_to_fastmcp.py
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.