• Product Introduction
  • Quick Start
    • Importing a Git Repository
    • Starting From a Template
    • Direct Upload
    • Start with AI
  • Framework Guide
    • Frontends
      • Vite
      • React
      • Vue
      • Other Frameworks
    • Backends
    • Full-stack
      • Next.js
      • Nuxt
      • Astro
      • React Router
      • SvelteKit
      • TanStack Start
      • Vike
    • Custom 404 Page
  • Project Guide
    • Project Management
    • edgeone.json
    • Configuring Cache
    • Error Codes
  • Build Guide
  • Deployment Guide
    • Overview
    • Create Deploys
    • Manage Deploys
    • Deploy Button
    • Using Github Actions
    • Using Gitlab CI/CD
    • Using CNB Plugin
    • Using IDE PlugIn
    • Using CodeBuddy IDE
  • Domain Management
    • Overview
    • Custom Domain
    • HTTPS Configuration
      • Overview
      • Apply for Free Certificate
      • Using Managed SSL Certificate
    • Configure DNS CNAME Record
  • Observability
    • Overview
    • Metric Analysis
    • Log Analysis
  • Pages Functions
    • Overview
    • Edge Functions
    • Cloud Functions
      • Overview
      • Node Functions
  • Middleware
  • KV Storage
  • Edge AI
  • API Token
  • EdgeOne CLI
  • Pages MCP
  • Message Notification
  • Integration Guide
    • AI
      • Dialogue Large Models Integration
      • Large Models for Images Integration
    • Database
      • Supabase Integration
      • Pages KV Integration
    • Ecommerce
      • Shopify Integration
      • WooCommerce Integration
    • Payment
      • Stripe Integration
      • Integrating Paddle
    • CMS
      • WordPress Integration
      • Contentful Integration
      • Sanity Integration
      • Payload Integration
    • Authentication
      • Supabase Integration
      • Clerk Integration
  • Best Practices
    • Using General Large Model to Quickly Build AI Application
    • Use the DeepSeek model to quickly build a conversational AI site
    • Building an Ecommerce Platform with Shopify
    • Building a SaaS Site Using Supabase and Stripe
    • Building a Company Brand Site Quickly
    • How to Quickly Build a Blog Site
  • Migration Guides
    • Migrating from Vercel to EdgeOne Pages
    • Migrating from Cloudflare Pages to EdgeOne Pages
    • Migrating from Netlify to EdgeOne Pages
  • Troubleshooting
  • FAQs
  • Contact Us
  • Release Notes

Start with AI

EdgeOne Pages features built-in AI tools such as deployment MCP and AI IDE plugin, working in conjunction with flexible AI context files to build an intelligent free and open ecosystem, helping you deliver outstanding Web applications faster and with higher quality.

Using Pages MCP

MCP (Model Context Protocol) is an open protocol that enables AI models to securely interact with local and remote resources.
EdgeOne Pages Deploy MCP is a dedicated service that can quickly Deploy Web applications to EdgeOne Pages and generate public access links. This allows you to immediately preview and share AI-generated Web content. For more details, see Pages MCP.

AI Context File

In Pages, AI context files serve as a bridge for communication between you and AI IDEs such as CodeBuddy, Cursor, and Windsurf. These files are written in Markdown format, allowing you to define project-specific rules, best practices, code specifications, API definitions, and even business logic descriptions. With context files, you can provide precise context information to AI, ensuring the generated code, suggestions, and automated operations are more in line with your project requirements and platform features.
You can download the Pages context file through this URL: pages-llms.mdc

Using Mdc Files in AI IDEs

For most AI development tools, you only need to place the pages-llms.mdc file in the project root directory as a project-level rule or set it as a global rule in the development tool.
For use in CodeBuddy: Enter the settings interface in the IDE, locate the rule tab, and add the .mdc file under project rules. For more information, view the document Using CodeBuddy IDE.
For use in Cursor: Create a .cursor/rules/ folder in the project root directory and place your .mdc file there. Or add it to the user main directory (such as ~/.cursor/rules/). For more information, view the sample code in Cursor official documentation.
For use in Windsurf: Create a .windsurf/rules/ folder in the project root directory and place your .mdc file there. Or manually add this file through the Windsurf UI. For more information, view the sample code in Windsurf official documentation.

Using Llms.Txt

You can also use llms.txt in AI conversation to share the context of Pages documents. Typically, as long as the AI conversation tool supports this format, llms.txt will be referenced as a network resource context.

AI Development Assistance and Deployment Practice

The following best practice will guide you on how to collaborate with AI effectively for faster and better project development.

Optimize Prompt Content

Clear and structured prompts are key to effective communication with AI. Follow the rules below to help AI understand your intent more accurately.
Use the total score structure: First state the overall goal, then gradually refine specific requirements, such as "create a responsive blog homepage with navigation, article list and footer."
Use exact terminology: Use precise descriptions in key instructions, such as "implement a blue color scheme flat design with Tailwind CSS."
Provide existing examples: By providing existing code or design pattern examples, guide AI to generate content compliant with your style.
Continuously adjust and iterate: Try different expressions to organize prompt content for the best results caused by AI.

Refine Project Information

Provide appropriate AI context to help the AI better understand your project.
Fully utilize context files: Supplement the project structure, API interface, or business logic appropriately in pages-llms.mdc. AI IDE will automatically load these rules to ensure the generated code meets project requirements.
Write a high-quality README: This is the key entry for AI to understand the project. A clear, detailed README.md should include project introduction, technology stack, deployment guide, and key module description to help AI quickly grasp the holistic picture and provide accurate recommendations.

ai-agent
You can ask me like
How to Get Started with EdgeOne Pages?