Repository navigation
feat!: sync with the hosted server at 0.4.0 - #6
Merged
Merged
Conversation
Copy the 0.4.0 changes from cloro-dev/backend apps/mcp (backend #480): - Add resolve_google_redirect, which calls POST /v1/monitor/google/goto. - Remove scrape_grok, and remove grok from the list_countries enum. - State the credit cost of each tool, with the +2 sync surcharge, and send a server instructions field. - Fix the tool text: AI Mode has no rawResponse, scrape_google uses gl, ChatGPT documents productDetails and disableWebSearch, and ads and shopping no longer say that they need legacy: true. - Vendor the current chatgpt and aimode schemas and the google-goto schema. ChatGPT accepts a prompt array. AI Mode accepts every country code (backend ENG-1018), so CN, CU, IR and KP are no longer rejected. - Update the MCP SDK to 1.32.2 and the version to 0.4.0. Remove Grok from the README, package.json and .cursor-plugin/plugin.json. The README FAQ now states the rate plus the +2 sync surcharge.
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
This PR brings the public mirror to the code that runs at
mcp.cloro.dev(0.4.0, from cloro-dev/backend #480). After it merges, the mirror and the hosted server have the same version, and 0.4.0 can go to the MCP registry. The mirror's 0.3.0 was never published, so no published version names two different sets of code.Part of MAR-404.
Changes
resolve_google_redirect(POST /v1/monitor/google/goto, 1 credit, no sync surcharge).scrape_grok. Removegrokfrom thelist_countriesenum. The CI tool count stays at 10.instructionsfield.rawResponse;scrape_googlesays "query + gl"; ChatGPT documentsinclude.productDetailsanddisableWebSearch; ads and shopping no longer say that they needlegacy: true.chatgpt.schema.ts(prompt array,productDetails),aimode.schema.tsand the newgoogle-goto.schema.ts.@modelcontextprotocol/sdkis now^1.32.2. The version is 0.4.0 inpackage.json,server.json,.cursor-plugin/plugin.jsonandsrc/server.ts.The aimode.schema.ts diff
The 256-line difference was the country list. The mirror had its own list of 246 codes. The hosted server accepts all 250 codes since backend ENG-1018 (#393). The 4 codes that the mirror rejected were CN, CU, IR and KP. The rest of the schema was the same.
Tests
tsc --noEmitpasses.vitest runpasses: 98 tests. The new tests cover the goto call, the cost text, the instructions field and the rejectedgrokmodel.tools/liston the build returns 10 tools, and none of them is Grok.