# Neon MCP Server Setup Guide ## Requirements - Node.js >= v18.0.0 - Claude Desktop - Neon API key (Generate through the Neon console) ## Installation ### Installing via Smithery To install Neon MCP Server for Claude Desktop automatically via Smithery, run the following command: ```bash npx -y @smithery/cli install neon --client claudeLocal Usage
Initialize the Neon MCP Server with your Neon API key:
npx @neondatabase/mcp-server-neon init $NEON_API_KEYRestart Claude Desktop.
Test the setup by running a simple command such as:
List me all my Neon projectsDevelopment
Development with MCP CLI Client
Install dependencies:
npm installBuild the project:
npm run buildStart the watch process (you can keep this open):
npm run watchStart the MCP Server with your Neon API key:
cd mcp-client/ && NEON_API_KEY=... npm run start:mcp-server-neonDevelopment with Claude Desktop
Install dependencies:
npm installBuild the project:
npm run buildStart the watch process (you can keep this open):
npm run watchInitialize the server with your Neon API key:
node dist/index.js init $NEON_API_KEYRestart Claude each time you want to test changes.
Testing
Set up the
.envfile according to the.env.examplefile.Run the tests:
npm run test