Skip to content

[Bug]mcp无法调用工具操作 #7647

@mjy1113451

Description

@mjy1113451

What happened / 发生了什么

我添加了一个github的mcp,我让bot去提issue,他说他不去
{
"transport": "streamable_http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
},
"timeout": 5,
"sse_read_timeout": 300
}
your token这里我换成了令牌

Reproduce / 如何复现?

Image

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

docker部署,最新版astrbot,deepseek-chat

OS

Linux

Logs / 报错日志

2026-04-18 18:15:46.554] [Core] [DBUG] [sources.openai_source:583]: completion: ChatCompletion(id='9eea13fd-232b-4511-bb8f-70eb251406af', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='tired', refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None))], created=1776507346, model='deepseek-chat', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=1, prompt_tokens=466, total_tokens=467, completion_tokens_details=CompletionTokensDetails(accepted_prediction_tokens=None, audio_tokens=None, reasoning_tokens=0, rejected_prediction_tokens=None), prompt_tokens_details=None))

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

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions