mcp-server-neon
Сообществоот neondatabase
MCP server for interacting with Neon Management API and databases
Установка
{Описание
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg"> <source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg"> <img width="250px" alt="Neon Logo fallback" src="https://neon.com/brand/neon-logo-dark-color.svg"> </picture> # Neon MCP Server [](https://cursor.com/install-mcp?name=Neon&config=eyJ1cmwiOiJodHRwczovL21jcC5uZW9uLnRlY2gvbWNwIn0%3D) **Neon MCP Server** is an open-source tool that lets you interact with your Neon Postgres databases in **natural language**. [](https://www.npmjs.com/package/@neondatabase/mcp-server-neon) [](https://www.npmjs.com/package/@neondatabase/mcp-server-neon) [](https://opensource.org/licenses/MIT) The Model Context Protocol (MCP) is a [new, standardized protocol](https://modelcontextprotocol.io/introduction) designed to manage context between large language models (LLMs) and external systems. This repository offers an installer and an MCP Server for [Neon](https://neon.tech). Neon's MCP server acts as a bridge between natural language requests and the [Neon API](https://api-docs.neon.tech/reference/getting-started-with-neon-api). Built upon MCP, it translates your requests into the necessary API calls, enabling you to manage tasks such as creating projects and branches, running queries, and performing database migrations seamlessly. Some of the key features of the Neon MCP server include: - **Natural language interaction:** Manage Neon databases using intuitive, conversational commands. - **Simplified database management:** Perform complex actions without writing SQL or directly using the Neon API. - **Accessibility for non-developers:** Empower users with varying technical backgrounds to interact with Neon databases. - **Database migration support:** Leverage Neon's branching capabilities for database schema changes initiated via natural language. For example, in Claude Desktop, or any MCP Client, you can use natural language to accomplish things with Neon, such as: - `Let's create a new Postgres database, and call it "my-database". Let's then create a table called users with the following columns: id, name, email, and password.` - `I want to run a migration on my project called "my-project" that alters the users table to add a new column called "created_at".` - `Can you give me a summary of all of my Neon projects and what data is in each one?` > [!WARNING] > **Neon MCP Server Security Considerations** > The Neon MCP Server grants powerful database management capabilities through natural language requests. **Always review and authorize actions requested by the LLM before execution.** Ensure that only authorized users and applications have access to the Neon MCP Server. > > The Neon MCP Server is intended for local development and IDE integrations only. **We do not recommend using the Neon MCP Server in production environments.** It can execute powerful operations that may lead to accidental or unauthorized changes. > > For more information, see [MCP security guidance →](https://neon.tech/docs/ai/neon-mcp-server#mcp-security-guidance). ## Setting up Neon MCP Server You have two options for connecting your MCP client to Neon: 1. **Remote MCP Server (Preview):** Connect to Neon's managed MCP server using OAuth for authentication. This method is more convenient as it eliminates the need to manage API keys. Additionally, you will automatically receive the latest features and improvements as soon as they are released. 2. **Local MCP Server:** Run the Neon MCP server locally on your machine, authenticating with a Neon API key. ## Prerequisites - An MCP Client application. - A [Neon account](https://console.neon.tech/signup). - **Node.js (>= v18.0.0) and npm:** Download from [nodejs.org](https://nodejs.org). For Local MCP Server setup, you also need a Neon API key. See [Neon API Keys documentation](https://neon.tech/docs/manage/api-keys) for instructions on generating one. ### Option 1. Remote Hosted MCP Server (Preview) Connect to Neon's managed MCP server using OAuth for authentication. This is the easiest setup, requires no local installation of this server, and doesn't need a Neon API key configured in the client. - Add the following "Neon" entry to your client's MCP server configuration file (e.g., `mcp.json`, `mcp_config.json`): ```json { "mcpServers": { "Neon": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.neon.tech/mcp"] } } } ``` - Save the configuration file. - Restart or refresh your MCP client. - An OAuth window will open in your browser. Follow the prompts to authorize your MCP cl
Отзывы (0)
Пока нет отзывов. Будьте первым!
Статистика
Информация
Технологии
Похожие серверы
Supabase MCP
Интеграция с Supabase - open-source альтернативой Firebase с PostgreSQL.
PostgreSQL MCP
Прямой доступ к PostgreSQL базам данных: запросы, схемы, миграции.
SQLite MCP
Работа с SQLite базами данных: запросы, создание таблиц, анализ данных.
Redis MCP
Интеграция с Redis: работа с ключами, структурами данных, pub/sub.