Skip to content

MCP crashes a few seconds after startup (TimeoutError) #87

@leaked

Description

@leaked

Hey

I’ve noticed that the MCP server for Svelte crashes a few seconds after it starts.
It works fine initially — it discovers the tools — but then it exits with a timeout error shortly after.

Here’s my setup and the log output:

"svelte": {
  "type": "stdio",
  "command": "npx",
  "args": [
    "@sveltejs/mcp@latest"
  ]
}
2025-10-23 01:15:53.593 [info] Discovered 4 tools
2025-10-23 01:16:03.573 [warning] [server stderr] DOMException [TimeoutError]: The operation was aborted due to timeout
    at node:internal/deps/undici/undici:14900:13
    at async fetch_with_timeout (...)
    at async get_sections (...)
    at async Object.list_sections (...)
Node.js v22.21.0
2025-10-23 01:16:03.610 [info] Connection state: Error Process exited with code 1

System info:

  • Node.js v22.21.0
  • OS: Windows 10

It seems like something in the startup sequence times out (maybe while fetching sections?).
Any idea what might be causing this, or how I can help debug it further?

Thanks a lot
Really appreciate the awesome work you’re doing on MCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions