# 用 Cursor 制作并发布游戏（PlayDrop MCP 连接器）

把 PlayDrop 添加为 Cursor 的 MCP 服务器并登录，再让 Cursor 的 Agent 制作并发布游戏，就能获得一个任何人都能玩的链接。

Source: https://www.playdrop.ai/zh-hans/create/connectors/cursor

## 连接 PlayDrop

在 Cursor 中打开 Customize → MCP 并添加 PlayDrop，或者把以下内容加入项目中的 `.cursor/mcp.json`（如果要用于所有项目，则加入 `~/.cursor/mcp.json`）。请保留文件中已有的服务器。

```json
{ "mcpServers": { "playdrop": { "url": "https://mcp.playdrop.ai/mcp" } } }
```

启用 PlayDrop，并在浏览器打开时登录。在 Cursor Agent CLI 中，你还可以加载插件，获取 PlayDrop 的发布说明：

```sh
git clone https://github.com/playdrop-ai/playdrop-plugin.git
agent --plugin-dir ./playdrop-plugin
```

## 制作并发布游戏

对 Agent 说：“做一款能在手机上玩的小游戏，发布到 PlayDrop，并把链接发给我。”它会发布游戏并回复链接。要更新游戏，在同一个项目中再请求一次：游戏会保留原来的链接。

## 如果出现问题

如果看不到工具，请确认 PlayDrop 已启用并重新登录。在 Cursor Agent CLI 中，请先运行 `agent mcp enable playdrop`，再运行 `agent mcp login playdrop`。

[Cursor MCP 帮助](https://cursor.com/docs/mcp) · [所有 AI 应用](https://www.playdrop.ai/zh-hans/create/connectors)
