Issue connecting MCP Server to Automation

Hello! Thanks for the update, really cool stuff. I am having an issue connecting custom mcp to the automation agent. I copy exactly the mcp json configuration I have in my cursor IDE (credentials working and verified), but when I run in the automation, it says it is unauthorized. Is already known any issue connecting custom mcp?

Thanks for your help!

Hi @Bruno_Fernandes1 and thank you for your post. The setup looks to be correct, but depends on the environment variables the MCP server expects. Does that config work locally on your machine?

A server based MCP (URL) may be preferred over a stdio MCP as the Automation may not have tools installed. You should configure the Cloud Agent Environment if there are requirements for your MCP. Additionally there you may test if the MCP works in the cloud environment.

Automations don’t reuse the MCP config/credentials from your IDE, so copying the JSON may give “unauthorized”.

To make it work, add and auth the MCP directly in the Automation:

Go to cursor.com/agents → open your Automation.

  • Use the MCP dropdown there to add your custom MCP and complete auth (OAuth/API key) in the web UI or add the right Environment variables.
  • Alternatively use the available Atlassian MCP.

Here is example with the full Atlassian MCP that is already available.