claude_code_sdk 1.1.0
claude_code_sdk: ^1.1.0 copied to clipboard
A Dart SDK for interacting with Claude Code, providing seamless integration with AI-powered coding assistance through the Claude Code CLI.
1.1.0 #
- Added comprehensive MCP (Model Context Protocol) support:
- New
isMcpInstalled()
method to check MCP installation and list configured servers listMcpServers()
to get all configured MCP serversaddMcpServer()
to add custom or npm-based MCP serversremoveMcpServer()
to remove MCP serversgetMcpServerDetails()
to get details about specific serversinstallPopularMcpServer()
for easy installation of popular serversgetPopularMcpServers()
to list available popular servers
- New
- New MCP models and types:
McpServer
- MCP server configuration modelMcpConfig
- MCP configuration managementMcpInstallationInfo
- Installation status informationMcpScope
- Server scope enum (project/user/system)McpServerStatus
- Server status enumMcpAddOptions
- Options for adding serversPopularMcpServers
- Pre-configured popular servers
- Pre-configured popular MCP servers:
- filesystem - File system access
- github - GitHub integration
- postgres - PostgreSQL database
- git - Git operations
- puppeteer - Web automation
- sequential-thinking - Problem solving
- slack - Slack integration
- google-drive - Google Drive access
- Added MCP management example in
example/mcp_management.dart
- Updated SDK info to include MCP status
- Full Windows support with cmd wrapper option
1.0.0 #
- Initial release of Claude Code SDK for Dart
- Core features:
- Create and manage chat sessions with Claude
- Send text messages and file references
- Schema-based structured responses
- Real-time streaming of responses
- Automatic SDK installation checking
- Cross-platform support (Windows, macOS, Linux)
- Comprehensive error handling with custom exceptions
- Resource management with proper disposal
- Full test coverage
- Complete documentation and examples