Skip to content

docs: 1 review fix for #901 (grammar and spelling) - #910

Closed
context7[bot] wants to merge 15 commits into
mainfrom
context7-agent/09df3c1c-9c05-4093-9d6e-e4e2644ee98c/review-901-250
Closed

context7[bot] wants to merge 15 commits into
mainfrom
context7-agent/09df3c1c-9c05-4093-9d6e-e4e2644ee98c/review-901-250

Conversation

@context7

@context7 context7 Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

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

CahidArda and others added 15 commits October 7, 2026 12:21
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
@context7

context7 Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Docs7 for upstash.com

Result Status Action
Deployment ✅ Ready Open preview

Commit 3bb5d7b · Updated 2026-10-08 21:35 UTC · View build details

@context7
context7 Bot temporarily deployed to Docs7 Preview: context7-agent/09df3c1c-9c05-4093-9d6e-e4e2644ee98c/review-901-250 October 8, 2026 21:35 Destroyed
Base automatically changed from dx-3022-mcp-tasks-docs to main October 8, 2026 22:03
@mintlify

mintlify Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
upstash 🟢 Ready View Preview Oct 8, 2026, 10:04 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@context7 context7 Bot closed this Oct 8, 2026
@context7

context7 Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Docs7 closed this fix pull request because #901 closed.

This branch was successfully deployed

1 active deployment
staging — 3bb5d7b7 Deployed Oct 8, 2026 by mintlify[bot]
Docs7 Preview: context7-agent/09df3c1c-9c05-4093-9d6e-e4e2644ee98c/review-901-250 — 3bb5d7b7 Deployed Oct 8, 2026 by context7[bot]
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