Skip to content

Connect MCP servers concurrently at startup - #2203

Merged
Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:feat/parallel-mcp-startup
Sep 19, 2026
Merged

Aaronontheweb merged 2 commits into
netclaw-dev:devfrom
Aaronontheweb:feat/parallel-mcp-startup

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Change

  • Start all enabled MCP connections through their existing server gates.
  • Wait for every initial attempt before the daemon listener starts.
  • Keep each failed server status separate from successful server catalogs.
  • Update SPEC-011 and the operations skill.

Evidence

  • The new two-server startup test failed against the serial baseline, then passed after this change.
  • The daemon test project passed: 1,134 passed, one skipped.
  • The Spark2 Skill Discovery eval passed: 8/8 cases, one run each.
  • Slopwatch found zero issues. Header verification and diff checks passed.
  • Three isolated four-server boots per image used the same config and Spark2 endpoint.
  • The span between first and last MCP connections fell from 56-65 ms to about 1 ms.
  • The median span from memory warmup to the last MCP connection fell from 227 ms to 169 ms.

The fixtures connect quickly, and total boot time varied between runs. These traces do not establish the gain on the active daemon. I did not restart that daemon.

Stack

This PR can merge independently of #2202. Both PRs update the operations skill. Resolve the version line as 2.74.9 after #2202 merges.

@Aaronontheweb Aaronontheweb added the mcp Model context protocol server / client issues. label Sep 19, 2026

@Aaronontheweb Aaronontheweb left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb
Aaronontheweb marked this pull request as ready for review September 19, 2026 03:07
@Aaronontheweb

Copy link
Copy Markdown
Collaborator Author

Goal of this PR is to improve Netclaw's startup time following a restart - along with the work we're doing on making shutdowns happen faster too

@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) September 19, 2026 03:08
@Aaronontheweb
Aaronontheweb merged commit 6c5adbd into netclaw-dev:dev Sep 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mcp Model context protocol server / client issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant