---
title: "v1.86.7 - Stream Cost Recovery & MCP Key Scoping"
url: "/release_notes/v1.86.7/v1-86-7"
canonical_url: "https://docs.litellm.ai/release_notes/v1.86.7/v1-86-7"
type: "release-notes"
last_updated: "2026-10-04"
related:
  - "/release_notes/v1.87.0/v1-87-0"
  - "/release_notes/v1.86.6/v1-86-6"
---
# v1.86.7 - Stream Cost Recovery & MCP Key Scoping

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt

## Deploy this version

**Docker**

```bash
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.86.7
```

**Pip**

```bash
pip install litellm==1.86.7
```

`v1.86.7` is a patch release on top of [`v1.86.6`](/release_notes/v1.86.6/v1-86-6). It backports cost-tracking recovery for interrupted Anthropic streams, adds a `no-mcp-servers` sentinel that scopes a key to zero MCP servers, caps Anthropic `cache_control` injection at the 4-block API limit, and bumps OpenSSL plus `cryptography`, `python-multipart`, `pydantic-settings`, and `pypdf` for CVE coverage.

### What's Changed

- fix(integrations): cap Anthropic cache_control injection at 4 blocks - [PR #30480](https://github.com/BerriAI/litellm/pull/30480)
- fix(passthrough): recover output tokens for interrupted anthropic streams - [PR #30787](https://github.com/BerriAI/litellm/pull/30787)
- fix(proxy): record partial spend on the failure row for interrupted streams - [PR #30788](https://github.com/BerriAI/litellm/pull/30788)
- feat(mcp): scope a key to zero MCP servers with no-mcp-servers sentinel - [PR #31029](https://github.com/BerriAI/litellm/pull/31029)
- fix(passthrough,streaming): recover cost on interrupted and agentic Anthropic streams - [PR #31035](https://github.com/BerriAI/litellm/pull/31035)
- fix(docker): bump wolfi-base digest to patch openssl CVE-2026-34182 - [PR #31133](https://github.com/BerriAI/litellm/pull/31133)

## Full Changelog

https://github.com/BerriAI/litellm/compare/v1.86.6...v1.86.7

## Related pages

- [v1.87.0](https://docs.litellm.ai/release_notes/v1.87.0/v1-87-0.md)
- [v1.86.6](https://docs.litellm.ai/release_notes/v1.86.6/v1-86-6.md)
