Skip to content

refactor(mcp): replace deprecated ToolboxAPI calls with toolbox-api-client#72

Open
MDzaja wants to merge 2 commits into
mainfrom
mcp/toolbox-proxy
Open

refactor(mcp): replace deprecated ToolboxAPI calls with toolbox-api-client#72
MDzaja wants to merge 2 commits into
mainfrom
mcp/toolbox-proxy

Conversation

@MDzaja

@MDzaja MDzaja commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary by cubic

Replaced deprecated ToolboxAPI calls with toolbox-api-client in the MCP toolbox proxy. Removed Toolbox endpoints/models from the Go/Java API clients and OpenAPI, and updated sdk-ruby to use DaytonaToolboxApiClient models for replace_in_files and LSP completions.

  • Refactors

    • Dropped ToolboxAPI from api-client-go and api-client-java, removed Toolbox-related models, and pruned api/openapi.yaml. Other APIs are unchanged.
    • Ruby SDK: pointed replace_in_files and LSP completions at DaytonaToolboxApiClient models.
  • Migration

    • Go: APIClient.ToolboxAPI no longer exists. Replace calls with toolbox-api-client equivalents and update imports.
    • Java: Remove io.daytona.api.client.api.ToolboxApi and related models. Use the toolbox-api-client instead and update imports/serializers as needed.
    • Ruby: If using Toolbox models directly, import from DaytonaToolboxApiClient. No other changes needed.
    • No behavior changes outside Toolbox-related code paths.

Written for commit 9b539e2. Summary will update on new commits.

Review in cubic

…lient

Signed-off-by: MDzaja <mirkodzaja0@gmail.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 505 files

Not reviewed (too large): openapi-specs/api.json (~14,348 lines) - if these are generated or fixture files, add them to ignored paths to exclude them from future reviews.

You’re at about 98% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Note: This PR contains a large number of files. cubic only reviews up to 200 files per PR, so some files may not have been reviewed. cubic prioritizes the most important files to review.
Tip: instead of fixing issues one by one fix them all with cubic

Re-trigger cubic

Comment thread cli/mcp/tools/upload_file.go
Comment thread cli/mcp/tools/download_file.go
Comment thread cli/mcp/tools/download_file.go
Comment thread cli/mcp/tools/delete_file.go
Comment thread cli/mcp/tools/execute_command.go
…oolboxApiClient models

Signed-off-by: MDzaja <mirkodzaja0@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant