Repository navigation
feat: move the MCP server to the parameterless /ai endpoint and correct stale plugin content - #12
Merged
Merged
Conversation
- mcp.json: drop the undocumented `${VAR:-default}` shell syntax. Cursor
documents no default form, and the hosted server answers `tools/list` with
`Method not found` on any unrecognised `toolsets` value, so an unexpanded
literal leaves the server connected with zero tools.
- plugin.json: declare `"default": "web,search"` on DECODO_TOOLSETS instead.
`default` is an accepted keyword in the Cursor variables schema.
- Correct the token-setting path to the documented route (Cursor dashboard ->
Plugins -> Decodo -> Configure); "Settings -> Plugins" is not in the docs.
- Sync the quoted CLI auth hint with @decodo/cli 3.0.0.
- Target count: 36, not ~40 (`decodo targets`, 3.0.0).
- rules/install.mdc: document the empty-tool-list failure mode.
- Bump to 0.3.2 so the version check passes.
Verified against @decodo/cli 3.0.0 (`decodo targets`, 36 targets) and a live tools/list against mcp.decodo.com for each toolset. - Reddit is gone from both surfaces: no reddit target in the CLI, no reddit_* tool in any MCP toolset. The skill still told agents to prefer `reddit-subreddit` and listed `reddit_post` as an API target value. Removed all 8 references across the README, SKILL.md and api-curl.md. - /decodo-status inferred enabled toolsets from a map that was wrong in three places: tiktok_shop_* are in `ecommerce` (not social_media), `social_media` is YouTube only, google_travel_hotels was unmapped, and `chatgpt` is not an MCP tool. Corrected and reformatted as a list. - Re-verified the connected-but-unauthenticated behaviour (tools/list succeeds with any Authorization header; tool calls return "Scraper API request failed (401): Authentication failed."). Stamp moved from Aug 2026 to Nov 2026.
CONTRIBUTING documented the `:-` default as supported and verified. The
verification sentence it cites covers the Authorization header, which uses a
plain `${DECODO_AUTH_TOKEN}`, not the URL's `:-` form. Rewritten to describe
the manifest `default` instead, with the reasons for preferring it.
Also drops the last Reddit reference (a test suggestion for a target that no
longer exists).
I changed this to a web-dashboard route on the strength of Cursor's reference saying variables are "set in the dashboard (Plugins → Configure)". That line sits next to "Team admins set the actual values in the dashboard under Plugins", so it describes the team flow. Cursor's plugins page separately documents managing installed plugins, MCP servers, rules and skills from the in-app Customize surface. The original wording was written against the running app, same as the other Cursor 3.2.21 findings in CONTRIBUTING. Docs that omit a route are not evidence the route is wrong, and this is text an agent reads out to a user. Restoring it until someone with Cursor open confirms the real path.
The marketplace page renders mcp.json, the rule, the skill and both commands,
but not plugin.json. With the default moved into the manifest, the URL now
reads `toolsets=${DECODO_TOOLSETS}` with nothing on the page explaining that
leaving it unset is correct.
Says so explicitly in /decodo-setup and /decodo-status, both of which the
page renders.
This reverts commit 0e78c2b.
The plugin now declares `https://mcp.decodo.com/ai`, which serves a fixed set of 8 tools (scrape_as_markdown, screenshot, map, search, crawl_start, crawl_status, crawl_results, crawl_cancel) and takes no query parameters. This removes the install hazard the earlier commits on this branch were trying to work around. `mcp.decodo.com/mcp?toolsets=...` answers `tools/list` with `Method not found` on any unrecognised `toolsets` value, including an unexpanded `${VAR}` literal, so the server showed connected with zero tools. Cursor was confirmed in the field not to substitute a manifest `default` into the URL, and the shell-style `${VAR:-default}` form was never verified either. A parameterless endpoint makes the question moot. Verified live against /ai: it ignores `toolsets` entirely (bogus values and unexpanded literals all return the same 8 tools), a wrong Authorization header still lists all 8 while a missing one returns `Unauthorized`, and the 401 text on a tool call is unchanged. - mcp.json: URL -> https://mcp.decodo.com/ai, no query string. - plugin.json: DECODO_TOOLSETS removed; DECODO_AUTH_TOKEN is now the only variable. Bumped to 0.4.0 in both manifests - the endpoint moved and a declared variable was dropped, which is not a patch. - Note the capability change: google_search and google_travel_hotels are not on /ai. Both are now documented as CLI-only. - install.mdc: the zero-tools paragraph documents the missing-header case instead of the toolsets one, which can no longer happen. - decodo-status.md: toolset inference map replaced with a fixed 8-tool checklist; a short list means a partial load, not a setting. - README, SKILL.md, decodo-setup.md, CONTRIBUTING.md, install.sh: toolset widening copy removed throughout; endpoint links updated. - mcp-setup.md: only the Cursor paragraph changed. The other-clients section still documents /mcp?toolsets=..., which remains correct for Claude Desktop and Windsurf.
4 of 5 tasks
pauliusminialga-dc
added a commit
that referenced
this pull request
Nov 30, 2026
Follow-up to the SKILL.md rewrite. Three files still described the MCP lane as it was before the plugin moved to mcp.decodo.com/ai, and the merge of main into this branch reverted two eCommerce fixes from #13. - decodo-setup.md: step 1 told the agent to look for `google_search` in its tool list. That has not been an MCP tool since #12, so the first diagnostic step could report a healthy MCP lane as broken. Now names the real 8 and says a missing dedicated target is expected, not a fault. - decodo-status.md: the MCP lane reported tool presence but never the credential. Verified live against /ai - `scrape_as_markdown` and `screenshot` accept a basic auth token, while `search`, `map` and the four `crawl_*` tools reject it with "This tool needs a Decodo API key; Basic authentication tokens cannot use the Web Data API." So "8/8 tools present" on a basic token means half of them fail on first use, and the status command - the one whose job is reporting what works - was the only file not documenting that split. - mcp-setup.md: the file now covers two endpoints with different tool surfaces. Only the Cursor paragraph said so, leaving a Claude Desktop or Windsurf reader unaware that Cursor's surface is narrower. Adds a short "Two endpoints, two surfaces" note; /mcp with its five toolsets stays correct for other clients and is unchanged. - Restores "eCommerce" in marketplace.json metadata.description and plugin.json description. Both were fixed on main in 242ca11 and 10799d7, and the merge resolution in cc680e1 took the pre-sweep side, so merging this branch would have silently reverted them. Also finishes the sweep on the three that were never done: marketplace.json plugins[].description and both occurrences in the root README. No version change - 0.4.2 is already set in both manifests and unreleased.
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.
Prepares the plugin for Cursor Marketplace submission. Two things: the MCP server moves to a parameterless endpoint, and a batch of stale content is corrected against live sources.
1. MCP server now points at
https://mcp.decodo.com/aiThe plugin previously declared
mcp.decodo.com/mcp?toolsets=${DECODO_TOOLSETS:-web,search}. That was a live install hazard: the/mcpendpoint answerstools/listwithMethod not foundon any unrecognisedtoolsetsvalue — including an unexpanded${VAR}literal — so the server shows connected in Cursor with zero tools, and nothing in the UI explains why.This branch first tried to fix that by moving the default into
plugin.jsonas"default": "web,search". Testing in Cursor showed that Cursor does not substitute a manifestdefaultinto the mcp.json URL — installing withDECODO_TOOLSETSunset produced no tools at all. The shell-style${VAR:-default}form was never verified either, and fails identically if Cursor leaves unrecognised tokens as-is./aimakes the question moot. It serves a fixed set of 8 tools and takes no query parameters./ai/ai?toolsets=ecommerce/ai?toolsets=bogus/ai?toolsets=${DECODO_TOOLSETS}literal/ai+ wrongAuthorizationScraper API request failed (401): Authentication failed./ai+ noAuthorizationheaderUnauthorized, 0 toolsSo the zero-tools failure mode is gone, and "connected ≠ authenticated" still holds.
DECODO_TOOLSETSis removed fromplugin.json.DECODO_AUTH_TOKENis now the only variable.Capability change worth a deliberate look
/aiis the oldweb,searchset minusgoogle_searchandgoogle_travel_hotels. Those were MCP tools before this PR and are not on/ai. Both are now documented as CLI-only. Everything else is unchanged:scrape_as_markdown,screenshot,map,search,crawl_start,crawl_status,crawl_results,crawl_cancel.2. Content corrections (verified, not from memory)
decodo targets(3.0.0), noreddit_*MCP tool in any toolset, and no Reddit entry on the Web Data API templates page. The skill was telling agents to preferreddit-subredditand listedreddit_postas an API target value. Replaced withtiktok_post/tiktok-post/youtube-metadata, all confirmed to exist as current templates./decodo-statustoolset map was wrong in three places —tiktok_shop_*areecommercenotsocial_media,social_mediais YouTube only,google_travel_hotelswas unmapped, andchatgptis not an MCP tool. The map is now moot and has been replaced with a fixed 8-tool checklist.@decodo/cli3.0.0:Run `decodo setup` to save it (or set DECODO_AUTH_TOKEN).Scope note
references/mcp-setup.mdstill documents/mcp?toolsets=...in its other clients section. That endpoint still works correctly (ecommerce, social_media and ai all return their expected tools), and those clients would lose Amazon/YouTube tools on/ai. Only the Cursor paragraph in that file changed.Versioning
Bumped to 0.4.0 in both manifests, not 0.3.2 — the endpoint moved and a declared variable was removed.
Test plan
node scripts/validate-template.mjspasses (the hooks.json warning is expected)node scripts/check-version.mjs origin/mainpassesbash -n install.shtools/listagainst/aifor every case in the table abovetools/callwith a bogus token to confirm the 401 string the docs quotegrepconfirms zero remainingDECODO_TOOLSETSor Reddit referencesDECODO_AUTH_TOKEN, reload, confirm 8 tools appear