feat(mcp): add runtime tool discovery and calls - #499
Merged
Merged
Conversation
Deploying allagents with
|
| Latest commit: |
1091b68
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c2799e88.allagents.pages.dev |
| Branch Preview URL: | https://feat-mcp-runtime-cli.allagents.pages.dev |
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 free
to 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.
Summary
AllAgents can now discover and invoke live tools from any configured MCP server with
mcp toolsandmcp call. The commands work against project, user, and named-profile destinations over Streamable HTTP or stdio, so humans and automation no longer need a separate MCP client.Design decisions
--scope userand--profile <name>select the other declaration stores.mcp reauthcommand instead of opening a browser.--input, with lossless numeric parsing and output-schema validation.--separator.Examples
Validation
bun run build && node dist/index.js mcp tools missing-serverrejectedtoolsas an invalid subcommand with exit 1 before implementation.bun run typecheck: passed.bun run lint: 134 files checked with no findings.bun run build: passed; 609 modules bundled.bun test: 2,023 passed, 7 skipped, 0 failed, 6,283 assertions across 174 files.bun run test:e2e: 208 passed, 4 skipped, 0 failed, 897 assertions across 18 files.node scripts/smoke-node-cli.mjs: exercised the built Node CLI for public HTTP discovery, cached and refreshed OAuth calls, stdio discovery/calls, reauthentication guidance, zero leaked sessions, and first-SIGINT exit 130.bun run docs:build: 13 pages built.PATH; the current head passes every GitHub Actions check.Implementation plan:
docs/plans/2026-09-20-0921-feat-mcp-runtime-cli-plan.md.