Neon MCP Server
A lightweight Model Control Protocol (MCP)β server deployed on Cloudflare Workersβ that interfaces with the Neon REST APIβ.
This is a simple example of an MCP server made with the create-mcpβ CLI.
Itβs still under development, I will be adding more tools as I find myself needing them.
Getting Started
Run the automated setup script to clone the worker and deploy it to your Cloudflare account:
bun create mcp neon-mcp --clone https://github.com/amxv/neon-mcp
Upload your Neon API key to your worker secrets:
wrangler secret put NEON_API_KEY
Add it to Cursor by pasting the MCP server command that was copied to your clipboard during setup.
Local Development
Add your Neon API key to the .dev.vars
file:
NEON_API_KEY=<your-neon-api-key>
Run the development server:
bun dev
Deploy Changes
When youβre ready to deploy your changes:
bun run deploy
What the Automated Setup Script Does
- Clones the repository from GitHub
- Installs dependencies
- Sets up a new MCP secret
- Deploys the worker to your Cloudflare account
- Copies the MCP server command to your clipboard
Then reload your Cursor window to use the updated tools.
Last updated on