sub-agents.directory
Sentry logo

Sentry

A Model Context Protocol server for retrieving and analyzing issues from Sentry.io. This server provides tools to inspect error reports, stacktraces, and other debugging information from your Sentry account.

Installation Instructions

How to Use Model Context Protocol (MCP) in Claude Code

What is MCP?

Model Context Protocol (MCP) is a protocol that enables LLMs to access custom tools and services. Claude Code can connect to MCP servers to access additional tools and capabilities.

Configuration Steps

  1. Add MCP Server
    • Run: claude mcp add <server-name>
    • Or manually edit ~/.claude/claude_desktop_config.json
  2. Configure MCP Servers
    • Specify servers in the JSON configuration
    • Include necessary arguments and environment variables

Example Configuration

Filesystem Server Example:

{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files" ] } } }

Important Notes

  • MCP servers extend Claude Code's capabilities
  • Only servers using the stdio transport type are supported
  • See the Claude Code documentation for more details