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, and sprint planning. 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 search API with support for different namespaces (articles, issues, tickets, parts, dev_users, accounts, rev_orgs).
  • get_current_user: Fetch details about the currently authenticated DevRev user.

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.

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
  • Enhanced Part Management: Full CRUD operations for parts (enhancements) including hierarchical relationships
  • Advanced Search: Search across multiple namespaces with hybrid search capabilities
  • Flexible Filtering: Advanced filtering options for listing work items and parts based on dates, assignees, states, and more
  • User Context: Access to current user information for personalized experiences
  • Rich Data Support: Handle complex relationships between work items, parts, users, and organizations
  • Meeting Management: List and filter meetings across different channels and states
  • Workflow Control: Validate stage transitions and manage work item lifecycle
  • 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

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.1.tar.gz (23.8 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.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for devrev_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 067652d9b44abdee9a8b12b571c14f464d4fea8cf45e1be93f9ce0b5699a64ca
MD5 fe49648b75544b22215a9ac67b543390
BLAKE2b-256 5b3867f31be15f5f98506413b5cfa4a5680f11a023b16bb39eb35224778ef2a3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for devrev_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06ae0c63bf0e16f0c00c7be932881d866bbb927e37dafe0bb569e8f565c70241
MD5 4e0b3730d92d979aba8405aefa28f59d
BLAKE2b-256 769627206e836f0c81fe2f6532bf32317885c2fdef3d7c646472dd8aa02b304c

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