Skip to content

docs: Add DevRev MCP Guide for AI Assistant Integration #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nimit2801
Copy link
Collaborator

  • Introduced a comprehensive guide on integrating DevRev with AI assistants using the Model Context Protocol (MCP).
  • Included sections on prerequisites, installation, configuration, tool categories, practical use cases, best practices, troubleshooting, and advanced workflows.
  • Enhanced documentation structure for improved clarity and user navigation.

Summary

Connected Issues

Craftsmanship, Integrity, and Devil’s Advocacy

  • Testing: Negative test cases: null or default values, crash and fault injection tests
  • Testing: Boundary conditions: rolling upgrades, denial-of-service, etc.
  • Testing: Fixing a few existing — flaky or permanently-broken — test cases
  • Observing: Detailed error codes so machines can understand
  • Observing: Adding superior metrics for future debugging
  • Observing: Tracing the hairiest pathways for field serviceability
  • Training: KnowledgeOps update? So AI always works.

Story of the craft

- Introduced a comprehensive guide on integrating DevRev with AI assistants using the Model Context Protocol (MCP).
- Included sections on prerequisites, installation, configuration, tool categories, practical use cases, best practices, troubleshooting, and advanced workflows.
- Enhanced documentation structure for improved clarity and user navigation.
@nimit2801 nimit2801 requested a review from a team as a code owner August 8, 2025 12:00
Copy link
Contributor

github-actions bot commented Aug 8, 2025

🌟 EkLine Reviewer

Hello! I’m here to help improve your docs. I’ve reviewed your pull request, and left in-line suggestions for quick fixes. For details, visit the Analytics Page.

For questions or feedback, please email [email protected].

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

EkLine

🚫 [EkLine] <EK00037>

'********** - Query Work Items' should use sentence-style capitalization. (EK00037)

#### `list_works` - Query Work Items


🚫 [EkLine] <EK00037>

'🔧 Parts Management Tools' should use sentence-style capitalization. (EK00037)

### 🔧 Parts Management Tools


🚫 [EkLine] <EK00037>

'******** - Retrieve Part Details' should use sentence-style capitalization. (EK00037)

#### `get_part` - Retrieve Part Details


🚫 [EkLine] <EK00037>

'*********** - Create New Parts' should use sentence-style capitalization. (EK00037)

#### `create_part` - Create New Parts


🚫 [EkLine] <EK00037>

'*********** - Modify Existing Parts' should use sentence-style capitalization. (EK00037)

#### `update_part` - Modify Existing Parts


🚫 [EkLine] <EK00037>

'********** - Query Parts' should use sentence-style capitalization. (EK00037)

#### `list_parts` - Query Parts


🚫 [EkLine] <EK00037>

'👥 Meetings & Communication Tools' should use sentence-style capitalization. (EK00037)

### 👥 Meetings & Communication Tools


🚫 [EkLine] <EK00037>

'************* - Query Meetings' should use sentence-style capitalization. (EK00037)

#### `list_meetings` - Query Meetings


🚫 [EkLine] <EK00037>

'⚡ Workflow Management Tools' should use sentence-style capitalization. (EK00037)

### ⚡ Workflow Management Tools


🚫 [EkLine] <EK00037>

'********************** - Check Valid Transitions' should use sentence-style capitalization. (EK00037)

#### `valid_stage_transition` - Check Valid Transitions


🚫 [EkLine] <EK00037>

'****************** - Add Progress Updates' should use sentence-style capitalization. (EK00037)

#### `add_timeline_entry` - Add Progress Updates


🚫 [EkLine] <EK00037>

'*********** - Sprint Information' should use sentence-style capitalization. (EK00037)

#### `get_sprints` - Sprint Information


🚫 [EkLine] <EK00037>

'************* - Available Subtypes' should use sentence-style capitalization. (EK00037)

#### `list_subtypes` - Available Subtypes


🚫 [EkLine] <EK00037>

'Practical Use Cases & Examples' should use sentence-style capitalization. (EK00037)

## Practical Use Cases & Examples


🚫 [EkLine] <EK00037>

'👔 Project Manager Workflows' should use sentence-style capitalization. (EK00037)

