Dendrite MCP Tools
Dendrite provides MCP (Model Context Protocol) tools for AI assistants to search and understand your codebase.Available Tools
dendrite_search
Semantic search across your codebase.dendrite_explain
Get an explanation of a file or function.dendrite_diagram
Generate a diagram for a module or system.Example Conversations
User: “How does authentication work in the API?” Assistant uses:dendrite_search with query: "authentication API"
Response: “Based on the codebase, authentication uses JWT tokens. The SessionsController#create validates credentials and returns a token, which is then verified by the Authenticatable concern on protected endpoints.”
User: “Explain the payment flow” Assistant uses:
dendrite_explain with file: "app/services/payment_service.rb"
Response: “The payment flow works in 4 steps: First it validates the amount, then creates a Stripe PaymentIntent, confirms it with the customer’s payment method, and finally records the transaction in your database.”
User: “Show me the model relationships” Assistant uses:
dendrite_diagram with type: "class", scope: "app/models"
Response: “Here’s the class diagram showing your model relationships:” followed by the Mermaid diagram.