Could not connect to Local Neon MCP Server
I'm building a slack bot which listens to messages and connects with neon MCP Server but after running
npx -y @neondatabase/mcp-server-neon start neon_api_key
it returns nothing to me and not sure what's going on. It does not connect.
When I tried connecting via Cursor, it worked.
It is not returning any error messages either to help me debug
3 Replies
frail-apricot•4mo ago
@kulkarniankita Can you please provide more details on it? How are you trying to connect to it? And possibly share screenshots to help debug.
sunny-greenOP•4mo ago
@shriidhar I’m using an API to connect to it
2) and then ran this
npx @neondatabase/mcp-server-neon start neon_api
frail-apricot•4mo ago
The
npx start
command starts the Neon MCP in stdio transport mode, it won't be listening on any HTTP port, so the fetch
call won't help it connect.
You might want to look into building MCP client that is also a slack bot. The MCP client can handle the message exchange between client and server. Quick search landed me to an example on Github - https://github.com/tuannvm/slack-mcp-clientGitHub
GitHub - tuannvm/slack-mcp-client: A Slack bot and MCP client acts ...
A Slack bot and MCP client acts as a bridge between Slack and Model Context Protocol (MCP) servers. Using Slack as the interface, it enables large language models (LLMs) to connect and interact wit...