Add ATXP MCP server integration for image, video, and browse tools#1
Merged
robdimarco-atxp merged 1 commit intoOct 13, 2025
Conversation
- Integrate image.mcp.atxp.ai for image generation capabilities - Integrate video.mcp.atxp.ai for video creation from text prompts - Integrate browse.mcp.atxp.ai for web browsing and screenshot capabilities - Use ATXP proxy URLs to avoid per-request charges - Initialize MCP servers on first chat message - Enhanced system prompt to describe new capabilities - Updated README with MCP tool documentation and example prompts This implements ATXP-409 and enhances the template created in ATXP-405 with advanced MCP capabilities that demonstrate the power of the ATXP platform for building AI agents. Fixes ATXP-405 Fixes ATXP-409 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds ATXP MCP (Model Context Protocol) server integration to the Cloudflare chat template, providing advanced capabilities:
Changes
Server Implementation (src/server.ts)
initializeMcpServers()method that connects to three ATXP MCP servers on first message${atxpConnection}&server=${server}) to avoid per-request chargesDocumentation (README.md)
Implementation Details
The MCP servers are initialized lazily on the first chat message using the ATXP connection string already configured for LLM access. This approach:
ATXP_CONNECTIONenvironment variableagentspackageTesting
Related Issues
Fixes ATXP-405 (Create a template instance for generating Cloudflare chat example)
Fixes ATXP-409 (Add video, browse and image MCP tools to the demonstration)
🤖 Generated with Claude Code