Skip to content

feat: support stdio cwd and document Xquik OAuth - #301

Open
kriptoburak wants to merge 1 commit into
open-webui:devfrom
kriptoburak:codex/add-xquik-mcpo-20260704-0426
Open

feat: support stdio cwd and document Xquik OAuth#301
kriptoburak wants to merge 1 commit into
open-webui:devfrom
kriptoburak:codex/add-xquik-mcpo-20260704-0426

Conversation

@kriptoburak

@kriptoburak kriptoburak commented Jul 4, 2026

Copy link
Copy Markdown

Summary

  • Add cwd support for config-file stdio servers.
  • Forward cwd through hot reload and reconnects into StdioServerParameters.
  • Add an OAuth-first Xquik Streamable HTTP example.
  • Remove the secret-bearing API-key placeholder from committed JSON.

Closes #288.

Architecture and compatibility

  • cwd stays optional and preserves existing config behavior.
  • Validation rejects empty or non-string values early.
  • Relative and absolute paths follow the MCP Python SDK contract.
  • Remote SSE and Streamable HTTP servers remain unchanged.

Validation

  • uv run --frozen --python 3.11 pytest -q (34 passed)
  • uv run --frozen --python 3.11 python -m compileall -q src
  • uv build --no-sources
  • Focused Ruff import and format checks
  • README config parsing after removing its existing comments
  • Live Xquik OAuth issuer, registration, and resource metadata
  • GitHub Markdown rendering
  • git diff --check

Security

  • cwd reaches the SDK as data without shell interpolation.
  • The Xquik example uses OAuth dynamic client registration.
  • No credential appears in the example or repository.

Changelog Entry

Added

  • Add optional cwd support for stdio server configurations.
  • Add an OAuth 2.1 Xquik configuration example.

Changed

  • Prefer OAuth over a committed bearer-key placeholder for Xquik.

Fixed

  • Allow configured stdio child processes to start in their required directory.

@kriptoburak
kriptoburak force-pushed the codex/add-xquik-mcpo-20260704-0426 branch from 1f109e3 to c79f431 Compare July 29, 2026 21:26
@kriptoburak kriptoburak changed the title docs: add Xquik mcpo config example feat: support stdio cwd and document Xquik OAuth Jul 29, 2026
@kriptoburak
kriptoburak changed the base branch from main to dev July 29, 2026 21:26
@kriptoburak

Copy link
Copy Markdown
Author

I rebuilt this PR on the required dev branch and signed the replacement commit. It now closes the maintainer-endorsed #288 by validating and forwarding stdio cwd through app state, hot reload, reconnects, and the MCP SDK. The Xquik example now uses OAuth dynamic registration, so it no longer encourages a bearer key in committed JSON. All 34 tests pass on Python 3.11, package builds pass, and the README example and live OAuth metadata were validated.

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.

1 participant