Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All releases Home olderv0.2.40 v0.2.42newer

Claude Code v0.2.41

5 entries read diff v0.2.40 → v0.2.41 Markdown
Find
Pick an entry · j / k steps through
5 entries

Changesopen

New Features#

MCP (Model Context Protocol) Status Command

  • New command: /mcp - Shows the connection status of all configured MCP servers
  • Displays a formatted list of MCP servers with their connection states:
  • connected (green) - Successfully connected to the server
  • connecting… (yellow) - Connection in progress
  • failed (red) - Connection failed
  • Includes debug mode support with --mcp-debug flag for inline error logs
  • Shows log file location for troubleshooting failed connections

Example output:

MCP Server Status

• server1: connected
• server2: connecting…
• server3: failed

Run claude with --mcp-debug to see error logs inline, or view log files in: /path/to/logs

Improvements#

Enhanced MCP Integration

  • Improved MCP server connection handling with better error reporting
  • Added connection timeout configuration (5 seconds default)
  • MCP tools and prompts now have an isMcp: true property for better identification
  • Better separation of MCP client state management

Logging Infrastructure

  • New baseLogs() function added to the logging system for accessing the base log directory
  • Enhanced MCP-specific logging with dedicated log files per server

Memory Management

  • Added telemetry events for memory undo operations:
  • tengu_memory_undo_attempt - Tracks when undo is attempted
  • tengu_memory_undo_success - Tracks successful undo operations
  • tengu_memory_undo_failure - Tracks failed undo operations

Technical Changes#

Refactored MCP Architecture

  • Replaced monolithic MCP initialization with a more modular approach:
  • New cS1() function for parallel MCP server connections
  • New zx2() function for aggregating MCP resources
  • New Qx2() React hook for managing MCP state in the UI
  • Improved error handling with per-server error isolation
  • Better separation of concerns between connection, tool discovery, and prompt discovery

Performance Optimizations

  • Changed from SHA-256 web crypto API to Node.js native crypto module for hash operations
  • More efficient stream handling with direct Readable imports
  • Improved memoization for tool and command lists with new gl2() and Ul2() utility functions

Code Quality

  • Better TypeScript/Zod schema validation for MCP server configurations
  • Cleaner import organization and dependency management
  • More consistent error messaging and logging patterns

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Bug Fixes#

  • Fixed potential race conditions in MCP server connection initialization
  • Improved error handling for failed MCP server connections
  • Better cleanup of timeouts in connection handling

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Breaking Changes#

None - This release maintains backward compatibility with existing configurations and APIs.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v0.2.41. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

  • MCP server startup timeout can now be configured via MCP_TIMEOUT environment variable
  • MCP server startup no longer blocks the app from starting up
System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.