Skip to content

feat(superfrete): add MCP server with 11 tools (carries over #3) - #211

Merged
rapguit merged 3 commits into
mainfrom
superfrete-from-pr3
Jun 26, 2026
Merged

feat(superfrete): add MCP server with 11 tools (carries over #3)#211
rapguit merged 3 commits into
mainfrom
superfrete-from-pr3

Conversation

@rapguit

@rapguit rapguit commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

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 main showed 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>).
  • A follow-up chore(superfrete) commit that aligns the contribution with current project conventions (see below).

Adjustments on top of the original work

  • src/index.ts: prepended MANAGED_TIER_HINT to the instructions block (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: added mcpName.
  • 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.py reports 0 HIGH findings for ecommerce/superfrete. Full suite: 137 passed + 31 skipped, tsc --noEmit clean.

Closes #3 once merged.

andreabadesso and others added 3 commits June 26, 2026 17:58
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>
@rapguit
rapguit merged commit 136dcf5 into main Jun 26, 2026
3 checks passed
@rapguit
rapguit deleted the superfrete-from-pr3 branch June 26, 2026 21:23
@rapguit rapguit mentioned this pull request Jun 26, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants