Skip to Content
AI & AutomationMCP Integrations

๐Ÿค– 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#

  1. Navigate to Settings โ†’ MCP Docs in your Sniffer project.
  2. Copy the MCP server configuration block (JSON).
  3. 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" } } } }
  1. Authenticate with your Sniffer API token (generate one from Company Settings โ†’ API Token).
  2. Restart your AI tool. The Sniffer tools appear in the tool list.
  3. 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#

OperationDescription
List ProjectsGet all projects in your organization
List BugsFetch bugs from a project with filters
Get Bug DetailRetrieve full details of a specific bug including logs and context
Create BugCreate a new bug with summary, description, severity, and tags
Update BugChange status, priority, assignee, or other fields
Add CommentPost a comment on a bug
Search BugsFull-text search across bug titles and descriptions
Link IssuesCreate parent/child, blocks/blocked-by, duplicate relationships
Trigger AI AnalysisKick off AI defect analysis on a bug
Get Console LogsFetch captured console logs for a bug
Get Network LogsFetch captured network logs for a bug
List MembersList team members and their roles

๐Ÿ’ก 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 auth to 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#

AspectDetails
AuthenticationAPI token-based auth (Bearer)
ScopingOperations scoped to project-level permissions
Read-only modeCan be configured to allow only read operations
Audit trailAll MCP operations are logged in activity history
Token rotationRotate tokens from Company Settings โ†’ API Info
NetworkTLS 1.2+, optional IP allow-list at enterprise tier

๐Ÿงช 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:

  1. Check the AI toolโ€™s MCP log for error details.
  2. Verify the API token has not expired.
  3. Confirm the project ID is correct.
  4. Test the same token with curl against https://api.snifferweb.com/v1/projects to isolate transport issues.

TopicDescription
๐Ÿ”‘ API Tokens โ†’ย API tokens that authorize the MCP server
๐Ÿ“‹ Task Board โ†’ย Bugs created/updated via MCP appear on the board
๐Ÿ› Bug Details โ†’ย The detail drawer opened from MCP-fetched bugs
๐Ÿ“Š Dashboard โ†’ย AI defect analysis on the dashboard
โš™๏ธ Settings โ†’ย MCP Docs page in project settings

ยฉ 2026 Your Company