Repository navigation
Version Packages - #61
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 8, 2026 22:37
785c91f to
e54dd5f
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@upstash/mcp-toolkit@0.1.0
Minor Changes
5644daa: Add
@upstash/mcp-toolkit: durable building blocks for MCP servers on the official TypeScript SDK.@upstash/mcp-toolkit/tasks— long-running tools. A task tool answers immediately with a task id;the model polls the shared
task_statustool for progress and the result, and can stop the taskwith
task_cancel. They are ordinary MCP tools, so they work in every client today. The recordlives in a
TaskStoreand the work runs behind aTaskDispatcher, and the dispatcher owns itsdelivery endpoint (
export const POST = tasks.createExecuteHandler()) and always verifies QStash'ssignature against the URL it published to. Tasks are declared once at module scope with
tasks.define(...)and attached to each request's server withtasks.register(server). A requiredprincipalscopes tasks to their caller (and subscriptions to theirs); handlers get it astask.principal, and an optionalauthorizeontasks.definechecks the arguments before a taskis stored or queued.
@upstash/mcp-toolkit/events— MCP Events with webhook delivery, as ChatGPT ships it. Typedevents.define(...)handles withemit(payload): the payload's values route the event and are whatthe required
authorizeis checked against, at subscribe and again before every delivery.events/list,events/subscribeandevents/unsubscribeare registered on your server, with asigned verification challenge, deterministic subscription ids, expiry and refresh, a configurable
limit of live subscriptions per subscriber (8 by default), SSRF checks on callback URLs, and signing
secrets encrypted at rest.
QStashDeliverysigns each attempt withStandard Webhooks and lets QStash retry failures (
export const POST = events.createDeliveryHandler()).A handler that returns a tool error (
isError: true) fails its task without a retry, andtask_statusshows that error the way the synchronous tool would. The model only ever sees afailure's
codeandmessage: transport details stay in the store, and dispatch errors are logged.The package uses WebCrypto only, so it runs on Node and edge runtimes.
@upstash/mcp-toolkit/upstashholds the Upstash backends for both:RedisTaskStore,QStashDispatcher,WorkflowDispatcher,RedisSubscriptionStoreandQStashDelivery.@upstash/redis,@upstash/qstashand@upstash/workfloware regular dependencies.mcp-toolkit-demo@0.1.1
Patch Changes