Token导航 LogoToken导航

MCP Server · 开发工具

Copilot Acp MCP Issue

GitHub Copilot CLI在作为ACP代理时,无法加载通过ACP newSession请求传递的MCP服务器,导致无法使用这些服务器提供的工具。

stdio官方级别未说明来源级核验工具 0tsx
GitHub Copilot开发工具JavaScriptClaudeClaude Desktop

快速开始

作者 / 组织
cedricvidal
提供方
cedricvidal
运行时
Node.js

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

1

仓库热度

收录来源

1 个

MCP World

选型结论

Copilot Acp MCP Issue 属于开发工具类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude,有可以直接复制的安装命令;接入前要先准备 会话凭据。

分类

开发工具

传输方式

stdio

认证方式

会话凭据

部署方式

公开资料未说明

安装与配置

安装命令

npx tsx client.ts --mcp-config=mcp-config.json --prompt="What time is it?" copilot --acp

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

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

详细介绍

Copilot ACP MCP Server Loading Issue

This is a standalone reproduction of an issue where MCP servers passed via the ACP newSession request are not being loaded by copilot --acp.

Issue Summary

When using copilot --acp as an ACP agent, MCP servers specified in the newSession request's mcpServers field are not loaded. The agent does not have access to tools provided by these MCP servers.

Expected Behavior

When an ACP client sends a newSession request with MCP servers configured:

{
  "cwd": "/path/to/project",
  "mcpServers": [
    {
      "name": "time",
      "command": "uvx",
      "args": ["mcp-server-time"],
      "env": []
    }
  ]
}

The agent should:

  1. Start the specified MCP servers
  2. Make their tools available for the session
  3. Be able to use tools like get_current_time from the mcp-server-time server

Actual Behavior

The MCP servers are not loaded. When asked "What time is it?", Copilot does not use the MCP time server's tools.

Reproduction Steps

Prerequisites

  1. Install GitHub Copilot CLI:
   brew install copilot-cli
  1. Install uv (for running MCP servers):
   curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Install dependencies:
   npm install

Run the reproduction

# Run with MCP config - should use time server but doesn't
npm run test-mcp

Or manually:

npx tsx client.ts --mcp-config=mcp-config.json --prompt="What time is it?" copilot --acp

What you'll see

The client will:

  1. Load the MCP config with the time server
  2. Start copilot --acp
  3. Send a newSession request with the MCP servers
  4. Ask "What time is it?"

Expected: Copilot uses the get_current_time tool from mcp-server-time Actual: Copilot responds without using the MCP time server

Files

  • client.ts - ACP client that connects to copilot --acp and passes MCP servers
  • mcp-config.json - MCP server configuration (compatible with Claude Desktop format)

MCP Config Format

The mcp-config.json uses the same format as Claude Desktop:

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": ["mcp-server-time"]
    }
  }
}

ACP Protocol Reference

Per the ACP specification, the newSession request includes:

interface NewSessionRequest {
  cwd?: string;
  mcpServers?: McpServer[];
  // ...
}

interface McpServer {
  name: string;
  command: string;
  args?: string[];
  env?: EnvVariable[];
}

Environment

  • macOS
  • copilot-cli version: (run copilot --version)
  • @agentclientprotocol/sdk: 0.13.1

Related

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

GitHubCopilotJavaScript本地部署MCP服务器ACP协议开发工具

支持客户端

Claude DesktopClaude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备会话凭据,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到会话凭据的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Copilot Acp MCP Issue

MCP World · 本页

0stdio有1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Copilot Acp MCP Issue 怎么安装?

公开资料给出的安装命令是 npx tsx client.ts --mcp-config=mcp-config.json --prompt="What time is it?" copilot --acp,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Copilot Acp MCP Issue 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Copilot Acp MCP Issue 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Copilot Acp MCP Issue 需要 API Key 吗?

公开资料标注的认证方式是会话凭据,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Copilot Acp MCP Issue 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP