mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-11-09 10:51:47 +00:00
e00a43901fa2b4fd7d582e1de57277be88233007
As mentioned in https://github.com/agentclientprotocol/claude-agent-acp/issues/468#issuecomment-4141841845 IDEA always explicitly passes the MCP server type; for example, even if the type is `stdio`, IDEA will still pass `type: 'stdio'`. This causes the following code to enter the http or sse branch due to the presence of the 'type' field <img width="644" height="483" alt="Image" src="https://github.com/user-attachments/assets/4919ae2a-456f-461a-93b8-d914489f444c" /> As part of defensive programming, change this line to a more robust check: `if ("type" in server && (server.type === "http" || server.type === "sse"))`
ACP adapter for the Claude Agent SDK
Use Claude Agent SDK from ACP-compatible clients!
This tool implements an ACP agent by using the official Claude Agent SDK, supporting:
- Context @-mentions
- Images
- Tool calls (with permission requests)
- Following
- Edit review
- TODO lists
- Interactive (and background) terminals
- Custom Slash commands
- Client MCP servers
Learn more about the Agent Client Protocol.
Contribution Policy
This project does not require a Contributor License Agreement (CLA). Instead, contributions are accepted under the following terms:
By contributing to this project, you agree that your contributions will be licensed under the Apache License, Version 2.0. You affirm that you have the legal right to submit your work, that you are not including code you do not have rights to, and that you understand contributions are made without requiring a Contributor License Agreement (CLA).
Description
Pull mirror of agentclientprotocol/claude-agent-acp (Apache-2.0): the ACP bridge that lets Buzz drive Claude Code
Languages
TypeScript
98.8%
JavaScript
1.1%
Shell
0.1%