# @langchain/mcp-adapters

## 1.1.3

### Patch Changes

- [#10005](https://github.com/langchain-ai/langchainjs/pull/10005) [`d1365a1`](https://github.com/langchain-ai/langchainjs/commit/d1365a125fc9d0d17120d923957841a33ba160cf) Thanks [@Oscar-Umana](https://github.com/Oscar-Umana)! - map mcp resource link content blocks to langchain url content block

## 1.1.2

### Patch Changes

- [#9805](https://github.com/langchain-ai/langchainjs/pull/9805) [`6c8a335`](https://github.com/langchain-ai/langchainjs/commit/6c8a335ec6e14d27c99a0a49de6be3ac332e33b3) Thanks [@christian-bromann](https://github.com/christian-bromann)! - fix(mcp-adapters): simplify complex JSON schemas for LLM compatibility (#9804)

## 1.1.1

### Patch Changes

- [#9674](https://github.com/langchain-ai/langchainjs/pull/9674) [`2b36431`](https://github.com/langchain-ai/langchainjs/commit/2b36431babf0a4e4bc659c50659777c5228d3ac0) Thanks [@Nitinref](https://github.com/Nitinref)! - bump @modelcontextprotocol/sdk to address CVE-2025-66414

## 1.1.0

### Minor Changes

- [#9649](https://github.com/langchain-ai/langchainjs/pull/9649) [`66c1822`](https://github.com/langchain-ai/langchainjs/commit/66c1822370989a13a7b60fa409811ab2256ed682) Thanks [@hntrl](https://github.com/hntrl)! - add `onConnectionError` option

### Patch Changes

- [#9165](https://github.com/langchain-ai/langchainjs/pull/9165) [`2e5ad70`](https://github.com/langchain-ai/langchainjs/commit/2e5ad70d16c1f13eaaea95336bbe2ec4a4a4954a) Thanks [@pawel-twardziak](https://github.com/pawel-twardziak)! - fix(mcp-adapters): preserve timeout from RunnableConfig in MCP tool calls

## 1.0.3

### Patch Changes

- [#9525](https://github.com/langchain-ai/langchainjs/pull/9525) [`668d7aa`](https://github.com/langchain-ai/langchainjs/commit/668d7aaac0bf69781e7e6c1f42b73fef019ced44) Thanks [@christian-bromann](https://github.com/christian-bromann)! - fix(@langchain/mcp-adapters): resolve $defs/$ref in JSON schemas for Pydantic v2 compatibility

## 1.0.2

### Patch Changes

- [#9514](https://github.com/langchain-ai/langchainjs/pull/9514) [`6cecddf`](https://github.com/langchain-ai/langchainjs/commit/6cecddf07f3daa8c45a3da33f04759f8af0eec41) Thanks [@strowk](https://github.com/strowk)! - fix: pass cwd to mcp sdk correctly

## 1.0.1

### Patch Changes

- [#9416](https://github.com/langchain-ai/langchainjs/pull/9416) [`0fe9beb`](https://github.com/langchain-ai/langchainjs/commit/0fe9bebee6710f719e47f913eec1ec4f638e4de4) Thanks [@hntrl](https://github.com/hntrl)! - fix 'moduleResultion: "node"' compatibility

## 1.0.0

This release updates the package for compatibility with LangChain v1.0. See the v1.0 [release notes](https://docs.langchain.com/oss/javascript/releases/langchain-v1) for details on what's new.

## [0.1.7] - 2024-05-08

### Fixed

- Fixed SSE headers support to properly pass headers to eventsource
- Improved error handling for SSE connections
- Added proper support for Node.js eventsource library
- Fixed type errors in agent integration tests

### Added

- Improved test coverage to over 80%
- Added comprehensive error handling tests
- Added integration tests for different connection types

### Changed

- Updated ESLint configuration to properly exclude dist directory
- Improved build process to avoid linting errors

## [0.1.3] - 2023-03-11

### Changed

- Version bump to resolve npm publishing conflict
- Automated version management in GitHub Actions workflow

## [0.1.2] - 2023-03-10

### Added

- GitHub Actions workflows for PR validation, CI, and npm publishing
- Husky for Git hooks
- lint-staged for running linters on staged files
- Issue and PR templates
- CHANGELOG.md and CONTRIBUTING.md
- Improved npm publishing workflow with automatic version conflict resolution

### Fixed

- Fixed Husky deprecation warnings

## [0.1.0] - 2023-03-03

### Added

- Initial release
- Support for stdio and SSE transports
- MultiServerMCPClient for connecting to multiple MCP servers
- Configuration file support
- Examples for various use cases
- Integration with LangChain.js agents
