# agent: Fix issue with duplicated tool names from MCP servers \(\#33811\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0553dc0d4910e4e1559e0624d6d8f224146b6b7b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0553dc0d4910e4e1559e0624d6d8f224146b6b7b

Requested commit: 0553dc0d4910e4e1559e0624d6d8f224146b6b7b

Commit: 0553dc0d4910e4e1559e0624d6d8f224146b6b7b

Tree: c31854f865ac6b3fed08c33030706d646c71b99e

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Fix issue with duplicated tool names from MCP servers (#33811)

Closes #33792

Follow up to #33237 - Turns out my fix for this was not correct

Release Notes:

- agent: Fixed an issue where tools would not work when two MCP servers
provided a tool with the same name
```

## Parents

- [f27b508e4becc473afcec3733c82528358753457](https://git.cafe/gitcafe/zed/commit/f27b508e4becc473afcec3733c82528358753457?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0553dc0d4910e4e1559e0624d6d8f224146b6b7b?format=markdown)