### 👔 Project Manager Workflows


🚫 [EkLine] <EK00037>

'Sprint Planning & Management' should use sentence-style capitalization. (EK00037)

#### Sprint Planning & Management


🚫 [EkLine] <EK00037>

'Progress Tracking' should use sentence-style capitalization. (EK00037)

#### Progress Tracking


🚫 [EkLine] <EK00037>

'👨‍💻 Developer Workflows' should use sentence-style capitalization. (EK00037)

### 👨‍💻 Developer Workflows


🚫 [EkLine] <EK00037>

'Bug Investigation & Resolution' should use sentence-style capitalization. (EK00037)

#### Bug Investigation & Resolution


🚫 [EkLine] <EK00037>

'Feature Development' should use sentence-style capitalization. (EK00037)

#### Feature Development


🚫 [EkLine] <EK00037>

'🎧 Support Team Workflows' should use sentence-style capitalization. (EK00037)

### 🎧 Support Team Workflows


🚫 [EkLine] <EK00037>

'Customer Issue Management' should use sentence-style capitalization. (EK00037)

#### Customer Issue Management


🚫 [EkLine] <EK00037>

'Escalation Management' should use sentence-style capitalization. (EK00037)

#### Escalation Management


🚫 [EkLine] <EK00037>

'🎯 Cross-Team Collaboration' should use sentence-style capitalization. (EK00037)

### 🎯 Cross-Team Collaboration


🚫 [EkLine] <EK00037>

'Release Planning' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'Incident Response' should use sentence-style capitalization. (EK00037)

#### Incident Response


🚫 [EkLine] <EK00037>

'Best Practices' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'🎯 Efficient Tool Usage' should use sentence-style capitalization. (EK00037)

### 🎯 Efficient Tool Usage


🚫 [EkLine] <EK00037>

'Use Specific Searches' should use sentence-style capitalization. (EK00037)

#### Use Specific Searches


🚫 [EkLine] <EK00037>

'Batch Operations' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'🔄 Workflow Optimization' should use sentence-style capitalization. (EK00037)

### 🔄 Workflow Optimization


🚫 [EkLine] <EK00037>

'Standard Workflows' should use sentence-style capitalization. (EK00037)

#### Standard Workflows


🚫 [EkLine] <EK00037>

'API Key Management' should use sentence-style capitalization. (EK00037)

#### API Key Management


📝 [EkLine] <EK00006>

Remove 'regularly' if it's not important to the meaning of the statement. (EK00006)

- **Rotate regularly**: Update API keys periodically for security


🚫 [EkLine] <EK00037>

'Rate Limiting Considerations' should use sentence-style capitalization. (EK00037)

#### Rate Limiting Considerations


📝 [EkLine] <EK00006>

Remove 'naturally ' if it's not important to the meaning of the statement. (EK00006)

- **Cache results**: AI assistants naturally cache recent query results


🚫 [EkLine] <EK00037>

'Error Handling' should use sentence-style capitalization. (EK00037)


📝 [EkLine] <EK00006>

Remove 'gracefully' if it's not important to the meaning of the statement. (EK00006)

- **Handle failures gracefully**: Use fallback strategies for failed operations


🚫 [EkLine] <EK00037>

'Common Issues & Solutions' should use sentence-style capitalization. (EK00037)

### Common Issues & Solutions


🚫 [EkLine] <EK00037>

'🚫 MCP Server Not Starting' should use sentence-style capitalization. (EK00037)

#### 🚫 MCP Server Not Starting


🚫 [EkLine] <EK00037>

'🔑 Authentication Errors' should use sentence-style capitalization. (EK00037)

#### 🔑 Authentication Errors


🚫 [EkLine] <EK00037>

'🔧 Tool-Specific Issues' should use sentence-style capitalization. (EK00037)

#### 🔧 Tool-Specific Issues


🚫 [EkLine] <EK00037>

'Getting Help' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'Log Analysis' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'DevRev Support Channels' should use sentence-style capitalization. (EK00037)

#### DevRev Support Channels


🚫 [EkLine] <EK00037>

