Skip to content

chore(deps)!: bump mcp-toolsets-runtime to 0.5.0, move to the [web] extra - #24

Merged
ciaransweet merged 1 commit into
mainfrom
chore/runtime-0.5.0
Aug 11, 2026
Merged

chore(deps)!: bump mcp-toolsets-runtime to 0.5.0, move to the [web] extra#24
ciaransweet merged 1 commit into
mainfrom
chore/runtime-0.5.0

Conversation

@ciaransweet

Copy link
Copy Markdown
Contributor

Runtime 0.5.0 split the Chainlit host out of [agent]: anything wanting
build_agent, run_turn or the mcp_agent.host helpers no longer installs a UI
framework it never imports. [web] is [agent] plus Chainlit.

Two of this repo's declarations actually run Chainlit, and only those move:

declaration before after why
root dependency [agent] [web] the dev env runs mcp-agent-web and mcp-agent install-elements
chat group [agent] [web] Dockerfile.chat
index group (none) unchanged serves the directory, no agent
toolset images (none) unchanged uv sync --package <toolset>, so root deps never reach them

That last row is the one worth checking rather than assuming — if the toolset
images did pick up the root dependency, [web] there would put Chainlit into
every deployed service.

Verified

Each of the three install paths synced into its own venv:

path runtime chainlit imports
--only-group chat 0.5.0 yes mcp_agent.web ok
--only-group index 0.5.0 no mcp_runtime.index ok
--package hello 0.5.0 no hello.tools, mcp_runtime.server ok

Plus ./scripts/lint and ./scripts/test (18 passed).

Also arriving with 0.5.0

httpx is now a base dependency of the runtime. mcp_runtime.index imports it at
module level and mcp-index is a base entry point, so the index image had been
relying on it coming in transitively through mcp.

uv.lock is a shared path, so this redeploys every toolset.

🤖 Generated with Claude Code

…xtra

0.5.0 split the Chainlit host out of `[agent]`, so anything wanting
`build_agent`, `run_turn` or the `mcp_agent.host` helpers no longer installs a
UI framework it never imports. Two declarations here run Chainlit and move to
`[web]`:

- the root dependency, which is what the dev environment uses for
  `mcp-agent-web` and `mcp-agent install-elements`;
- the `chat` group, which is Dockerfile.chat.

The `index` group and the toolset images are unaffected — they never asked for
an extra, and the toolset image syncs with `--package`, so the root dependency
never reaches it. Verified by syncing all three into throwaway venvs: `chat` has
chainlit and imports `mcp_agent.web`; `index` and `hello` have no chainlit and
import `mcp_runtime.index` and `mcp_runtime.server` respectively.

Also picks up 0.5.0 declaring httpx as a base dependency. `mcp_runtime.index`
imports it and `mcp-index` is a base entry point, so the index image had been
relying on it arriving transitively through mcp.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ciaransweet
ciaransweet merged commit 52a93c0 into main Aug 11, 2026
7 checks passed
@ciaransweet
ciaransweet deleted the chore/runtime-0.5.0 branch August 11, 2026 13:26
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