mcp: v0.8.0 — expand to all 6 resource types + claim_resource helper#1
Merged
Merged
Conversation
The MCP server is the agent's primary entry point into instanode — it
needs to expose every resource type and surface the response's claim CTA
so agents can convert users into paying customers.
Tools added (6 → 11):
- create_cache POST /cache/new (Redis)
- create_nosql POST /nosql/new (MongoDB)
- create_queue POST /queue/new (NATS JetStream)
- create_storage POST /storage/new (S3-compatible / DO Spaces)
- claim_resource pure local helper — turns an upgrade JWT into
https://instanode.dev/start?t=<jwt>
Every create_* tool now surfaces the response's note + upgrade fields
via appendUpgradeBlock() so the agent literally sees the claim CTA and
URL in the tool response.
Files:
src/client.ts — 4 new endpoint methods + ProvisionResultBase typing
src/index.ts — 5 new tools registered + shared helpers
package.json — version 0.7.3 → 0.8.0, keywords expanded
README.md — tools table rewritten, claim flow explained
test.sh — expected-tools set updated to 11
Test gate: npm run build clean, npm test 6/6 pass against the live API
at https://api.instanode.dev.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
create_cache(Redis),create_nosql(MongoDB),create_queue(NATS),create_storage(S3-compatible),claim_resource(pure local helper that builds the dashboard claim URL from an upgrade JWT)create_*tool surfaces the api'snote+upgradefields via a sharedappendUpgradeBlock()so agents see the claim CTA in the tool responseTest plan
npm run buildcleannpm test— 6/6 pass againsthttps://api.instanode.devAfter merge: the
auto-publish to npm on version bump in masterworkflow will publish@instanode/mcp@0.8.0.🤖 Generated with Claude Code