Skip to content

Conversation

@codefromthecrypt
Copy link
Contributor

@codefromthecrypt codefromthecrypt commented Dec 22, 2025

Allow acp_providers to specify an mcp_servers array that gets passed to create_session. This enables agents to connect to HTTP MCP servers configured by the client.

Example with goose

When using ACP providers, users can now configure MCP servers in their setup:

require("avante").setup({
  provider = "goose",
  acp_providers = {
    ["goose"] = {
      mcp_servers = {
        { type = "http", name = "kiwi", url = "https://mcp.kiwi.com", headers = {} },
      },
    },
  },
})
Screenshot 2025-12-23 at 9 20 36 AM

Note: goose support is pending block/goose#6230

Allow acp_providers to specify an mcp_servers array that gets passed
to create_session. This enables agents to connect to HTTP MCP servers
configured by the client.

- Read mcp_servers from Config.acp_providers[provider]
- Pass to acp_client:create_session for MCP tool support
- Add mock transport tests verifying mcpServers propagation
@codefromthecrypt codefromthecrypt marked this pull request as ready for review December 23, 2025 01:22
@Waitzz Waitzz merged commit 148998b into yetone:main Dec 29, 2025
3 checks passed
@codefromthecrypt codefromthecrypt deleted the feat/acp-mcp-servers branch December 29, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants