Skip to content

fix(mcp): add default client factory#67

Merged
Evenss merged 1 commit into
ob-labs:mainfrom
wananing:main
Jun 18, 2026
Merged

fix(mcp): add default client factory#67
Evenss merged 1 commit into
ob-labs:mainfrom
wananing:main

Conversation

@wananing

Copy link
Copy Markdown
Contributor

Add ContextSeekMCPServer.with_default_client() so MCP stdio/SSE fallback can create an in-process server when no
daemon is running.

Fixes #44.

Summary

Fix the MCP stdio startup failure caused by ContextSeekMCPServer.with_default_client() being referenced by the
runtime but not implemented.

Solution Description

  • Add ContextSeekMCPServer.with_default_client() backed by ContextSeek.from_settings().
  • Add regression tests for default MCP server construction and stdio fallback without a running daemon.
  • Verified with uv run pytest tests/ -q, uv run ruff check src/ tests/, and `uv run ruff format --check src/
    tests/

Add ContextSeekMCPServer.with_default_client() so MCP stdio/SSE fallback can create an in-process server when no daemon is running.

Fixes ob-labs#44.
@webup webup requested a review from Evenss June 17, 2026 09:12

@Evenss Evenss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Evenss Evenss merged commit 5a72982 into ob-labs:main Jun 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'ContextSeekMCPServer' object has no attribute 'with_default_client' when running contextseek-mcp-stdio

2 participants