Conversation
One page an agent can follow to install the Mapbox CLI, the Mapbox Agent Skills and the hosted MCP servers. docs_contract checks every mapbox command and flag it names, since agents run it verbatim.
|
On the Cursor bullet in "Not verified": checked this against Cursor's own current docs, and One thing this does sharpen for the "Follow-ups" note: once #69 lands, On the Codex OAuth bullet: a fix is in review upstream for the issuer/authorization-endpoint mismatch Codex was rejecting, and it's already tested working in staging for Codex, Claude Code, MCP Inspector and ChatGPT. Worth noting here that it's in progress rather than leaving it as open-ended. Everything else in "Not verified" (the other per-agent snippets, the Windows command, sandbox download-then-run behavior) is still genuinely unverified. |
What
Adds
site/agent-setup/prompt.md, a page meant to be served athttps://cli.mapbox.com/agent-setup/prompt.md, modeled on Cloudflare's agent-setup prompt. A user hands the URL to any coding agent, and the agent installs the Mapbox CLI, the Mapbox Agent Skills and the hosted MCP servers (mapbox,mapbox-devkit,mapbox-docs).The CLI is the first step, not optional: the page lives on the CLI's domain, the CLI is the skills fallback where npm isn't available, and it still works where an MCP client can't sign in (see AGI-1166). It installs via Homebrew, or by downloading the script and then running it, because agent sandboxes deny
curl | shoutright (AGI-1135). If the install is denied, the agent hands the commands to the user instead of skipping the step.The page never asks for a token. Every server and the CLI sign in with OAuth in the browser.
Checks
tests/docs_contract.rs: everymapbox …command and flag in the prompt must exist inmapbox --schema. The README check doesn't look at flags; this one does, because agents run the prompt verbatim. I confirmed it fails when a flag or command name is broken.prose_is_american_englishnow also readssite/.Not verified
--help.settings.jsonunder"mcp", and the prompt says~/.cursor/mcp.json.mcp.mapbox.comandmcp-devkit.mapbox.com(AGI-1166). The Codex section still describes the intended flow.-ExecutionPolicy Bypass -File) hasn't been tested.Before merging
site/agent-setup/prompt.mdat/agent-setup/prompt.mdwithtext/markdown. Today that path returns 403.mapbox-agent-skillsandhosted-mcp-servershould review the parts that describe their projects. Nothing in this repo can check those.already_installedfrom a user-run install counts as done. After Add mapbox mcp: register a Mapbox MCP server with a coding agent #69 merges, replace the Claude Code/Codex/VS Code/Cursor MCP snippets withmapbox mcp install.