@neondatabase/mcp-server-neon
Advanced tools
Comparing version 0.1.2-beta.0 to 0.1.2-beta.1
@@ -27,5 +27,10 @@ import path from 'node:path'; | ||
export async function handleInit({ executablePath, neonApiKey, }) { | ||
// If the executable path is a local path to the dist/index.js file, use it directly | ||
// Otherwise, use the name of the package to always load the latest version from remote | ||
const serverPath = executablePath.includes('dist/index.js') | ||
? executablePath | ||
: packageJson.name; | ||
const neonConfig = { | ||
command: 'npx', | ||
args: ['-y', executablePath, 'start', neonApiKey], | ||
args: ['-y', serverPath, 'start', neonApiKey], | ||
}; | ||
@@ -32,0 +37,0 @@ const configDir = path.dirname(claudeConfigPath); |
{ | ||
"name": "@neondatabase/mcp-server-neon", | ||
"version": "0.1.2-beta.0", | ||
"version": "0.1.2-beta.1", | ||
"description": "MCP server for interacting with Neon Management API and databases", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
35902
913