Skip to content

[Bug]同名的MCP工具会冲突 #5689

@iMoonway

Description

@iMoonway

What happened / 发生了什么

在使用GrokSearch这个MCP的时候,工具列表里面有一个web_search工具,而在管理行为界面,自带的web_search和MCP的web_search无法同时启用。同时禁用自带的astrbot-web-searcher插件也会导致MCP里的web_search无法启用。

Reproduce / 如何复现?

安装GrokSearch MCP

{
  "command": "uvx",
  "args": [
    "--from",
    "git+https://github.com/GuDaStudio/GrokSearch",
    "grok-search"
  ],
  "env": {
    "GROK_API_URL": "url",
    "GROK_API_KEY": "key",
  }
}

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

Windows Docker Desktop, Moonshot/Kimi-k2.5,lark(飞书)

OS

Windows

Logs / 报错日志

复现管理行为面板

PixPin_2026-03-02_22-31-21.mp4

在人格管理界面,两个web_search工具被归并为一个

Image

启用了7个工具

Image

计数6个


AI的回复

Image

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't workingfeature:pluginThe bug / feature is about AstrBot plugin system.plugin-cate:toolingIntegrate external tools, services, APIs, or systems into the bot.(only startswith [Plugin])

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions