Skip to content

Commit 2303a3f

Browse files
committed
Fix mcp initialize sending wrong server name
1 parent 089d30e commit 2303a3f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Fix MCP server auth being invalidated when only URL query parameters change.
66
- Fix MCP HTTP transport using stale auth token instead of reading latest from state, and retry initialization with token refresh on 403/4xx errors.
7+
- Fix MCP initialize request sending server config name as client name instead of "ECA".
78

89
## 0.115.2
910

src/eca/features/tools/mcp.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
name (count tools)))
156156
(on-tools-change tools))
157157
client (pmc/make-mcp-client
158-
{:info (pes/make-info name "current")
158+
{:info (pes/make-info "ECA" (config/eca-version) "Editor Code Assistant")
159159
:client-transport transport
160160
:primitives {:roots (mapv #(pcap/make-root-item (:uri %)
161161
{:name (:name %)})

0 commit comments

Comments
 (0)