Skip to main content

A MCP server project

Project description

DevRev MCP Server

Overview

A Model Context Protocol server for DevRev. This server provides comprehensive access to DevRev's APIs, allowing you to manage work items (issues, tickets), parts (enhancements), meetings, workflow transitions, timeline entries, sprint planning, and subtypes. Access vista boards, search across your DevRev data, and retrieve user information with advanced filtering and pagination support.

Tools

Search & Discovery

  • search: Search for information across DevRev using the hybrid search API with support for different namespaces (articles, issues, tickets, parts, dev_users, accounts, rev_orgs, vistas, incidents).
  • get_current_user: Fetch details about the currently authenticated DevRev user.
  • get_vista: Retrieve information about a vista (sprint board) in DevRev using its ID. Vistas contain sprints (vista group items) that can be used for filtering and sprint planning.

Work Items (Issues & Tickets)

  • get_work: Get comprehensive information about a specific DevRev work item using its ID.
  • create_work: Create new issues or tickets in DevRev with specified properties like title, body, assignees, and associated parts.
  • update_work: Update existing work items by modifying properties such as title, body, assignees, associated parts, or stage transitions.
  • list_works: List and filter work items based on various criteria like state, dates, assignees, parts, and more.

Parts (Enhancements)

  • get_part: Get detailed information about a specific part (enhancement) using its ID.
  • create_part: Create new parts (enhancements) with specified properties including name, description, assignees, and parent parts.
  • update_part: Update existing parts by modifying properties such as name, description, assignees, target dates, or stage transitions.
  • list_parts: List and filter parts based on various criteria like dates, assignees, parent parts, and more.

Meetings & Communication

  • list_meetings: List and filter meetings in DevRev based on various criteria such as channel, participants, dates, and meeting states.

Workflow Management

  • valid_stage_transition: Get a list of valid stage transitions for a given work item (issue, ticket) or part (enhancement). Use this before updating stages to ensure transitions are valid.
  • add_timeline_entry: Add timeline entries to work items (issues, tickets) or parts (enhancements) to track updates and progress.
  • get_sprints: Get active or planned sprints for a given part ID, useful for sprint planning and issue assignment.
  • list_subtypes: List all available subtypes in DevRev for a given leaf type (issue or ticket), enabling proper categorization of work items.

Prerequisites

Before using this MCP server, you need to install either uvx or uv, which are modern Python package and project management tools.

Installing uv (Recommended)

uv is a fast Python package installer and resolver. It includes uvx for running Python applications.

On macOS and Linux:

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

On Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Alternative Installation Methods:

Using Homebrew (macOS):

brew install uv

Using pip:

pip install uv

Verifying Installation

After installation, verify that uv and uvx are available:

# Check uv version
uv --version

# Check uvx version  
uvx --version

Both commands should return version information. If you get "command not found" errors, you may need to restart your terminal or add the installation directory to your PATH.

Troubleshooting

If you encounter issues:

  1. Restart your terminal after installation
  2. Check that the installation directory is in your PATH
  3. On macOS/Linux, the default installation adds uv to ~/.cargo/bin/
  4. Refer to the official uv documentation for more detailed installation instructions

Configuration

Get the DevRev API Key

  1. Go to https://app.devrev.ai/signup and create an account.
  2. Import your data from your existing data sources like Salesforce, Zendesk while following the instructions here.
  3. Generate an access token while following the instructions here.

Usage with Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

Published Servers Configuration
"mcpServers": {
  "devrev": {
    "command": "uvx",
    "args": [
      "devrev-mcp"
    ],
    "env": {
      "DEVREV_API_KEY": "YOUR_DEVREV_API_KEY"
    }
  }
}
Development/Unpublished Servers Configuration
"mcpServers": {
  "devrev": {
    "command": "uv",
    "args": [
      "--directory",
      "Path to src/devrev_mcp directory",
      "run",
      "devrev-mcp"
    ],
    "env": {
      "DEVREV_API_KEY": "YOUR_DEVREV_API_KEY"
    }
  }
}

Features

  • Comprehensive Work Item Management: Create, read, update, and list both issues and tickets with advanced filtering
  • Enhanced Part Management: Full CRUD operations for parts (enhancements) including hierarchical relationships
  • Advanced Search: Search across multiple namespaces (articles, issues, tickets, parts, dev_users, accounts, rev_orgs, vistas, incidents) with hybrid search capabilities
  • Vista Board Integration: Access vista (sprint board) information and retrieve sprint group items for effective sprint management
  • Flexible Filtering: Advanced filtering options for listing work items and parts based on dates, assignees, states, custom fields, subtypes, and more
  • User Context: Access to current user information for personalized experiences
  • Rich Data Support: Handle complex relationships between work items, parts, users, organizations, and sprints
  • Meeting Management: List and filter meetings across different channels and states with comprehensive date filtering
  • Workflow Control: Validate stage transitions and manage work item lifecycle with precise stage management
  • Timeline Tracking: Add timeline entries to track progress and updates on work items and parts
  • Sprint Planning: Access sprint information for effective project management and issue assignment with vista integration
  • Subtype Management: List and manage subtypes for proper categorization of issues and tickets

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devrev_mcp-0.4.2.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devrev_mcp-0.4.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file devrev_mcp-0.4.2.tar.gz.

File metadata

  • Download URL: devrev_mcp-0.4.2.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for devrev_mcp-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c5a243de1547e3bc32a8fd5185240a00c199cc91e7f9f2037425492769002e45
MD5 f8db2b032540f8c155675b2df4b89e3c
BLAKE2b-256 7c3b6b030b6da35ce373a3d74df0592364a0651bf9a71e74048125bc594abfab

See more details on using hashes here.

File details

Details for the file devrev_mcp-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: devrev_mcp-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for devrev_mcp-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 10a44d6c53c69e28494ee5fc025d17c52e0651b95f5a5a4a690c15ee0cf2f4f7
MD5 3ac096cec75dce015b7cb7bba0f8112e
BLAKE2b-256 8e54c4747dab9969b121f190637ba8ebd8dd581333a0d554e1080e4c9e88d1ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page