'Advanced Workflows' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'🔄 Multi-Step Automation' should use sentence-style capitalization. (EK00037)

### 🔄 Multi-Step Automation


🚫 [EkLine] <EK00037>

'Automated Triage Workflow' should use sentence-style capitalization. (EK00037)

#### Automated Triage Workflow


📝 [EkLine] <EK00006>

Remove 'properly' if it's not important to the meaning of the statement. (EK00006)

2. Use `list_subtypes` to categorize properly


🚫 [EkLine] <EK00037>

'Release Coordination' should use sentence-style capitalization. (EK00037)

#### Release Coordination


🚫 [EkLine] <EK00037>

'🔍 Advanced Search Strategies' should use sentence-style capitalization. (EK00037)

### 🔍 Advanced Search Strategies


🚫 [EkLine] <EK00037>

'Cross-Entity Analysis' should use sentence-style capitalization. (EK00037)

#### Cross-Entity Analysis


🚫 [EkLine] <EK00037>

'Trend Analysis' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'Workflow Templates' should use sentence-style capitalization. (EK00037)

#### Workflow Templates


🚫 [EkLine] <EK00037>

'General Questions' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'Technical Questions' should use sentence-style capitalization. (EK00037)

### Technical Questions


⚠️ [EkLine] <EK00005>

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

A: You'll receive authentication errors. Generate a new API key in DevRev and update your MCP configuration.


🚫 [EkLine] <EK00037>

'Workflow Questions' should use sentence-style capitalization. (EK00037)

### Workflow Questions


⚠️ [EkLine] <EK00005>

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

A: Describe bulk operations to your AI assistant, which will use appropriate tools to handle them efficiently.


🚫 [EkLine] <EK00012>

Don't use exclamation points in text. (EK00012)

A: Yes! MCP servers can be used together. You can have DevRev MCP alongside other MCP servers.


🚫 [EkLine] <EK00037>

'Next Steps' should use sentence-style capitalization. (EK00037)


🚫 [EkLine] <EK00037>

'Additional Resources' should use sentence-style capitalization. (EK00037)

### Additional Resources


🚫 [EkLine] <EK00012>

Don't use exclamation points in text. (EK00012)

_Ready to supercharge your DevRev workflow? Get started with the setup guide above and experience the power of AI-assisted project management!_


🚫 [EkLine] <EK20001>

Confirm the link. The URL 'https://community.devrev.ai' seems inaccessible. It might be incorrect or improperly formatted. (EK20001)

- **Community Examples**: [DevRev Community](https://community.devrev.ai)


Model Context Protocol (MCP) is a revolutionary standard that enables AI assistants to securely connect with external data sources and tools. Think of it as a bridge that allows your AI assistant to interact with your business systems in real-time, providing contextual and up-to-date information.

### Key Benefits of MCP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'Key Benefits of MCP' should use sentence-style capitalization. (EK00037)


---

## Prerequisites & Setup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'Prerequisites & Setup' should use sentence-style capitalization. (EK00037)


## Prerequisites & Setup

### System Requirements
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'System Requirements' should use sentence-style capitalization. (EK00037)


The DevRev MCP server requires `uv` - a fast Python package installer and project manager.

#### Installation Methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'Installation Methods' should use sentence-style capitalization. (EK00037)

"Show my user details and permissions"
```

#### `get_vista` - Sprint Board Information
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'********* - Sprint Board Information' should use sentence-style capitalization. (EK00037)

"Get information about the mobile team's sprint board"
```

### 📋 Work Items Management Tools
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'📋 Work Items Management Tools' should use sentence-style capitalization. (EK00037)


### 📋 Work Items Management Tools

#### `get_work` - Retrieve Work Item Details
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'******** - Retrieve Work Item Details' should use sentence-style capitalization. (EK00037)

"Get information about work item TICKET-456"
```

#### `create_work` - Create New Work Items
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'*********** - Create New Work Items' should use sentence-style capitalization. (EK00037)

"Create an issue for implementing user authentication feature"
```

#### `update_work` - Modify Existing Work Items
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine] <EK00037>

'*********** - Modify Existing Work Items' should use sentence-style capitalization. (EK00037)

