docs: Recipe → MCP Bridge features page#2123
Conversation
Co-authored-by: MervinPraison <MervinPraison@users.noreply.github.com>
|
@coderabbitai review |
|
/review |
|
@gemini review this PR |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
There was a problem hiding this comment.
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.
| 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.") |
There was a problem hiding this comment.
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.")
|
Merge gate scan — eligible for assessment. Claude merge gate will assess and may auto-merge if |
|
MERGE_GATE_VERDICT: APPROVE All checklist items passed:
|
|
Merged by Claude PR merge gate ( |
|
Merge gate scan — not eligible for auto-merge.
Actions: wait for CI and the Claude review chain, or add label |
✅ Action performedReview finished.
|
|
Warning Review limit reached
Next review available in: 28 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Fixes #2111