Skip to content

Conversation

@andrelandgraf
Copy link
Collaborator

Running npx @neondatabase/mcp-server-neon start without NEON_API_KEY as the fourth argument currently throws a fetch error (unauthorized) due to the API key being undefined. This PR replaces the fetch error with the appropriate error message by fixing an if condition in the `parseArgs function.

Before

Screenshot 2025-08-01 at 11 10 27 PM

After

Screenshot 2025-08-01 at 11 11 06 PM

@andrelandgraf andrelandgraf self-assigned this Aug 2, 2025
@andrelandgraf andrelandgraf requested a review from Shridhad August 2, 2025 06:14
@Shridhad Shridhad merged commit 7714525 into main Aug 4, 2025
1 check passed
@Shridhad Shridhad deleted the andrelandgraf/fix-fetch-error branch August 4, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants