Skip to content

docs(predictions): self-serve webhook destinations over MCP - #209

Merged
ericjuta merged 3 commits into
mainfrom
docs/predictions-self-serve-destinations
Oct 23, 2026
Merged

ericjuta merged 3 commits into
mainfrom
docs/predictions-self-serve-destinations

Conversation

@ericjuta

Copy link
Copy Markdown
Contributor

Hold: merge only after nextjs-ai-chatbot PR feat/prediction-events-destination-tools is deployed to production (askgina.ai lists the four tools).

Docs for self-serve webhook destinations over MCP, so Grok, Codex, Claude and similar clients can set up push delivery with no browser step. The settings page stays and shares the same destinations.

Shared-contract tool names (keep in sync with the code PR; they appear in docs/predictions-mcp/events.mdx, the connect pages and tools/docs/venue-tools.json):

  • createWebhookDestination({ label, url, secret? })
  • rotateWebhookDestinationSecret({ destinationId, secret? })
  • disableWebhookDestination({ destinationId })
  • sendWebhookTestEvent({ destinationId })

Changed pages:

  • docs/predictions-mcp/events.mdx: two equal registration paths, ten tools, check steps, Grok and Codex sections
  • docs/predictions-mcp/tools.mdx: regenerated from the catalog
  • docs/connect/grok-bot.mdx, docs/connect/codex.mdx, docs/connect/claude.mdx
  • tools/docs/venue-tools.json: three new annotation classes and the four tools (the reference page is generated from it)

Not changed: skills, code, evals.

Checks run locally: fmt:check, docs:test, docs:check, venue-tools --check, lint, audit all exit 0. Rejudge plus compare.mjs: "No regression against the baseline", pages newly at drift_risk >= 0.7: 0.

Document createWebhookDestination, rotateWebhookDestinationSecret,
disableWebhookDestination and sendWebhookTestEvent beside the settings page,
update the event tool table to ten tools, the verification steps and the
Grok, Codex and Claude setup. Native tools reference regenerated from the
catalog.
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
plugins-evals Ready Ready Preview Oct 23, 2026 5:10pm UTC

Request Review

@github-actions

Copy link
Copy Markdown

Docs Preview

Changed docs pages: 5

  • connect/claude
  • connect/codex
  • connect/grok-bot
  • predictions-mcp/events
  • predictions-mcp/tools

Navigation updated: no

Impacted nav groups:

  • Start here
  • Trading MCP (Degen Mode)

Always pass subscriptionId to getPredictionEvents, persist the cursor, loop
while hasMore, dedupe on eventId, re-read state when truncated, and resume an
idle subscription with patch.enabled. Add a /loop polling prompt for Claude
Code and note that a webhook destination does not start a Claude turn.
State the 5-destination cap and the shared hourly limits explicitly.
@ericjuta
ericjuta marked this pull request as ready for review October 23, 2026 17:53
@ericjuta
ericjuta merged commit 5aae429 into main Oct 23, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — f2553c5b Deployed Oct 23, 2026 by vercel[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