All notable changes to this project will be documented in this file.

[1.0.0] - 2026-07-29

Freeze the stateful 2025 protocol line.

gen_mcp 1.0.0 is the 0.10.x codebase promoted to a stable major. It speaks the stateful MCP protocol (2025-06-18 / 2025-11-25), and nothing about how it works changes with this release. If you are running gen_mcp today, {:gen_mcp, "~> 1.0"} keeps you exactly where you are, on a lane that stays supported.

The 1.x branch takes security fixes and dependency-compatibility fixes only. No features and no protocol work: the 2025 protocol is frozen here.

Version 2 is a hard fork onto the stateless 2026-07-28 protocol, which removes session handling from the core. Staying on 1.x is not the only way to keep your current clients working — v2 ships a compatibility transport that serves 2025 clients from the same application, on their existing route, so upgrading does not mean migrating every client at once.

One API removal since 0.10.0: the GenMCP.MCP.RequestMeta entity is gone, dropped by the MCP schema codegen refactor. The rest of the public surface is unchanged.

⚙️ Miscellaneous Tasks

  • Refactor MCP schemas codegen
  • (doc) Generate docs in :docs env

[0.10.0] - 2026-05-25

🚀 Features

  • Added :jsv_build_opts to customize Suite.Tool input schema validation
  • Support returning structured content without mirrored text content from tools

[0.9.1] - 2026-05-13

🐛 Bug Fixes

  • Allow atom casting in compile-time tool schemas

[0.9.0] - 2026-05-10

🚀 Features

  • Upgrade to JSV 0.19 new cast system, support Decimal 3

[0.8.0] - 2026-03-30

🚀 Features

  • Added support for logging capabilities

🚜 Refactor

  • [breaking] Channel.send_progress/3 will not return :ok instead of {:ok, channel}

[0.7.0] - 2026-03-16

🚀 Features

  • Use a global registry to support restoring sessions on any node
  • [breaking] Default protocol version is now 2025-11-25

[0.6.0] - 2026-03-16

🐛 Bug Fixes

  • Return HTTP 200 codes for RPC-level errors

[0.5.2] - 2026-01-26

🐛 Bug Fixes

  • Fixed callback check macros for Elixir 1.20

[0.5.1] - 2026-01-06

🐛 Bug Fixes

  • Use self-contained JSON Schemas when listing tools

[0.5.0] - 2025-12-19

🚀 Features

  • Added support for tools/list _meta in Suite
  • Channels are now created by the HTTP client directly
  • Added session controller support in suite
  • Prepare channel struct for status indicator
  • Pass listener channel to the session controller
  • [breaking] Session controller channel assigns are not merged in all requests anymore

🚜 Refactor

  • Do not handle file write errors in DevSessionStore

📚 Documentation

  • Document need for constant node_id for DevSessionStore

[0.4.2] - 2025-11-29

📚 Documentation

  • Improvements on user guides

[0.4.1] - 2025-11-29

🐛 Bug Fixes

  • Fixed server name/title that was hardcoded with test values

[0.4.0] - 2025-11-28

🚀 Features

  • Updated MCP schemas generation to skip content blocks types in structs
  • Removed logger calls, using telemetry instead

[0.3.1] - 2025-11-26

📚 Documentation

  • Updated getting started doc for example tool to work (#6)

[0.3.0] - 2025-11-26

🚀 Features

  • Extract module based schemas for tool describe
  • Make all RPC request objects serialize as valid requests

🐛 Bug Fixes

  • Change error code for unsupported protocol version

📚 Documentation

  • Started to document some modules
  • Added bare documentation for some behaviours
  • Added example implementations in behaviours

⚙️ Miscellaneous Tasks

  • Handle formatter variations accross Elixir versions
  • Handle formatter variations accross Elixir versions 2
  • Added LICENSE
  • Remove .tool-versions
  • Prevent dialyzer to start on localcluster
  • Using Quokka formatter

[0.2.0] - 2025-11-17

🚀 Features

  • Node ID prototype
  • Added the mcp-validator test suite
  • Generated schemas for protocol entities
  • Ensure keepalive for streams
  • Store async tool state in parent state
  • New http connection implementation with multiplexing
  • New, simpler server implementation and behaviour
  • Added support for resources and URI templates
  • Added support for async Tasks in tools
  • Added support for prompts and arguments
  • Added support for authorization layer
  • Added Tool using macros and fixed session node retrieval
  • Encode unknown method errors
  • Session termination and timeout
  • Session initialization failure handling
  • Added helpers to create MCP entities
  • Support extensions in Suite init phases
  • Allow invalid_params tuples from tool and prompt calls
  • Support node ID configuration
  • Accept and ignore cancelled notification
  • Accept and ignore roots notification

🐛 Bug Fixes

  • Capabilities rendering when no tool is there
  • Declare capabilities based on suite components

🚜 Refactor

  • Node disconnect cleanup
  • Use session ID as salt for pagination tokens
  • Moved MCP entities to the MCP namespace
  • Inline JSON serializers for MCP structs

🧪 Testing

  • Initialized tests for the statful server
  • Fix warnings on module delegations
  • Ensure resource and prompt repos receive channel assigns
  • Added tests to fix ResourceRepo behaviour

⚙️ Miscellaneous Tasks

  • Move test namespace
  • Rename plug derivation to defplug
  • Setup mcp jest tool for later
  • Tools shoud be initializable
  • Tool storage using map
  • Renaming namespaces
  • Wrap node sync in its own supervisor
  • Credo and dialyzer fixes