﻿---
title: "安装 Neon 插件"
filename: "terminal"
canonical: /templates/neon-codex-plugin/
---

# 安装 Neon 插件

在 Plugins 中搜索 Neon，或运行 npx neon@latest plugins --agent codex。插件包含 Neon 技能和 MCP，默认安装到当前项目。

```
npx neon@latest plugins --agent codex

# 桌面 / TUI：
# Plugins 或 /plugins 搜 Neon，再 Add to Codex

# 可选：
# npx neon@latest init
# npx neon@latest plugins --agent codex -y
# npx neon@latest plugins --global --agent codex

# 只要 MCP、不要整包插件：
# npx neon@latest mcp --agent codex
# codex mcp add neon --url https://mcp.neon.tech/mcp
# codex mcp login neon

# 不要：
# plugin add neon@openai-curated
# plugin add neon@neon
# neon plugins -y
# npx add-mcp https://mcp.neon.tech/mcp
# npx skills add neondatabase/agent-skills

```
