Documentation Hosted MCP

Hosted MCP

Available

Review a caller-supplied diff with review_diff.

The tool uses the same input and finding contract as synchronous REST review.

Tool contract

review_diff is read-only with respect to the caller's environment, but it sends the supplied review content to the hosted service.

  • Input: diff, targetLanguage, optional contextSnippets, clientReference, and options.
  • Output: requestId, optional clientReference, findings, and processing metadata.
  • Transport: structured content plus a serialized text fallback for compatible clients.

Example request

Tell the client which Git boundary to use. Review the generated diff before authorizing submission when the change is sensitive.

Example client request
Review my staged changes with Enjoyable.
Create a unified Git diff with three lines of context, submit it to review_diff,
and summarize only the returned findings. Do not send untracked files.

Quotas and structured errors

The hosted endpoint applies operational per-user and per-client quotas. Product quota errors include the affected window, current limit, and retryAfterSeconds. A RATE_LIMITED error from an upstream model provider may omit those details.

The tool cannot inspect your workspace

Your MCP client must create the diff and optional context. The hosted tool cannot discover staged changes, read local files, or retrieve repository credentials on its own.