
用于 TestLink 的 模式上下文协议服务器
概览
创建套房,写作并完善测试案例,构建测试计划,记录处决,以及链接要求,全部通过自然语言聊天与任何"模式背景协议"客户端进行. 不再通过 TestLink UI 点击 。 TestLink虽然强大但缓慢地通过手动驱动——每个案例编辑,计划,执行都是一次通过网络UI的旅行. testlink-mcp在TestLink的XML-RPC API前放出一个干净的,这样一个AI助手就可以为你工作: - "在MFT-12上添加详细的步骤,并标出它的高度重要性" 克劳德密码 诅咒 死亡 或者你自己的 - 案件、套房、计划、建造、处决、要求、项目。 - 严格输入验证,清晰的XML-RPC出错映射,并正确内部-vs-外部ID处理,从而编辑右上方的地块. - 吸尘器运行,你连接。 你用普通的语言问.
概述(AI 翻译)
** 运行来自克劳德的测试链接(TestLink)测试管理程序——用普通英语。 ** 创建套房,撰写和完善测试案例,构建测试计划,记录处决情况,以及 链接要求,全部通过自然语言聊天与任意 模式背景协议客户端. 不再点击 通过TestLink UI.
– – . . .
□为什么测试link-mcp?
TestLink 强大而缓慢的手动驱动——每个案件的编辑,计划,执行都是 通过网络用户界面。 testlink-mcp 在 TestLink 服务器前放置了干净的 ** MCP 服务器** XML-RPC API 这样一个AI助手可以为你做:
-** Talk,不要点击.**“添加到MFT-12的详细步骤并标出其高度重要性”.
- ** 与任何MCP客户端合作**——克洛德代码、咒语、去死或你自己的。
- 整个TestLink模式的30个工具**——案件、套房、计划、建造、处决、 要求、项目。
- ** Solid在它计算之处**——严格输入验证、清晰的XML-RPC误差映射,以及
正确的内部 -vs -外部 ID 处理 所以编辑 land on the right case.
-** 一个容器运行它。**
docker run你连接。
如何运作
你用普通的语言问 您的 MCP 客户端( Claude) 选择正确的工具和参数 ;
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
TestLink MCP Server
Run your TestLink test management from Claude — in plain English. Create suites, write and refine test cases, build test plans, record executions, and link requirements, all through natural-language chat with any Model Context Protocol client. No more clicking through the TestLink UI.
Why testlink-mcp?
TestLink is powerful but slow to drive by hand — every case edit, plan, and execution is a trip through the web UI. testlink-mcp puts a clean MCP server in front of TestLink’s XML-RPC API so an AI assistant can do that work for you:
- Talk, don’t click. “Add detailed steps to MFT-12 and mark it high importance.”
- Works with any MCP client — Claude Code, Cursor, Dify, or your own.
- 30 tools across the whole TestLink model — cases, suites, plans, builds, executions, requirements, projects.
- Solid where it counts — strict input validation, clear XML-RPC error mapping, and correct internal-vs-external ID handling so edits land on the right case.
- One container to run it.
docker runand you’re connected.
How it works
You ask in plain language. Your MCP client (Claude) picks the right tool and arguments; testlink-mcp validates them and makes the matching XML-RPC call to TestLink; the result comes back as a plain-language answer. The server speaks MCP over stdio and TestLink over XML-RPC — you only ever see the conversation.
Quick Start
The published Docker image is the fastest way in.
Claude Code
claude mcp add testlink -- docker run --rm -i \
-e TESTLINK_URL=http://your-testlink-host/testlink \
-e TESTLINK_API_KEY=your_api_key_here \
dogkeeper886/testlink-mcp:latest
Cursor / other MCP clients — add to your MCP config:
{
"mcpServers": {
"testlink": {
"command": "docker",
"args": ["run", "--rm", "-i",
"-e", "TESTLINK_URL=http://your-testlink-host/testlink",
"-e", "TESTLINK_API_KEY=your_api_key_here",
"dogkeeper886/testlink-mcp:latest"]
}
}
}
Then ask your assistant: “List the test suites in project 1.”
Get your API key: in TestLink, My Settings → API interface → Generate key, and make sure the XML-RPC API is enabled for your installation.
What you can manage
testlink-mcp covers the full TestLink object model — the requirement that covers a case, the case that lives in a suite and a plan, the build that belongs to a plan, and the execution that records a result.
安装
docker run --rm -i -e TESTLINK_URL=http://your-testlink-host/testlink -e TESTLINK_API_KEY=your_api_key_here dogkeeper886/testlink-mcp:latest配置
{
"mcpServers": {
"testlink": {
"command": "docker",
"args": ["run", "--rm", "-i",
"-e", "TESTLINK_URL=http://your-testlink-host/testlink",
"-e", "TESTLINK_API_KEY=your_api_key_here",
"dogkeeper886/testlink-mcp:latest"]
}
}
}