Uh oh!
There was an error while loading. Please reload this page.
Modernize MCP integration and manage MCP servers via @package - #2847
Merged
Hillary Mutisya (hillary-mutisya) merged 4 commits intoAug 12, 2026
Merged
Conversation
Overhaul how TypeAgent connects to and manages MCP servers. Connectivity and fidelity: - Move to the v2 MCP client with protocol negotiation. - Support generic stdio servers (command/env/cwd/headers/timeout), not just bundled .js/.py scripts. - Convert each advertised tool independently so one unsupported tool no longer fails the whole server; skipped tools are reported as diagnostics. - Map tool results to TypeAgent results, including text/image/audio/embedded content and error results. Configuration: - Add a normalized MCP server config model (transport, args, env, cwd, enabled tools, trust, scope) with secrets held as credential references, not values. - Import .mcp.json, .github/mcp.json, and .vscode/mcp.json config files, normalizing them into that model. Dynamic lifecycle: - Add/remove/update user-managed MCP servers at runtime and propagate the change to every connected session without a restart. - Persist user-managed servers; keep shipped servers as seeded configuration. Extension management: - Discover MCP servers from a local MCP config file through @Package. - Manage native agents and MCP servers from one command surface, tagged by extension kind, with `@package available --type agent|mcp|all` to filter. Fully covered by offline unit tests; build and local suite green.
Hillary Mutisya (hillary-mutisya)
requested review from
George Ng (GeorgeNgMsft), Dominic Nguyen (datduyng) and jebransAugust 11, 2026 18:42
Hillary Mutisya (hillary-mutisya)
enabled auto-merge
August 11, 2026 20:21
jebrans
approved these changes
Aug 12, 2026
Hillary Mutisya (hillary-mutisya)
disabled auto-merge
August 12, 2026 16:38
Hillary Mutisya (hillary-mutisya)
enabled auto-merge
August 12, 2026 16:39
github-merge-queueBot
removed this pull request from the merge queue due to failed status checks
Aug 12, 2026
Uh oh!
There was an error while loading. Please reload this page.
github-merge-queueBot
removed this pull request from the merge queue due to failed status checks
Aug 12, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Dominic Nguyen (datduyng) added a commit
that referenced
this pull request
Aug 13, 2026
Realtime scanning of checkout, pnpm, and test output is a known multi-minute tax on GitHub-hosted and ADO Windows agents. The same suites still run on every required cell. Also record the #2847 required-check span (65.90 min) and the 46.13 min 30% target in the measurements note.
Dominic Nguyen (datduyng) added a commit
that referenced
this pull request
Aug 13, 2026
- Skip live_linux on PullRequest. continueOnError already meant a live failure did not fail the gate, but the parent TypeAgent Smoke Tests check stayed queued until live finished (~13 min past Windows smoke on 7e4135e). main and merge-queue still run test:live. - Smoke agents build only agent-shell|agent-cli (with deps) and install Playwright chromium only. playwright.config.ts has one project; shell:smoke launches Electron. Full monorepo build stays on live and build_ts. - On 7e4135e the required span was 36.78 min (ratio 0.558 vs #2847). Live was the pole; Windows smoke setup was 15.5 min of build+browsers for a 1.3 min suite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overhaul how TypeAgent connects to and manages MCP servers.
Connectivity and fidelity:
Configuration:
Dynamic lifecycle:
Extension management:
@package available --type agent|mcp|allto filter.Fully covered by offline unit tests; build and local suite green.