
How to add EdgeOne Pages MCP to Cursor
Deploy HTML, folders, or full-stack projects to Tencent EdgeOne Pages and get a public URL. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 420★ · stdio · no auth · official
Cursor config for EdgeOne Pages MCP
npx edgeone-pages-mcp-fullstack@latest{
"mcpServers": {
"edgeone-pages-mcp": {
"command": "npx",
"args": [
"edgeone-pages-mcp-fullstack@latest"
]
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the EdgeOne Pages MCP config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of EdgeOne Pages MCP's tools to confirm it's connected.
Before you start
- Node.js 18 or higher
- Optional: an EdgeOne Pages API token (legacy package only) for deploying folders or zip files to EdgeOne Pages projects
What EdgeOne Pages MCP can do in Cursor
deploy_htmlDeploys static HTML content to EdgeOne Pages Functions, stores it in the EdgeOne Pages KV Store for fast edge access, and returns an immediately accessible public URL. Available in the fullstack stdio, legacy stdio, and Streaming HTTP servers.
deploy_folderDeploys complete projects to EdgeOne Pages, including static website projects and full-stack applications, with the option to create a new project or update an existing one. Available in the recommended fullstack stdio server.
deploy_folder_or_zipDeploys folders or zip files to EdgeOne Pages. Available in the legacy edgeone-pages-mcp server (to be deprecated); requires an EdgeOne Pages API token.
Security
The recommended fullstack stdio server requires no authentication. The legacy edgeone-pages-mcp package accepts an optional EDGEONE_PAGES_API_TOKEN (and EDGEONE_PAGES_PROJECT_NAME) env var, needed only for deploying folders or zip files to EdgeOne Pages projects; treat the API token as a secret. Note that the deploy_html tool publishes content to a publicly accessible URL.
EdgeOne Pages MCP + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the EdgeOne Pages MCP config there under the "mcpServers" key and restart the client.
Is EdgeOne Pages MCP safe to use with Cursor?
The recommended fullstack stdio server requires no authentication. The legacy edgeone-pages-mcp package accepts an optional EDGEONE_PAGES_API_TOKEN (and EDGEONE_PAGES_PROJECT_NAME) env var, needed only for deploying folders or zip files to EdgeOne Pages projects; treat the API token as a secret. Note that the deploy_html tool publishes content to a publicly accessible URL.
Which configuration should I use?
Use the recommended fullstack stdio server (edgeone-pages-mcp-fullstack) for full features including the deploy_folder tool. The legacy edgeone-pages-mcp package (supporting deploy_html and deploy_folder_or_zip) is to be deprecated soon. The Streaming HTTP server only supports deploy_html.
Do I need an API token?
No token is required for the recommended fullstack stdio server. The legacy edgeone-pages-mcp package needs an optional EDGEONE_PAGES_API_TOKEN only when deploying folders or zip files to EdgeOne Pages projects.
How do I deploy to the Tencent Cloud China region?
Add "--region", "china" to the args of the fullstack server, e.g. ["edgeone-pages-mcp-fullstack@latest", "--region", "china"]. The default is Tencent Cloud International.