================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-server-neon
by neondatabase-labs
Model-Context-Protocol (MCP) server that lets developers interact with Neon Postgres projects & databases via natural-language requests.
389
56
Open SourceInstallation
1. Prerequisites
• Node.js ≥ 18 and npm (or pnpm/yarn)
• A Neon account and a valid Neon API key
2. Clone the repository
git clone https://github.com/neondatabase-labs/mcp-server-neon.git
cd mcp-server-neon
3. Install dependencies
npm install # or pnpm install / yarn install
4. Configure environment variables
cp .env.example .env
# Edit .env and supply at least:
# NEON_API_KEY=<your-neon-api-key>
# NEON_PROJECT_ID=<default project id> (optional – can be set per request)
# PORT=3000 (port to bind the MCP server)
5. Build the TypeScript source (if required)
npm run build # emits JavaScript to ./dist
6. Start the MCP server
npm start # usually wraps: node dist/index.js
7. (Optional) Docker
docker build -t mcp-server-neon .
docker run -p 3000:3000 -e NEON_API_KEY=... mcp-server-neon
The service should now be listening on http://localhost:3000.
Documentation
License: MIT License
Updated 7/30/2025