Repository navigation
docs: 1 review fix for #901 (grammar and spelling) - #910
Closed
context7[bot] wants to merge 15 commits into
Closed
context7[bot] wants to merge 15 commits into
context7[bot] wants to merge 15 commits into
Conversation
One page, redis/sdks/agentkit/mcp-tasks, for @upstash/mcp-tasks: durable long-running MCP tools on Redis and QStash/Workflow. It sits next to the other AgentKit packages in both AgentKit groups. The QStash TS SDK sidebar gets a stub at qstash/sdks/ts/mcp-tasks that redirects to it (same pattern as redis/search/command-reference). llms.txt and llms-full.txt regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nt2iNfw9zcDS5T2bBgquUd
The package is now @upstash/mcp-toolkit. The MCP Tasks page uses the /tasks imports and gains onSettle plus a "push instead of poll" section. New page redis/sdks/agentkit/mcp-events for /events, in both AgentKit groups, with a QStash TS SDK stub that redirects to it. llms regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nt2iNfw9zcDS5T2bBgquUd
…, Deploy Watch example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YWZjexwCU7VKGGrJ3oxrKK
- tasks.define/register, required principal and signing keys in every snippet
- events: secretKey shown, every emit names owner or owners, a {} subscription
only hears about its own user, one generic -32015 for failed verification,
stricter callback checks, 489 non-retryable for bad deliveries, redirects dropped
- tasks: QStash work is bound by the function limit; Workflow needs the type
argument, steps and a longer ttlMs; task_status prepends a status line; data at
rest note; a coherent task.finished example, untested with ChatGPT
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWZjexwCU7VKGGrJ3oxrKK
- the Users section explains what auth (AuthInfo) is and that the MCP route
populates it via handler.fetch(request, { authInfo }) after verifying the token
- principal receives { auth, request } and may be async; request is for
cookie/session apps and is unverified
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWZjexwCU7VKGGrJ3oxrKK
…ped args
- emit needs no recipients; authorize is required and re-checked before each delivery
- principal may return { id, context } for the delivery-time check; the token is
never stored
- personal events require `to`; args is required when the payload lacks an input field
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWZjexwCU7VKGGrJ3oxrKK
…mpotencyKey - Upstash backends import from @upstash/mcp-toolkit/upstash; one npm install - principal returns an id and throws when it can't; no `as string | undefined` - idempotencyKey section removed - Workflow: no type argument (inferred), a complete example task Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A5x4btgiRE3FKdpUW527Wu
- events: emit(payload, { eventId? }) only; every input field is a payload
field; authorize gets the event's values at delivery; drop to/personal/
match/explicit args, principal context, task.finished, timeoutMs/defaults
and QStashDelivery retries/headers options.
- tasks: drop onSettle/taskFinishedEvent, toolNames, queuedMessage, per-tool
ttlMs/pollIntervalMs and ttlMs: null.
- principal defined once in lib/auth.ts with the SDK's AuthInfo; the MCP
route types authInfo as AuthInfo.
- New custom backend interfaces, Workflow signatures bound to the URL,
MCP_EVENTS_SECRET_KEY >= 32 bytes, every IP literal refused.
- Minimal snippets, details in Accordions, as in the package README.
Claude-Session: https://claude.ai/code/session_012geGTRLRnPqYtaASmBdhE1
Follows upstash/agentkit#38, where the default task TTL went from 5 minutes to 1 day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bv5rWc6Uy6uqCwwDpMN1HJ
…nput-schema routing - MCP Tasks: 'Check what the arguments point at' section (authorize on tasks.define, task.principal in the handler); migrate_workspace example uses both; options and custom-backend notes - MCP Events: maxSubscriptions (8 per subscriber) and the subscription_limit reason; routing values parsed with the input schema; eventId dedup now via webhook-id; by:<subscriber> key; SubscriptionStore interface Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gtucop3k8CNVLjgvoDTC8n
lib/auth.ts now holds verifyToken (builds AuthInfo, wired with withMcpAuth) next to principal; the MCP route uses mcp-handler's createMcpHandler + withMcpAuth, as upstash-mcp-server does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gtucop3k8CNVLjgvoDTC8n
Contributor
Author
|
Docs7 for upstash.com
Commit |
context7
Bot
temporarily deployed
to
Docs7 Preview: context7-agent/09df3c1c-9c05-4093-9d6e-e4e2644ee98c/review-901-250
October 8, 2026 21:35
Destroyed
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
Author
|
Docs7 closed this fix pull request because #901 closed. |
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.
Docs7 reviewed #901 and fixed what it could:
redis/sdks/agentkit/mcp-events.mdx:146— Nonstandard construction "requires it echoed back"; needs "requires the host to echo it back".Review: https://context7.com/docs7?teamspaceId=0f429d0d-6b30-4aff-94a1-e63e91de03b0&tab=agent&docs7SiteId=09df3c1c-9c05-4093-9d6e-e4e2644ee98c#pr-review-agent