You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(plugin): declare the public MCP server in the plugin - #108
Tracks PET-428 (internal ticket). First of two PRs that make the Wego agent plugin work for an agent with no computer. The skill text change comes after this PR and after #103.
Why
An agent that cannot run a command cannot use the wego CLI, so the plugin gives it nothing today. The plugin that this repo publishes to wego/skills has no MCP declaration, so an install of the plugin does not connect the Wego public MCP server.
What changed
The plugin declares one MCP server: a root mcp.json with one server, wego, over streamable HTTP at https://mcp.wego.com/public-app/v1/mcp. No headers, no auth, no secrets.
The declaration ships with the plugin: the publish plan now carries plugin/mcp.json -> mcp.json, so the next promote writes it to the root of wego/skills.
Not changed: the skill, the plugin manifest and the plugin README. The agent-facing rule for when to use the CLI and when to use MCP is the next PR.
mcp.json is at the root of wego/skills after the next promote
File exists and equals plugin/mcp.json at the promoted tag
gh api repos/wego/skills/contents/mcp.json -q .content | base64 -d and compare with plugin/mcp.json
The declared URL answers
HTTP 200 on an MCP initialize POST, serverInfo.name is wego
POST initialize to https://mcp.wego.com/public-app/v1/mcp with accept: application/json, text/event-stream
The after-publish verifier passes
Promote workflow green at the plugin verify step
Actions, latest promote-cli run
Notes for reviewers
The commits on this branch are unsigned (Devin has no signing key). #106 merged the same way: squash only, and GitHub signs the squash commit.
Plugin traffic is not separable from other public MCP traffic after this PR. A caller tag is separate work in wego/mcp-server.
#103 edits scripts/plugin-conformance.test.ts too. This PR adds one new describe block and edits no existing line in that file.
Details for AI and humans who like to read everything
Files
File
Change
plugin/mcp.json
New. $schema is the 1.0.0 MCP schema URL. mcpServers.wego has type: "streamable-http" and url.
scripts/plugin-publish.ts
One new entry in pluginPublishPlan(). The publisher, --print-plan, the stray-file guard and the after-publish verifier all read this list, so no other logic changes.
scripts/plugin-publish.test.ts
Plan expectation includes the new pair. The bare-repo publish test asserts the remote mcp.json equals the source.
scripts/plugin-conformance.test.ts
New describe block: schema version equals the manifest schema version, closed field sets, one server named wego, the exact HTTPS URL. The closed key set of type and url excludes headers.
Evidence
bun run check: 1419 pass, 0 fail. bun run test:integration: 508 pass, 0 fail. Both at commit 4b30e13; the later commit 3a2cfac changes test code only.
bun test scripts/plugin-conformance.test.ts scripts/plugin-publish.test.ts: 35 pass, 0 fail, rerun on a second machine at 4b30e13.
No workflow, doc or README lists the published file set. pluginPublishPlan() is the only list.
Not yet verified: the file in wego/skills. It can be checked after the next promote with the first QA plan row.
CI: the ci-cli job fails at the dependency audit step on main's lockfile (zod and undici advisories), before lint and tests run. This PR changes no dependency file. The same step fails on other open PRs.
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The plugin now defines an MCP server configuration for wego. The publish plan includes that configuration, and tests check its fields and published contents.
Changes: MCP Configuration and Publishing
Layer / File(s)
Summary
Define and validate MCP configuration plugin/mcp.json, scripts/plugin-conformance.test.ts
Adds a schema-validated wego server using streamable HTTP. Conformance tests check the schema version, allowed fields, server count, transport, and URL.
This PR adds a declaration for the public MCP server and includes it in the publish plan. No concrete merge-blocking risk was identified. The separate dependency audit CI failure is unrelated to these changes.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title uses the Conventional Commits form with type feat and scope plugin. Plugin is a new scope, which the requirements allow when it names a real area. The subject is imperative and lowercase. Th…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check
Explanation
The title uses the Conventional Commits form with type feat and scope plugin. Plugin is a new scope, which the requirements allow when it names a real area. The subject is imperative and lowercase. The title matches the main change, which declares the public MCP server in plugin/mcp.json. It does not carry a breaking-change marker, and the changeset adds no breaking change to the wire contract, command stdout, or published ring content.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 9bfd567 and 3a2cfac.
Files selected for processing: 4
plugin/mcp.json
scripts/plugin-conformance.test.ts
scripts/plugin-publish.test.ts
scripts/plugin-publish.ts
Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.
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
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.
Tracks PET-428 (internal ticket). First of two PRs that make the Wego agent plugin work for an agent with no computer. The skill text change comes after this PR and after #103.
Why
An agent that cannot run a command cannot use the
wegoCLI, so the plugin gives it nothing today. The plugin that this repo publishes to wego/skills has no MCP declaration, so an install of the plugin does not connect the Wego public MCP server.What changed
mcp.jsonwith one server,wego, over streamable HTTP athttps://mcp.wego.com/public-app/v1/mcp. No headers, no auth, no secrets.plugin/mcp.json -> mcp.json, so the next promote writes it to the root ofwego/skills.Verification
plugin/mcp.jsonagrees with the Agent Plugins 1.0.0 MCP schematypeandurlonly, both required fields presentplugin/mcp.json -> mcp.jsonfrombun run scripts/publish-plugin.ts --print-planinitializecall to the URL in the filewego/skillshasmcp.jsonat its rootBefore and After
wego/skillsplugin.json,README.md,LICENSE,skills/wego/SKILL.mdmcp.jsonQA plan
mcp.jsonis at the root ofwego/skillsafter the next promoteplugin/mcp.jsonat the promoted taggh api repos/wego/skills/contents/mcp.json -q .content | base64 -dand compare withplugin/mcp.jsoninitializePOST,serverInfo.nameiswegoinitializetohttps://mcp.wego.com/public-app/v1/mcpwithaccept: application/json, text/event-streampromote-clirunNotes for reviewers
wego/mcp-server.scripts/plugin-conformance.test.tstoo. This PR adds one newdescribeblock and edits no existing line in that file.Details for AI and humans who like to read everything
Files
plugin/mcp.json$schemais the 1.0.0 MCP schema URL.mcpServers.wegohastype: "streamable-http"andurl.scripts/plugin-publish.tspluginPublishPlan(). The publisher,--print-plan, the stray-file guard and the after-publish verifier all read this list, so no other logic changes.scripts/plugin-publish.test.tsmcp.jsonequals the source.scripts/plugin-conformance.test.tsdescribeblock: schema version equals the manifest schema version, closed field sets, one server namedwego, the exact HTTPS URL. The closed key set oftypeandurlexcludesheaders.Evidence
bun run check: 1419 pass, 0 fail.bun run test:integration: 508 pass, 0 fail. Both at commit4b30e13; the later commit3a2cfacchanges test code only.bun test scripts/plugin-conformance.test.ts scripts/plugin-publish.test.ts: 35 pass, 0 fail, rerun on a second machine at4b30e13.initializeresponse: HTTP 200,protocolVersion: 2025-06-18,serverInfo.name: wego.pluginPublishPlan()is the only list.Not yet verified: the file in
wego/skills. It can be checked after the next promote with the first QA plan row.CI: the
ci-clijob fails at the dependency audit step onmain's lockfile (zod and undici advisories), before lint and tests run. This PR changes no dependency file. The same step fails on other open PRs.🤖 Generated with Claude Code