BugPilot MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BugPilot MCP Servershow me all high severity bugs in the current sprint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BugPilot
AI-Powered Engineering Bug Intelligence Agent
Core Architecture: BugPilot runs on a clean, end-to-end decoupled pipeline: React / Vite → FastAPI Backend → ReAct Orchestrator → Specialist Agents → MCP Client → MCP Server → 10 Read-Only Tools → SQLite Database (Synthetic Jira Data).
1. System Architecture
┌─────────────────────────────────────────────────────────────────────────────┐
│ React / Vite Frontend (TypeScript) │
└──────────────────────────────────────┬──────────────────────────────────────┘
│ HTTP REST API (JWT + RBAC + Tenant Isolation)
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ FastAPI Backend (Port 8000) │
└──────────────────────────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ ReAct Orchestrator Agent │
│ Dynamic reasoning loop: Goal → LLM Decision → Tool Call → │
│ Observation → Next Decision → FINISH │
│ [Groq Primary API + Local Ollama Fallback] │
└───────────┬──────────────────────────┼──────────────────────────┬───────────┘
│ │ │
▼ ▼ ▼
┌──────────────────────┐ ┌──────────────────────┐ ┌──────────────────────┐
│ Bug Analyst Agent │ │ Trend Analyst Agent │ │ Risk Analyst Agent │
└───────────┬──────────┘ └──────────┬───────────┘ └──────────┬───────────┘
│ │ │
└──────────────────────────┼──────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ MCP Client │
│ Dynamic tool discovery, timeout & sandboxing │
└──────────────────────────────────────┬──────────────────────────────────────┘
│ stdio JSON-RPC Transport
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ MCP Server (mcp_server) │
│ Exposes 10 Strict READ-ONLY Tools │
└──────────────────────────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ AnalyticsService │
│ Deterministic metric calculation & statistical trends │
└──────────────────────────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ DataProvider Interface (SQLDataProvider / SQLite) │
│ Multi-tenant tenant isolation (`organization_id`) │
└──────────────────────────────────────┬──────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ SQLite Database (`sqlite:///./bugpilot.db`) │
│ Realistic Jira-style Defect Catalog, Sprints, Users & Audit Trails │
└─────────────────────────────────────────────────────────────────────────────┘Strict Data Access Contract
✅ Agent → MCP Client → MCP Server → AnalyticsService → DataProvider → SQLite Data
❌ Agent → Direct Database Access (FORBIDDEN)
❌ Agent → Direct Data File Reading (FORBIDDEN)
❌ External Vector Database / RAG dependencies (FORBIDDEN)Agents interact exclusively through dynamically discovered MCP tools, preserving sandboxing and full testability.
Related MCP server: mcp-sqlite-manager
2. 10 MCP Tools Reference
All 10 tools are strictly read-only, tenant-scoped (org_id), and dynamically discovered via the MCP protocol:
# | Tool Name | Required / Optional Parameters | Description & Evidence Returned |
1 |
|
| Search bugs by keyword in issue key, title, summary, or description. |
2 |
|
| Retrieve complete details for a single bug (severity, priority, root cause, business impact, environment, reproduction steps, fix version). |
3 |
|
| Aggregated bug counts, open vs. resolved distributions, and severity breakdowns. |
4 |
|
| Monthly creation vs. resolution trends and historical sprint completion velocity. |
5 |
|
| Open defects sorted descending by age in days to highlight SLA risk. |
6 |
|
| Defects that transitioned from Resolved/Closed back to Open/In Progress ( |
7 |
|
| Component-level risk scores (0–100), active open issue counts, and blast radius indicators. |
8 |
|
| Fix version / release readiness assessment, overall risk score, and deployment verdict. |
9 |
|
| Chronological status transition history, reopen timestamps, and developer discussion comments. |
10 |
|
| Related defects sharing component context, technical root cause, or explicit linked issue IDs. |
3. Dynamic ReAct Orchestration & Comparative Analysis
The Orchestrator Agent operates on a genuine Reasoning + Action (ReAct) loop:
Intent & Out-of-Domain Guardrail — Early checks filter non-engineering queries without wasting LLM/tool invocations.
Dynamic Tool Selection — LLM decides each action (
CALL_TOOL,DELEGATE, orFINISH) based on the query, dynamically discovered tools, and accumulated observations.Iterative Multi-Candidate Inspection — For comparative and ranking queries ("analyze authentication bugs and identify the highest-risk issue"),
search_bugsdiscovers candidates, and the Orchestrator iteratively invokesget_bugon each candidate defect before allowingFINISH, ensuring full technical evidence (root cause, blast radius, reproduction steps) is gathered.Differentiated Evidence-Grounded Risk Scoring — Evaluates severity, priority, status, production environment, security impact (e.g. SOC2/session hijacking), and technical root causes (e.g. race condition, crash). Generates non-saturating scores (0.0–99.5) to avoid artificial 100/100 ties.
Reflection Agent Quality Evaluation — Validates generated reports against ground-truth MCP data to prevent hallucinations and confirm accurate reporting.
4. Multi-Tenancy & RBAC Security
Tenant Isolation — Every database record (
issues,sprints,users,audit_logs) is strictly scoped byorganization_id(e.g.org-acme). Cross-organization data access is blocked at the repository and MCP layers.Role-Based Access Control (RBAC):
Admin — Full access, user management, and issue administration.
Engineer / Developer — Create, update, transition, and analyze issues.
Viewer — Read-only access to issues, analytics, and reports.
Secrets Management — No secret keys or credentials are hardcoded. JWT secrets, API keys, and environment variables are strictly loaded from
.envand excluded from version control.
5. Technology Stack
Layer | Component | Technology |
Frontend | Interactive UI | React 18 + TypeScript + Vite |
Backend API | REST API Server | FastAPI + Uvicorn + Pydantic v2 |
Orchestration | Agent Loop | ReAct Agent Framework + Specialist Delegation |
LLM Gateway | Inference Engine | Groq API ( |
Tool Protocol | Tooling Layer | Official Python MCP SDK ( |
Data Layer | Persistent Database | SQLAlchemy 2.0 ORM + SQLite ( |
Security | Auth & RBAC | PyJWT (HS256) + Passlib (bcrypt) + Header-based Tenant Scoping |
Quality | Reflection & Test | Reflection Agent Grounding + Pytest (329 tests, 100% pass) |
6. Setup & Execution Guide
Prerequisites
Python 3.12+
Node.js 18+ (for frontend)
A Groq API key (optional — the app runs without one, falling back to local Ollama or deterministic mode)
1. Backend Setup
# Clone and enter project
git clone <repo-url> bugpilot
cd bugpilot
# Create and activate virtual environment
python -m venv .venv
# Windows: .\.venv\Scripts\activate | macOS/Linux: source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Configure environment (defaults to SQLite with zero setup)
cp .env.example .env
# Optional: add your GROQ_API_KEY to .env for live LLM responses2. Run Standalone MCP Server
# Windows
.\.venv\Scripts\python -m mcp_server.server
# macOS / Linux
.venv/bin/python -m mcp_server.server3. Run FastAPI Backend
uvicorn backend.main:app --host 127.0.0.1 --port 8000 --reloadThe database is created and seeded automatically on first startup — no migration step required. Verify it's healthy at http://127.0.0.1:8000/api/v1/health and http://127.0.0.1:8000/docs.
4. Build & Run Frontend
cd frontend
npm install
npm run devThe Vite dev server proxies /api requests to the FastAPI backend on port 8000 (see vite.config.ts), so both services need to be running together.
5. Execute Test Suite
# Run all unit and integration tests (329 tests)
pytest tests/unit tests/integration -qLLM calls are mocked during tests (see tests/conftest.py), so the suite runs deterministically without a Groq/Ollama connection. Because several tests spin up a fresh MCP server subprocess, the full suite takes a few minutes — this is expected, not a hang.
7. Evaluation & Quality Results
BugPilot ships with an automated evaluation harness (evaluation/) that scores the agent against a 23-query golden dataset across 11 dimensions — intent accuracy, tool selection, groundedness, hallucination rate, trajectory validity, instruction following, safety, and latency — without relying on manual grading. Run it yourself with:
python -m evaluation.run_evalLatest committed results (evaluation_report.json):
Metric | Result |
Task success rate | 21 / 23 (91.3%) |
Hallucination rate | 0.0% |
Tool call success rate | 100% |
Agent routing accuracy | 95.7% |
Mean latency | 2.3s (P95: 4.6s) |
The two non-passing queries were intent-routing edge cases (e.g. a query classified as COMPONENT_ANALYSIS instead of METRIC), not hallucinations or failures — the agent never fabricated information in any of the 23 test cases.
A concurrency/load test (1–50 simultaneous users) is also included via evaluation/load_tester.py. At up to 25 concurrent users the system holds a 0% error rate; at 50 concurrent users, error rate rises to ~66%, indicating the current single-instance setup is not yet tuned for high-concurrency production traffic. See Known Limitations below.
Note on cost/token figures: the
estimated_total_cost_usdandaverage_tokens_per_queryvalues inevaluation_report.jsonare word-count-based estimates, not real Groq API usage data. Treat them as rough indicators, not billing figures.
8. Known Limitations
In the interest of transparency for reviewers:
Concurrency ceiling — load testing shows a sharp rise in error rate at 50 simultaneous users (see above). Suitable for demo/small-team use as-is; would need connection pooling / async tuning for larger production traffic.
Estimated (not measured) token/cost tracking — the evaluation report's cost figures are heuristic estimates based on word counts, not real API usage accounting.
Small golden evaluation set — the automated evaluation covers 23 representative queries; broader coverage (more adversarial/prompt-injection cases, more edge cases) would strengthen confidence further.
generate_pdf.pyis a standalone documentation-export utility with a Windows-specific default output path; pass an explicit filename argument on macOS/Linux.
---.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides comprehensive SQLite database interaction for AI agents, including data manipulation, schema inspection, and automated query logging. It features a unique context preservation pattern that uses a dedicated meta-table to help autonomous agents maintain self-documenting database architectures.361MIT
- Flicense-qualityDmaintenanceEnables SQLite database interactions including querying, updating, and schema management through structured tools.3
- Flicense-qualityDmaintenanceExposes a SQLite database to AI assistants with structured, read-safe access. Includes five tools for schema exploration, querying, and sampling data.
- Flicense-qualityCmaintenanceExposes any SQLite database as read-only MCP tools for AI assistants, enabling listing tables, describing schemas, and running SELECT queries with filtering, ordering, and pagination.
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Read-only tools over the Safer Agentic AI framework: 238 patterns + 14 heuristics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PS-minalprasad/Bugpilot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server