Filaure to connect to MCP Server

MCP server is not reliable. Sometimes I can connect, sometimes I can’t

There are several issues occurring with an Activepieces server that’s attempting to use the Model Context Protocol (MCP).

  1. Method Not Found Errors
    There are repeated JSON-RPC errors with code -32601 and message “Method not found” for the methods:

    • prompts/list
    • resources/list

    This indicates that the server doesn’t support these methods being requested by the client.

  2. Authentication Issues
    Multiple attempts to authenticate are occurring:

    • The server tries to use callback ports (49580, 49648, 49795)
    • It reports “Another instance is handling authentication on port 3334”
    • It repeatedly queries “http://127.0.0.1:3334/wait-for-auth
    • Authentication appears to time out
  3. Connection Timeouts
    There are multiple timeout errors:

    • “Error: MCP error -32001: Request timed out”
    • Each initialization attempt times out after about 60 seconds
  4. Connection Termination Errors
    The server connection is being terminated unexpectedly:

    • “TypeError: terminated: other side closed”
    • “Server transport closed unexpectedly”
  5. Server Restart Cycles
    The log shows several server initialization attempts at:

    Each attempt fails and the server restarts.

These errors suggest that:

  1. The client is trying to use methods that aren’t implemented on the server
  2. There’s an authentication deadlock situation where the server is waiting for authentication from another instance
  3. The connection is being terminated prematurely, possibly due to timeouts or server errors
    ontextprotocol.io/docs/tools/debugging for more guidance on troubleshooting these issues.
1 Like

Got similar error and created Github issue. It appears it’s dependent on the piece. I have Google Calendar working, but Hubspot & Woocommerce gave errors.

Not sure this is ready for primetime.

Thank you for creating this, let me forward it to the team!

I’m facing this issue as well. Currently a bit unreliable. Really eager to use this!

I was testing the Google Sheets tool with the MCP sever and Claude Desktop. There are two major bugs:

  1. there are a few tools that have “(” or “)” in their names. if these tools are enabled Claude will fail to operate period. It will throw an error about characters that are not allowed.
  2. Google Sheets: Any tool within this category that requires an array or object to be sent in the payload fails namely all write operations, and custom api call. I think this is happening because the client sends the initial request in XML which get stringified, and the server is expecting JSON so you keep getting errors like “Cannot read properties of undefined (reading ‘map’)”. This essentially renders the sheets tool useless since you only get the R in CRUD lol

The team working on it :grin: