Token导航 LogoToken导航TokenDH.com
Abp MCP Server logo
搜索检索未说明官方级别未说明来源级核验

Abp MCP Server

MCP Server

ABP MCP Server是一个基于C#的控制台应用程序,通过Model Context Protocol为AI代理提供ABP框架相关的文档、GitHub问题、社区问答和文章的搜索功能。

工具数

4

提示词数

0

GitHub Stars

2

资源数

0
文档处理C#AI代理工具

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ebicoglu

提供方

ebicoglu

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

ABP MCP服务器演练

我已经将ABP MCP服务器创建为C#控制台应用程序。它实现了模型上下文协议,为AI代理提供ABP框架相关工具。

已实现的功能

  1. ABP文档搜索

(

   abp.docs.search

)

- 刮痕 abp.io/docs 查找相关文档页面。

  1. GitHub问题搜索

(

   abp.github.issues.search

)

- 使用GitHub REST API进行搜索 abpframework/abp 存储库问题。

  1. 支持问题搜索

(

   abp.support.questions.search

)

- 刮痕 abp.io/support/questions 社区问题。

  1. 社区文章搜索

(

   abp.community.articles.search

)

- 刮痕 abp.io/community/articles 对于文章。

项目结构

  • AbpMcpServer.csproj:主项目文件(.NET 8/9)。
  • 程序cs

:入口点,依赖注入设置。

  • 服务/McpServer.cs

:通过STDIO处理JSON-RPC。

  • 服务/McpRouter.cs

:将请求路由到工具。

  • Tools/*.cs:实施具体工具。
  • 型号/JsonRpc.cs

:JSON-RPC数据模型。

如何跑步

  1. 构建

:

   dotnet build

:

   dotnet run

(注意:它需要通过Stdin进行JSON-RPC输入)

反重力整合

要将此服务器与反重力或光标一起使用,您需要在MCP设置中对其进行配置。

配置

{

  "mcpServers": {

    "abp-helper": {

      "command": "dotnet",

      "args": [

        "run",

        "--project",

        "d:/github/alper/abp-mcp-server/AbpMcpServer.csproj"

      ]

    }

  }

}

提示模板

以下是您要求的提示模板,以充分利用此服务器。

1.局部推理模型提示

SYSTEM:

You are an expert ABP Framework development assistant.

You ONLY answer based on information retrieved from the MCP tools.

Do not hallucinate APIs or features.

USER:

>

TOOLS:

- mcp.abp.docs.search

- mcp.abp.github.issues.search

- mcp.abp.support.questions.search

- mcp.abp.community.articles.search

PLAN:

1) Search docs using user query to find official guidance.

2) Search GitHub matching issues to see if it's a known bug or feature request.

3) Search support if unresolved to find community solutions.

4) Search community articles for tutorials or deep dives.

5) Generate concise actionable fix based on findings.

6) Provide short code sample if applicable.

2.修复代码提示

@ABP Ask MCP

- Diagnose the following code:

>


- 查找所用类的文档参考。
- 如果存在潜在的错误,请查找类似的GitHub问题。
- 提出修正或改进方案。
- 生成示例代码。

3. Architecture Question Prompt


Compare ABP documentation and community articles regarding:

>

Return a short decision summary on the best approach.

4.错误解决提示

Resolve the following error:

>

Using:

- abp.docs.search

- abp.github.issues.search

- abp.support.questions.search

目录标签

目录标签

文档处理C#AI代理工具文档搜索本地部署GitHub问题搜索社区问答ABP框架

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP