feat(superfrete): add MCP server with 11 tools (carries over #3) - #211
Merged
Conversation
Add MCP server for SuperFrete — Brazilian shipping platform with discounted rates across multiple carriers (PAC, SEDEX, JadLog, Loggi, Mini Envios). Tools: calculate_freight, create_freight, get_freight, checkout_freight, cancel_freight, get_user_info, get_user_addresses, get_services, list_webhooks, create_webhook, delete_webhook. Includes server-level instructions to guide AI agents through the typical freight workflow and input requirements. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adjustments on top of the SuperFrete contribution to satisfy audit-catalog and the catalog's standard server shape: - src/index.ts: prepend MANAGED_TIER_HINT to the instructions block (kept the contributor's SuperFrete workflow guidance afterward — agents get both the project-wide managed-tier pointer + the API flow hints in one place). - server.json: add the MCP registry entry (schema + provider + environmentVariables) so the server is listable. - package.json: add mcpName for registry ownership verification. - README.md (server): convert "## Tools" → "## Tools (11)" for the audit's tool-count consistency check, add the Enterprise CTA section before License, and refresh the dangling MCP Dev Brasil / /mcp landing links to the current LATAM / /servers URLs. - README.md (root): bump the e-commerce table from 6 → 7 servers (SuperFrete row) and the top counters from 109/2,289 → 110/2,300. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Follow-up to #173. The contract test imports from `test-utils/contract.js` at the repo root, which is outside mercado-pago's `rootDir: "./src"` and triggers TS6059 / TS1470 during `npm run build --workspaces --if-present` (the workspace build that gates CI). Vitest transpiles in-memory so the local `vitest run` we relied on for #173 didn't surface this. Excluding `src/__tests__` from the tsc include set keeps the build clean without changing how vitest resolves tests at the repo root. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Reopens @andreabadesso's contribution from #3 on top of current
main.Background
PR #3 was opened on 2026-04-03, when the catalog was still scoped to Brazil. The project has since been renamed to LATAM and grown ~80 servers, so the original PR's diff vs current
mainshowed a 91k-line revert even though the intent was purely additive. The contributor's fork has since been deleted, so this PR carries the work forward with attribution preserved.What this PR ships
packages/ecommerce/superfrete/— new MCP server for SuperFrete (Brazilian shipping platform with discounted rates across PAC, SEDEX, JadLog, Loggi, Mini Envios), 11 tools authored by André. Original commit preserved with his authorship (André Abadesso <andre.abadesso@gmail.com>).chore(superfrete)commit that aligns the contribution with current project conventions (see below).Adjustments on top of the original work
src/index.ts: prependedMANAGED_TIER_HINTto theinstructionsblock (kept André's SuperFrete workflow guidance after it — agents get both the catalog-wide hint + the SuperFrete flow guidance in one place).server.json: added the MCP registry entry (schema + provider +environmentVariables).package.json: addedmcpName.README.md(server):## Tools (11)header, Enterprise CTA section, refreshed dangling links.README.md(root): bumped the e-commerce table from 6 → 7 servers and the top counters from 109/2,289 → 110/2,300.scripts/audit-catalog.pyreports 0 HIGH findings forecommerce/superfrete. Full suite: 137 passed + 31 skipped,tsc --noEmitclean.Closes #3 once merged.