- Explore MCP Servers
- api-test-mcp
Api Test Mcp
What is Api Test Mcp
api-test-mcp is an API testing tool developed based on FastMCP, allowing AI to test various HTTP API interfaces efficiently.
Use cases
Use cases include creating API test plans based on API documentation, validating API functionality, and testing how APIs handle erroneous data.
How to use
To use api-test-mcp, install the dependencies with ‘npm install’, start the server using ‘npm run dev’, and access the tool via ‘http://localhost:3000’. You can configure the API requests by providing the necessary parameters such as URL, method, query parameters, headers, and body.
Key features
Key features include support for various HTTP methods (GET, POST, PUT, DELETE), query parameters, custom headers, JSON request bodies, and automatic handling of JSON responses.
Where to use
api-test-mcp can be used in software development, quality assurance, and API integration testing across various industries that rely on web services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Api Test Mcp
api-test-mcp is an API testing tool developed based on FastMCP, allowing AI to test various HTTP API interfaces efficiently.
Use cases
Use cases include creating API test plans based on API documentation, validating API functionality, and testing how APIs handle erroneous data.
How to use
To use api-test-mcp, install the dependencies with ‘npm install’, start the server using ‘npm run dev’, and access the tool via ‘http://localhost:3000’. You can configure the API requests by providing the necessary parameters such as URL, method, query parameters, headers, and body.
Key features
Key features include support for various HTTP methods (GET, POST, PUT, DELETE), query parameters, custom headers, JSON request bodies, and automatic handling of JSON responses.
Where to use
api-test-mcp can be used in software development, quality assurance, and API integration testing across various industries that rely on web services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
api-test-mcp
- 接口测试工具
- 生成接口测试计划,批量执行测试,评估测试结果,导出接口测试结果。
api-test-mcp核心功能
- 创建测试计划
- 批量执行测试任务
- 自动评估接口测试结果
- 可导出数据
更新信息
25 6月 10日
ORM从Prisma迁移至drizzle,降低项目资源占用,提升项目性能。
接口从sse切换至streamableHttp
快速开始
- docker部署
git clone https://github.com/Actrue/api-test-mcp.git ##复制源码
cd api-test-mcp
docker build -t api-test-mcp .
docker run -p 3000:3000 -v $(pwd)/data:/usr/src/app/data api-test-mcp
接入使用(cherry studio 为例)
添加服务器->类型选择streamableHttp->url填写 http://localhost:3000/mcp ->点击保存
源码构建
环境要求
node>=20
pnpm
构建过程
git clone https://github.com/Actrue/api-test-mcp.git ##复制源码
cd api-test-mcp
pnpm run go ##启动命令 此命令将在端口3000启动sse服务器
使用须知
推荐配合以下提示词使用
你是一个接口测试员,你将会得到接口的api文档,然后根据接口文档制作接口测试计划表以及计划任务, 你不仅需要检验api接口功能是否正常,也需要测试接口在接受错误数据时是否能正确处理, 若用户忘记提供测试url,请提醒用户 回复格式 [规划测试计划] 调用工具,制作接口测试计划 [调用插件按照计划进行测试] 格式:测试编号,测试目标,测试结果。 [根据结果生成总结和建议] 调用工具,把总结和建议写入数据表汇总 [测试结果,并导出为excel] 调用工具,获取测试结果 [测试结果总结] 总结整个测试情况 要求: url必须是完整链接
支持平台
- Mac
- Windows
- Linux
技术栈
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










