Skip to content

docs: Recipe → MCP Bridge features page#2123

Merged
MervinPraison merged 1 commit into
mainfrom
claude/issue-2111-20260717-1024
Jul 17, 2026
Merged

docs: Recipe → MCP Bridge features page#2123
MervinPraison merged 1 commit into
mainfrom
claude/issue-2111-20260717-1024

Conversation

@praisonai-triage-agent

Copy link
Copy Markdown
Contributor

Fixes #2111

Co-authored-by: MervinPraison <MervinPraison@users.noreply.github.com>
@MervinPraison

Copy link
Copy Markdown
Owner

@coderabbitai review

@MervinPraison

Copy link
Copy Markdown
Owner

/review

@MervinPraison

Copy link
Copy Markdown
Owner

@gemini review this PR

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@MervinPraison MervinPraison added pipeline/awaiting-merge-gate FINAL done; waiting for merge gate / CI pipeline/blocked:ci Blocked: CI not green on HEAD pipeline/merge-ready Eligible for merge gate auto-merge and removed pipeline/awaiting-merge-gate FINAL done; waiting for merge gate / CI pipeline/blocked:ci Blocked: CI not green on HEAD labels Jul 17, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new documentation page (docs/features/mcp-recipe-server.mdx) detailing the "Recipe -> MCP Bridge" feature, which allows users to serve a PraisonAI recipe as a scoped MCP server. It also updates existing documentation to link to this new guide. Feedback on the documentation suggests guarding the top-level execution code in the Python recipe example with if __name__ == "__main__": to prevent premature execution when the recipe is loaded or imported by the MCP server adapter.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +33 to +39
from praisonaiagents import Agent

agent = Agent(
name="support-reply",
instructions="Draft a friendly reply to a customer support ticket.",
)
agent.start("Customer says their order is late.")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

When a Python recipe is loaded or imported by the MCP server adapter, any top-level execution code like agent.start(...) will run immediately during the server's startup/loading phase. To prevent the agent from executing prematurely, it is best practice to guard the execution block with if __name__ == "__main__":.

from praisonaiagents import Agent

agent = Agent(
    name="support-reply",
    instructions="Draft a friendly reply to a customer support ticket.",
)

if __name__ == "__main__":
    agent.start("Customer says their order is late.")

@MervinPraison MervinPraison added pipeline/awaiting-merge-gate FINAL done; waiting for merge gate / CI pipeline/blocked:ci Blocked: CI not green on HEAD and removed pipeline/merge-ready Eligible for merge gate auto-merge labels Jul 17, 2026
@MervinPraison

Copy link
Copy Markdown
Owner

Merge gate scan — eligible for assessment. Claude merge gate will assess and may auto-merge if MERGE_GATE_VERDICT: APPROVE.

@MervinPraison MervinPraison added pipeline/merge-ready Eligible for merge gate auto-merge claude-merge-gate-active and removed pipeline/awaiting-merge-gate FINAL done; waiting for merge gate / CI pipeline/blocked:ci Blocked: CI not green on HEAD labels Jul 17, 2026
@praisonai-triage-agent

Copy link
Copy Markdown
Contributor Author

MERGE_GATE_VERDICT: APPROVE

All checklist items passed:

  • Scope: 4 files, 390 additions / 1 deletion — within docs-primary limits (1200 lines / 40 files).
  • File placement: New page at docs/features/mcp-recipe-server.mdx — correct per AGENTS.md §1.9. No docs/concepts/ changes.
  • docs.json: Nav-only addition (one new entry inserted into existing list) — allowed.
  • Sensitive paths: No changes to .github/workflows/, mint.json, or non-nav docs.json sections. No secrets in diff.
  • Labels: claude-merge-gate-active, pipeline/merge-ready — no blocking labels present.
  • CI on HEAD b77261c0: pipeline-sync ✅, scan-conflicts ✅, no failures.
  • Reviews: No CHANGES_REQUESTED. Gemini left a COMMENTED review (minor suggestion about if __name__ == "__main__": guard in the Python example — not a blocking state). Qodo paused; CodeRabbit/Copilot: no review.
  • AGENTS.md compliance: Complete frontmatter, hero Mermaid diagram with correct color scheme, Quick Start with <Steps>, <AccordionGroup>, <CardGroup>, <Warning> and <Note> callouts — all present.

@MervinPraison
MervinPraison merged commit e8c2afa into main Jul 17, 2026
11 checks passed
@MervinPraison

Copy link
Copy Markdown
Owner

Merged by Claude PR merge gate (claude-merge-gate.yml).
Verdict: MERGE_GATE_VERDICT: APPROVE
SHA: b77261c
Method: merge

@MervinPraison

Copy link
Copy Markdown
Owner

Merge gate scan — not eligible for auto-merge.

  • not open
  • already merged by gate
  • mergeState=UNKNOWN

Actions: wait for CI and the Claude review chain, or add label needs-manual-review and merge manually.
Opt out: label no-auto-merge.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@MervinPraison, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 28 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5c5764de-238f-43f6-9b79-61e250cb1505

📥 Commits

Reviewing files that changed from the base of the PR and between e1d67b0 and b77261c.

📒 Files selected for processing (4)
  • docs.json
  • docs/features/mcp-recipe-server.mdx
  • docs/features/praisonai-mcp-package.mdx
  • docs/mcp/praisonai-mcp-server.mdx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-2111-20260717-1024

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merged-by-gate pipeline/merge-ready Eligible for merge gate auto-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: new Features page for Recipe → MCP Bridge (praisonai-mcp serve-recipe)

1 participant