Claude Code 2.1.187 adds background agents, MCP logs
Anthropic has released a pre-release version of its terminal-first AI assistant, Claude Code 2.1.187, via the npm next tag. The update introduces direct support for running sessions as background agents and querying Model Context Protocol (MCP) server logs directly from the command line.
This update significantly improves developer workflows by enabling parallel task execution and CLI-native debugging of MCP servers. Bringing background agents and server logs into the core tool reduces context-switching and reduces dependency on external scripting wrappers.
- –The new `--bg` or `--background` flag allows developers to run complex, multi-file tasks asynchronously without blocking their active terminal session.
- –The `claude mcp logs <name>` command simplifies debugging by providing a direct way to view logs for specific Model Context Protocol servers.
- –Utilizing a pre-release cadence on npm under the `next` tag highlights Anthropic's rapid, community-driven iteration process for their CLI agent.
- –Enhanced parallel execution makes Claude Code much more capable for long-running workflows like test suite execution or deep research tasks.
DISCOVERED
1h ago
2026-06-23
PUBLISHED
1h ago
2026-06-23
RELEVANCE
AUTHOR
ClaudeCodeLog