Rovodev MCP Tool

Rovodev MCP Tool

Integrates the Atlassian Rovo Dev CLI with the Model Context Protocol, allowing AI assistants to perform deep code analysis using Rovo Dev's large context capabilities. It enables features like repository-wide queries, file-specific analysis, and specialized coding modes through a standard MCP interface.

Category
访问服务器

README

Rovodev MCP Tool

Model Context Protocol server for Atlassian Rovo Dev CLI integration. This tool enables AI assistants like Claude to leverage Rovo Dev's powerful code analysis and capabilities through the MCP protocol.

Rovo Dev is a comprehensive AI coding assistant that already includes built-in MCP support. This tool allows Rovo Dev to be used as an external tool from other MCP-compatible AI assistants, creating a bridge between different AI tools.

Features

  • Large Context Windows: Leverage Rovo Dev's powerful AI capabilities for analyzing large files and entire codebases
  • File Analysis: Use @filename or @directory syntax to include file contents in your queries
  • Multiple Models: Support for various AI models configured in Rovo Dev (default: anthropic.claude-sonnet-4-5-20250929-v1:0)
  • Flexible Approval Modes: Control tool execution with plan/default/auto-edit/yolo modes
  • MCP Protocol: Seamless integration with MCP-compatible AI assistants
  • Rovo Dev Specific Features: Includes support for code mode, review mode, optimization suggestions, and detailed explanations

Prerequisites

  • Node.js v16 or higher
  • acli rovodev installed and configured (Atlassian Rovo Dev CLI)

Installation

Prerequisites

First, ensure you have Rovo Dev CLI installed and configured:

# Follow Rovo Dev installation instructions to install acli rovodev
# Configure your models and authentication in ~/.rovodev/config.yml

Quick Setup (Easiest - Recommended)

Use Claude Code's built-in MCP installer:

claude mcp add rovodev-cli -- npx -y @jaggerxtrm/rovodev-mcp-tool

This single command configures everything automatically!

Manual Configuration for Rovo Dev

Since Rovo Dev already has MCP support, you can add this tool to your existing Rovo Dev configuration:

Edit ~/.rovodev/config.yml and add to the allowedMcpServers list:

mcp:
  allowedMcpServers:
  - stdio:npx:-y @jaggerxtrm/rovodev-mcp-tool  # Add this line

Or add to ~/.rovodev/mcp.json:

{
  "mcpServers": {
    "...": "...",
    "rovodev-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@jaggerxtrm/rovodev-mcp-tool"
      ]
    }
  }
}

From Source (Development)

  1. Clone and install dependencies:
git clone <repo-url>
cd rovodev-mcp-tool
npm install
  1. Build the project:
npm run build
  1. Link locally:
npm link

Available Tools

ask-rovodev

The main tool for interacting with Rovodev AI.

Parameters:

  • prompt (required): Your question or instruction
    • Use @filename to include a file's contents
    • Use @directory to include all files in a directory
  • model (optional): Model to use (default, advanced, basic, etc.)
  • approvalMode (optional): Control tool execution approval
    • plan: Analyze tool calls without executing
    • default: Prompt for approval (default behavior)
    • auto-edit: Auto-approve file edits
    • yolo: Auto-approve all tool calls
  • yolo (optional): Shortcut for approvalMode='yolo'
  • allFiles (optional): Include all files in current directory as context
  • debug (optional): Enable debug mode

Examples:

// Analyze a specific file
{
  "prompt": "@src/main.ts Explain what this code does"
}

// Analyze entire codebase
{
  "prompt": "@src/ Summarize the architecture of this codebase"
}

// Use specific features
{
  "prompt": "Review my authentication system for security issues",
  "reviewMode": true,
  "explain": true
}

// Optimize code
{
  "prompt": "How can I optimize this algorithm?",
  "optimize": true,
  "explain": true
}

ping

Simple echo test to verify the connection.

Parameters:

  • prompt (optional): Message to echo (defaults to "Rovodev Pong!")

Help

Display Rovodev CLI help information.

Parameters: None

Configuration

The tool uses the following default models:

  • Primary: default
  • Fallback: basic (used if primary hits quota limits)

You can override these by specifying the model parameter in your requests.

Usage with Claude Code

Once installed as an MCP server, you can use it within Claude Code:

Ask Rovodev to analyze the authentication system in @src/auth/

Claude will automatically use the ask-rovodev tool with the appropriate parameters.

Project Structure

rovodev-mcp-tool/
├── src/
│   ├── index.ts              # MCP server entry point
│   ├── constants.ts          # Configuration and constants
│   ├── tools/
│   │   ├── registry.ts       # Tool registration system
│   │   ├── ask-rovodev.tool.ts  # Main Rovodev interaction tool
│   │   ├── simple-tools.ts   # Utility tools (ping, help)
│   │   └── index.ts          # Tool exports
│   └── utils/
│       ├── commandExecutor.ts # Command execution utility
│       ├── rovodevExecutor.ts    # Rovodev CLI wrapper
│       └── logger.ts          # Logging utility
├── package.json
├── tsconfig.json
└── README.md

How It Works

  1. The MCP server listens for tool calls via stdio transport
  2. When a tool is called, the server validates the arguments using Zod schemas
  3. For ask-rovodev, the prompt is passed to the acli rovodev run command with appropriate flags
  4. File references (@filename) are processed by Rovo Dev's built-in file processing
  5. Output from Rovo Dev is captured and returned to the MCP client
  6. The tool integrates with Rovo Dev's existing configuration and model settings

Troubleshooting

"acli rovodev not found"

Make sure the acli rovodev command is installed and available in your PATH.

"Command timed out"

For very large files or codebases, the analysis may take longer than the default 10-minute timeout. Consider:

  • Using .rovodevignore to exclude unnecessary files
  • Breaking down large queries into smaller chunks
  • Using approvalMode: "plan" to analyze without executing

"Invalid tool arguments"

Check that your arguments match the tool schema. Use the Help tool to see available options.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Credits

Inspired by qwen-mcp-tool and gemini-mcp-tool.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选