Copy link
Contributor

github-actions bot commented Aug 8, 2025

Comment on lines +2 to +3
title: "DevRev MCP Guide: Supercharge Your AI Assistant with DevRev Integration"
description: "Transform your AI workflow with seamless DevRev integration through Model Context Protocol"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general "DevRev" is way overused in this doc.

Comment on lines +12 to +21
1. [Introduction to Model Context Protocol](#introduction-to-model-context-protocol)
2. [Prerequisites & Setup](#prerequisites--setup)
3. [DevRev MCP Installation & Configuration](#devrev-mcp-installation--configuration)
4. [Tool Categories Overview](#tool-categories-overview)
5. [Detailed Tool Documentation](#detailed-tool-documentation)
6. [Practical Use Cases & Examples](#practical-use-cases--examples)
7. [Best Practices](#best-practices)
8. [Troubleshooting](#troubleshooting)
9. [Advanced Workflows](#advanced-workflows)
10. [FAQ](#faq)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fern automatically generates a TOC based on the headings so this one is redundant.

Suggested change
1. [Introduction to Model Context Protocol](#introduction-to-model-context-protocol)
2. [Prerequisites & Setup](#prerequisites--setup)
3. [DevRev MCP Installation & Configuration](#devrev-mcp-installation--configuration)
4. [Tool Categories Overview](#tool-categories-overview)
5. [Detailed Tool Documentation](#detailed-tool-documentation)
6. [Practical Use Cases & Examples](#practical-use-cases--examples)
7. [Best Practices](#best-practices)
8. [Troubleshooting](#troubleshooting)
9. [Advanced Workflows](#advanced-workflows)
10. [FAQ](#faq)


The DevRev MCP server requires `uv` - a fast Python package installer and project manager.

#### Installation Methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

H4 is too deep. Restructure so you don't need anything deeper than H3.

Here, you don't need separate sections for installation and verification, just have two commands in one codeblock. And you can use tabs for the different platforms. https://buildwithfern.com/learn/docs/writing-content/components/code-blocks#code-blocks-with-tabs


#### Installation Methods

**macOS and Linux (Recommended):**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these recommended?

curl -LsSf https://astral.sh/uv/install.sh | sh
```

**Windows:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +969 to +976
**Q: Do I need a paid DevRev account to use the MCP server?**
A: You need a DevRev workspace with API access. Most DevRev plans include API access, but check your specific plan details.

**Q: Can multiple team members use the same MCP configuration?**
A: Each user should use their own API key for proper attribution and permissions. You can share the configuration template but not the API key.

**Q: Does the MCP server work offline?**
A: No, the MCP server requires internet connectivity to access DevRev APIs in real-time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be included in the prerequisites.

A: You'll receive authentication errors. Generate a new API key in DevRev and update your MCP configuration.

**Q: Can I customize which tools are available?**
A: The current version provides all tools by default. Future versions may include tool filtering options.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never comment about future possibilities.

Comment on lines +986 to +987
**Q: How do I handle rate limits?**
A: The MCP server includes automatic rate limiting. If you hit limits, wait a few minutes before making more requests.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in troubleshooting.

Comment on lines +1002 to +1010
## Summary

The DevRev MCP server transforms how teams interact with their DevRev workspace through AI assistants. By providing seamless, real-time access to DevRev's powerful project management and customer relationship tools, teams can:

✅ **Boost Productivity**: Reduce context switching between tools
✅ **Improve Accuracy**: Access real-time data for better decision making
✅ **Enhance Collaboration**: Share insights and updates more effectively
✅ **Streamline Workflows**: Automate routine tasks through natural language
✅ **Scale Operations**: Handle complex multi-step processes efficiently
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the top of the document.


---

_Ready to supercharge your DevRev workflow? Get started with the setup guide above and experience the power of AI-assisted project management!_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove since this is a technical document.

Suggested change
_Ready to supercharge your DevRev workflow? Get started with the setup guide above and experience the power of AI-assisted project management!_

@bc-devrev
Copy link
Contributor

The content needs to be coordinated with @Vanja-S.

@Atul-Butola
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants