JM

jetbrains/mcp-server-plugin

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

132 stars 42 forks 质量 37 趋势 16Apache-2.0

jetbrains/mcp-server-plugin 是从 https://github.com/jetbrains/mcp-server-plugin. 导入的 MCP 服务器候选

概览

jetbrains/mcp-server-plugin 是从 https://github.com/jetbrains/mcp-server-plugin. 导入的 MCP 服务器候选

概述(AI 翻译)

该插件已不再维护。 自2025.2版本起,核心功能已集成到所有基于IntelliJ的IDE中。

迁移: 有关使用内置功能的详细信息,请参阅官方文档。

问题与支持: 对于与内置MCP功能相关的错误或功能请求,请使用JetBrains YouTrack%7D%20。

JetBrains MCP 服务器插件

JetBrains MCP(模型上下文协议)服务器插件实现大型语言模型(LLM)与 JetBrains IDE 之间的无缝集成。该插件提供服务器端实现,用于处理 MCP 请求,并开放实现自定义工具的扩展点。

先修条件

  • 安装JetBrains MCP代理
  • JetBrains 集成开发环境(IntelliJ IDEA、WebStorm 等)

自定义工具实现

该插件提供了一个扩展点系统,允许第三方插件实现自己的MCP工具。以下是实现和注册自定义工具的方法。

请参考演示插件开始使用。

3.工具实施指南

您的工具实施应遵循以下指导原则:

本页由 AI 翻译,技术细节请以原文为准。

README

⚠️ Deprecated

This plugin is no longer maintained. The core functionality has been integrated into all IntelliJ-based IDEs since version 2025.2.

Migration: Please refer to the official documentation for details on using the built-in functionality.

Issues & Support: For bugs or feature requests related to the built-in MCP functionality, please use the JetBrains YouTrack.

JetBrains MCP Server Plugin

JetBrains MCP (Model Context Protocol) Server Plugin enables seamless integration between Large Language Models (LLMs) and JetBrains IDEs. This plugin provides the server-side implementation for handling MCP requests and exposes extension points for implementing custom tools.

Prerequisites

Custom Tools Implementation

The plugin provides an extension point system that allows third-party plugins to implement their own MCP tools. Here’s how to implement and register your custom tools.

Refer to the demo plugin to get started.

3. Tool Implementation Guidelines

Your tool implementation should follow these guidelines:

  • Tool names should be descriptive and use lowercase with optional underscores
  • Create a data class for your tool’s arguments that matches the expected JSON input
  • Use the Response class appropriately:
    • Response(result) for successful operations
    • Response(error = message) for error cases
  • Use the provided Project instance for accessing IDE services

How to Publish Update

  1. Update settings.gradle.kts to provide a new version
  2. Create release on Github, the publishing task will be automatically triggered

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →