#Error when creating MCP server via Dashboard or API

1 messages · Page 1 of 1 (latest)

glad marlin
#

I'm getting an error when trying to create an MCP server, both via the Composio dashboard and through the API.

 [2025-05-23T10:54:30.938Z] Failed to create Composio server {
  response: Response {
    status: 400,
    statusText: 'Bad Request',
    headers: Headers {
      date: 'Fri, 23 May 2025 10:54:31 GMT',
      'content-type': 'application/json',
      'transfer-encoding': 'chunked',
      connection: 'keep-alive',
      nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
      'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7Wo3YFUA%2FmBIPPtOJETES9O4QIy1nwrfskKpedYnDkZG7qG1iNA5u1qw0J%2By9f4psg10G6lw94WbyQtW3zOjFJYTd67EzTRpEEoJdUzQNcWEdLKe1lNocv9CqGicF2r%2FMDmFxl%2FJyw%3D%3D"}],"group":"cf-nel","max_age":604800}',
      server: 'cloudflare',
      'cf-ray': '944404029dbbbb3e-FRA',
      'cf-cache-status': 'DYNAMIC',
      'cache-control': 'public, max-age=0, must-revalidate',
      'content-encoding': 'gzip',
      'strict-transport-security': 'max-age=63072000',
      vary: 'Origin, accept-encoding',
      'access-control-allow-credentials': 'true',
      'cf-placement': 'local-FRA',
      'x-matched-path': '/api/v3/mcp/servers',
      'x-powered-by': 'composio tech team',
      'x-request-id': '238b0a89-973c-47d1-a44c-ed8e93382177',
      'x-vercel-cache': 'MISS',
      'x-vercel-id': 'fra1::iad1::hd4vj-1747997670884-c58c4b721bf6',
      'alt-svc': 'h3=":443"; ma=86400',
      'server-timing': 'cfL4;desc="?proto=TCP&rtt=56121&min_rtt=56013&rtt_var=21222&sent=5&recv=5&lost=0&retrans=0&sent_bytes=2843&recv_bytes=839&delivery_rate=74256&cwnd=248&unsent_bytes=0&cid=cb22eeef86c355fe&ts=326&x=0"'
    },
    body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true },
    bodyUsed: false,
    ok: false,
    redirected: false,
    type: 'basic',
    url: 'https://backend.composio.dev/api/v3/mcp/servers'
  }

@simple timber @exotic star fyi

simple timber
#

Thanks for the details, we're checking this

simple timber
#

Hey @glad marlin, the server name can only contain letters, numbers, and hyphens. Having spaces in default server names was a mishap on our end. Do try and lmk if worked for you.

glad marlin
#

I’ve added the restrictions, and it works now — thanks!
I also noticed that using long names causes an error.
Could you please share the full set of constraints for the server name?
@simple timber