cursor-mcp-qa-agent
A local MCP server that gives Cursor Agent three focused QA tools for analyzing user stories, creating test charters, and drafting bug reports, with built-in safety rules and reusable workflows.
README
Cursor + MCP QA Agent
A local Model Context Protocol server that gives Cursor Agent three focused QA tools, plus project rules and reusable workflows.
What the agent can do
| MCP tool | Purpose |
|---|---|
analyze_user_story |
Extract criteria, risks, and open questions |
create_test_charter |
Build a timeboxed risk-based exploratory session |
draft_bug_report |
Format verified evidence without inventing missing details |
Architecture
Cursor Agent
├─ .cursor/rules/qa-agent.mdc → behavior and safety rules
└─ .cursor/mcp.json → local stdio connection
↓
QA MCP server (TypeScript)
├─ analyze story
├─ create charter
└─ draft bug report
Cursor provides the AI reasoning. The MCP server provides small, validated, deterministic tools.
Run and connect
npm install
npm run build
npm run smoke
Then open the repository in Cursor. The project-level .cursor/mcp.json registers the built server. Confirm portfolio-qa-toolkit is enabled in Cursor settings, open Agent, and paste the feature review prompt.
Why this is safe by default
- Tools do not access the filesystem, shell, network, or issue trackers.
- Zod validates every input before execution.
- Rules prohibit invented evidence and secrets.
- Bug severity remains a human decision.
- The MCP smoke test launches the server, discovers tools, and calls one through the real protocol.
Interview demo (3 minutes)
- Show
.cursor/mcp.jsonand the three tools in Cursor. - Paste the feature review prompt.
- Let Agent call
analyze_user_story, then create a charter. - Explain the boundary: Agent reasons; MCP supplies validated capabilities; a human approves conclusions.
Project structure
src/server.ts MCP server and schemas
src/qa-tools.ts testable domain functions
.cursor/mcp.json project MCP connection
.cursor/rules/qa-agent.mdc persistent agent guidance
prompts/ repeatable demo workflows
examples/ sample feature description
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.