mcp-sequentialthinking-qa
An MCP server that guides QA and verification processes by breaking down tasks into manageable steps and providing LLM-driven, confidence-scored tool recommendations.
README
mcp-sequentialthinking-qa
An adaptation of the MCP Sequential Thinking Server designed to guide tool usage in QA and verification processes. This server helps break down verification tasks into manageable steps and provides LLM-driven recommendations for which MCP tools would be most effective at each stage.
A Model Context Protocol (MCP) server that combines sequential thinking with intelligent tool suggestions for QA tasks. For each step in the verification process, it provides confidence-scored recommendations for which tools to use, along with rationale for why each tool would be appropriate.
Features
- 🤔 Dynamic and reflective QA problem-solving through sequential thoughts
- 🔄 Flexible verification process that adapts and evolves
- 🌳 Support for branching and revision of thoughts
- 🛠️ LLM-driven intelligent tool recommendations for QA tasks
- 📊 Confidence scoring for tool suggestions
- 🔍 Detailed rationale for tool recommendations
- 📝 Step tracking with expected outcomes
- 🔄 Progress monitoring with previous and remaining steps
- 🎯 Alternative tool suggestions for each step
- 🧠 Memory management with configurable history limits
- 🗑️ Manual history cleanup capabilities
How It Works
This server facilitates sequential thinking with MCP tool coordination for QA and verification tasks. The LLM analyzes available tools and their descriptions to make intelligent recommendations for verification processes, which are then tracked and organized by this server.
The workflow:
- LLM provides available MCP tools to the sequential thinking QA server
- LLM analyzes each verification step and recommends appropriate tools
- Server tracks recommendations, maintains context, and manages memory
- LLM executes recommended tools and continues the verification process
Each recommendation includes:
- A confidence score (0-1) indicating how well the tool matches the verification need
- A clear rationale explaining why the tool would be helpful for this QA step
- A priority level to suggest tool execution order
- Suggested input parameters for the tool
- Alternative tools that could also be used
The server works with any MCP tools available in your environment and automatically manages memory to prevent unbounded growth.
Example Usage
Here's an example of how the server guides tool usage for QA verification:
{
"available_mcp_tools": [
"mcp-filesystem",
"mcp-playwright",
"mcp-omnisearch"
],
"thought": "Need to verify package version compatibility before implementing configuration",
"verification_target": "package version compatibility",
"current_step": {
"step_description": "Check installed package version in package.json",
"expected_outcome": "Confirmed package version and dependencies",
"recommended_tools": [
{
"tool_name": "read_file",
"confidence": 0.95,
"rationale": "Examine package.json to determine installed version and dependencies",
"priority": 1,
"suggested_inputs": {
"path": "package.json"
}
},
{
"tool_name": "execute_command",
"confidence": 0.75,
"rationale": "Run npm list to verify actually installed versions",
"priority": 2,
"alternatives": ["pnpm list", "yarn list"]
}
],
"next_step_conditions": [
"Version identified",
"Dependencies verified",
"Check for breaking changes between versions"
]
},
"thought_number": 1,
"total_thoughts": 4,
"next_thought_needed": true
}
The server tracks your progress and supports:
- Creating branches to explore different verification approaches
- Revising previous thoughts with new information
- Maintaining context across multiple verification steps
- Suggesting next steps based on current findings
- Adapting to the specific tools available in your environment
Configuration
This server requires configuration through your MCP client. Here are examples for different environments:
Cline Configuration
Add this to your Cline MCP settings:
{
"mcpServers": {
"mcp-sequentialthinking-qa": {
"command": "npx",
"args": ["-y", "mcp-sequentialthinking-qa"],
"env": {
"MAX_HISTORY_SIZE": "1000"
}
}
}
}
Claude Desktop with WSL Configuration
For WSL environments, add this to your Claude Desktop configuration:
{
"mcpServers": {
"mcp-sequentialthinking-qa": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"MAX_HISTORY_SIZE=1000 source ~/.nvm/nvm.sh && /home/username/.nvm/versions/node/v20.12.1/bin/npx mcp-sequentialthinking-qa"
]
}
}
}
API
The server implements a single MCP tool with configurable parameters:
sequentialthinking_qa
A tool for QA-focused sequential thinking with intelligent tool recommendations for verification tasks.
Parameters:
available_mcp_tools(array, required): Array of MCP tool names available for use (e.g., ["mcp-omnisearch", "mcp-playwright", "mcp-filesystem"])thought(string, required): Your current thinking step in the QA processnext_thought_needed(boolean, required): Whether another thought step is neededthought_number(integer, required): Current thought numbertotal_thoughts(integer, required): Estimated total thoughts neededverification_target(string, optional): What's being verified (code, config, package version, etc.)is_revision(boolean, optional): Whether this revises previous thinkingrevises_thought(integer, optional): Which thought is being reconsideredbranch_from_thought(integer, optional): Branching point thought numberbranch_id(string, optional): Branch identifierneeds_more_thoughts(boolean, optional): If more thoughts are neededcurrent_step(object, optional): Current step recommendation with:step_description: What needs to be donerecommended_tools: Array of tool recommendations with confidence scoresexpected_outcome: What to expect from this stepnext_step_conditions: Conditions for next step
previous_steps(array, optional): Steps already recommendedremaining_steps(array, optional): High-level descriptions of upcoming steps
Memory Management
The server includes built-in memory management to prevent unbounded growth:
- History Limit: Configurable maximum number of thoughts to retain (default: 1000)
- Automatic Trimming: History automatically trims when limit is exceeded
- Manual Cleanup: Server provides methods to clear history when needed
Configuring History Size
You can configure the history size by setting the MAX_HISTORY_SIZE
environment variable:
{
"mcpServers": {
"mcp-sequentialthinking-qa": {
"command": "npx",
"args": ["-y", "mcp-sequentialthinking-qa"],
"env": {
"MAX_HISTORY_SIZE": "500"
}
}
}
}
Or for local development:
MAX_HISTORY_SIZE=2000 npx mcp-sequentialthinking-qa
Development
Setup
- Clone the repository
- Install dependencies:
pnpm install
- Build the project:
pnpm build
- Run in development mode:
pnpm dev
Publishing
The project uses changesets for version management. To publish:
- Create a changeset:
pnpm changeset
- Version the package:
pnpm changeset version
- Publish to npm:
pnpm release
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see the LICENSE file for details.
Acknowledgments
- Built on the Model Context Protocol
- Adapted from the MCP Sequential Thinking Server
- Inspired by mcp-sequentialthinking-tools
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。