๐ค MCP Integration
Connect Sniffer to AI assistants like Claude, Cursor, and VS Code via Model Context Protocol for AI-assisted bug triage, summarization, and code-fix suggestions.
๐ Overview#
MCP (Model Context Protocol) is an open standard that allows AI assistants to interact with external tools programmatically. Snifferโs MCP integration enables AI assistants to read bugs, create issues, update statuses, add comments, link issues, and search your project โ bringing AI-powered automation into your defect tracking workflow without copying and pasting.
Setup documentation is available in your project at Settings โ MCP Docs (/sf/projects/:id/settings/mcp-docs).

MCP is the only AI surface inside Sniffer โ the conversational Ask AI panel and the autonomous Orchestrator job engine ship with other Sniffer product configurations, not the Sniffer (SUPPORT) build documented here.
๐ง Setup#
Prerequisites#
- An AI tool that supports MCP (Claude Desktop, Cursor, VS Code with MCP extension, Zed)
- A Sniffer account with API access
- Project-level permissions
Configuration Steps#
- Navigate to Settings โ MCP Docs in your Sniffer project.
- Copy the MCP server configuration block (JSON).
- Add it to your AI toolโs MCP settings file:
// ~/.config/claude/claude_desktop_config.json (example)
{
"mcpServers": {
"sniffer": {
"command": "npx",
"args": ["-y", "@sniffer/mcp-server"],
"env": {
"SNIFFER_API_TOKEN": "your-token-here",
"SNIFFER_PROJECT_ID": "your-project-id",
"SNIFFER_BASE_URL": "https://api.snifferweb.com"
}
}
}
}- Authenticate with your Sniffer API token (generate one from Company Settings โ API Token).
- Restart your AI tool. The Sniffer tools appear in the tool list.
- The AI assistant can now interact with your Sniffer project.
๐ผ๏ธ Insert image of Claude Desktop / Cursor with the Sniffer MCP tools visible in the tools menu.
๐ ๏ธ Available Operations#
๐ก Use Cases#
๐ AI Pair Programming#
Ask your AI assistant questions about your bugs:
- โWhatโs the highest priority bug in project SNF?โ
- โShow me all unresolved bugs assigned to me.โ
- โSummarize the console logs for bug SNF-142.โ
- โWhatโs the average time-to-resolution this week?โ
๐ค Automated Triage#
AI reads new bugs and suggests:
- Priority level based on error severity
- Assignee based on affected code area
- Tags based on error patterns
- Duplicate links to existing similar bugs
๐ Bug Summarization#
AI generates summaries of bug clusters:
- โWhat are the common themes across this weekโs bugs?โ
- โCreate a summary of all critical bugs for the standup.โ
- โDraft a release-notes section based on bugs closed this week.โ
๐ง Code Fix Suggestions#
AI analyzes bug context (console logs, network failures, stack traces) and suggests fixes:
- โBased on the stack trace in SNF-142, what might be causing this null pointer?โ
- โThe network log shows a 403 โ whatโs the likely auth issue?โ
- โOpen the affected file from this bug in my editor and propose a patch.โ
๐ช Bulk Operations#
- โReassign all bugs tagged
authto the security team.โ - โClose every bug in โDoneโ thatโs older than 14 days.โ
๐ผ๏ธ Insert image of a Claude / Cursor chat that uses Sniffer MCP tools end-to-end.
๐ Security#
๐งช Testing the Connection#
Once configured, ask your AI: โUse Sniffer to list the 5 most recent bugs in project Xโ. You should see the AI invoke the list_bugs tool and return results inline.
If the tool call fails:
- Check the AI toolโs MCP log for error details.
- Verify the API token has not expired.
- Confirm the project ID is correct.
- Test the same token with
curlagainsthttps://api.snifferweb.com/v1/projectsto isolate transport issues.