# agent: Sanitize MCP tool names for stricter provider naming rules \(\#60154\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 03125da5444120ed4bc015366987859e19c663f0

Requested commit: 03125da5444120ed4bc015366987859e19c663f0

Commit: 03125da5444120ed4bc015366987859e19c663f0

Tree: 609a7b409fc96e1e496855af1cb73d748ec34c23

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Sanitize MCP tool names for stricter provider naming rules (#60154)

Closes #59038

Release Notes:

- agent: Fixed an issue where MCP servers with specific tool names would
cause errors when using Anthropic/OpenAI models
```

## Parents

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

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