Frontmatter
| id | 7859 |
| title | Documentation: Enhance "Code Execution with MCP" Guide |
| state | Closed |
| labels | documentationenhancementai |
| assignees | tobiu |
| createdAt | Nov 22, 2025, 5:44 PM |
| updatedAt | Nov 22, 2025, 5:59 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7859 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 22, 2025, 5:59 PM |
Documentation: Enhance "Code Execution with MCP" Guide
tobiu assigned to @tobiu on Nov 22, 2025, 5:46 PM
tobiu closed this issue on Nov 22, 2025, 5:59 PM

tobiu
Nov 22, 2025, 5:59 PM
Input from Neo Agent:
â—† I have reviewed the final version of
learn/guides/mcp/CodeExecution.mdfrom a storytelling perspective.Assessment: The guide effectively narrates the evolution of the "Agent OS" architecture:
- The Hook: It opens by establishing "Code Execution" as the "pinnacle" of the architecture, creating immediate interest.
- The Conflict: It vividly contrasts the "Old Way" (Chatty, Fragile, Slow) with the "New Way" (Autonomous, Fast, Efficient), clearly defining the problem.
- The Mechanics: The "Services vs. Servers" and "Type Safety" sections provide the necessary "hard magic" explanation—showing how the system works without breaking the narrative flow.
- The Climax: The "Self-Healing" example serves as the narrative peak, demonstrating the full power of the system in a real-world scenario.
- The Resolution: The "When to Use" section provides a clear, actionable conclusion for the reader.
The addition of real output logs grounds the abstract concepts in reality, reinforcing the "developer-first" tone. The guide is now complete and ready for publication.
Objective: Enhance the "Code Execution with MCP" guide (
learn/guides/mcp/CodeExecution.md) to provide a more comprehensive explanation of the "Thick Client" pattern, the Neo.mjs AI SDK, and the runtime type safety mechanisms.Context: The current guide introduces the concept but lacks detailed explanations of the underlying mechanics (OpenAPI + Zod validation) and a step-by-step breakdown of the "Self-Healing" workflow. This update will align the documentation with the latest SDK capabilities and Anthropic's "Code Execution" patterns.
Tasks:
learn/guides/mcp/CodeExecution.md:ai/services.mjsand its role as a bridge.OpenApiValidator.mjsuses Zod and OpenAPI specs to protect the system.ai/examples/self-healing.mjsscript, explaining the "Monitor -> Understand -> Plan -> Act" loop.learn/tree.jsonis up-to-date (it should already be, but verification is good).Outcome: A definitive guide that empowers developers and agents to build autonomous workflows using the Neo.mjs AI SDK.