MCP: Suspend instance - #8487
Closed
ZJvandeWeg wants to merge 1 commit into
Closed
ZJvandeWeg wants to merge 1 commit into
ZJvandeWeg wants to merge 1 commit into
Conversation
ZJvandeWeg
force-pushed
the
zj-mcp-suspend
branch
from
September 11, 2026 20:37
cb856a1 to
682bca8
Compare
Adds platform_suspend_hosted_instance, calling the existing project suspend action route. Marked as a non-destructive write action (destructiveHint: false): suspending stops the running container but keeps the instance's flows, credentials, and settings intact, and it can simply be started again, so it doesn't warrant the stricter destructive-write gating. Also documents the new tool in the Expert chat docs' platform actions reference table. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ZJvandeWeg
force-pushed
the
zj-mcp-suspend
branch
from
September 11, 2026 20:38
682bca8 to
8fa182b
Compare
ZJvandeWeg
commented
Sep 11, 2026
| Check platform_get_hosted_instance_status first if you need to confirm the instance is currently running before suspending it.`, | ||
| annotations: { readOnlyHint: false, destructiveHint: false }, | ||
| inputSchema: { | ||
| hostedInstanceId: z.string().describe('The ID or hashid of the hosted instance') |
Member
Author
There was a problem hiding this comment.
The questions is a bit if a z.number() or so would be better. The fact we're interpolating it later made me decide a string was fine.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8487 +/- ##
=======================================
Coverage 76.86% 76.86%
=======================================
Files 460 460
Lines 24751 24754 +3
Branches 6601 6601
=======================================
+ Hits 19025 19028 +3
Misses 5726 5726
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
Closing in favor of #8504 |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I tried this today, and it failed: