Skip to content

feat(malga): add MCP server with 24 tools and catalog entry - #216

Merged
rapguit merged 6 commits into
codespar:mainfrom
dennisqq:feat/malga-mcp
Jul 13, 2026
Merged

feat(malga): add MCP server with 24 tools and catalog entry#216
rapguit merged 6 commits into
codespar:mainfrom
dennisqq:feat/malga-mcp

Conversation

@dennisqq

@dennisqq dennisqq commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add @codespar/mcp-malga MCP server with 24 tools covering charges, customers, cards, merchants, webhooks, checkout sessions, and payment link settings
  • Register Malga in the root catalog README
  • Include server.json for MCP registry with sandbox/production env vars

Test plan

  • cd packages/payments/malga && npm install && npm run build
  • Configure MALGA_CLIENT_ID and MALGA_API_KEY and run via Cursor/Claude MCP
  • Verify create_charge, create_session, and get_sandbox_guide in sandbox

dennisqq added 2 commits July 7, 2026 10:08
Introduce @codespar/mcp-malga covering charges, customers, cards, merchants,
webhooks, checkout sessions, and payment link settings against the Malga API.
Resolve README and package-lock conflicts, keep Malga catalog entry
on top of upstream changes.
@dennisqq
dennisqq marked this pull request as draft July 7, 2026 13:16
Identify MCP requests in WAF logs via codespar-mcp-dev-latam/mcp-malga/0.1.0,
fix concatenated JSON error parsing, card linking flow, and settings upload validation.
@dennisqq
dennisqq marked this pull request as ready for review July 10, 2026 15:02
dennisqq and others added 3 commits July 10, 2026 13:04
Remove arbitrary local file read via logoPath (settings use logoBase64 only)
and delete the optional HTTP listener so the server runs stdio-only like
Payway, matching server.json and reducing attack surface for payment tools.
- @types/node: pin to ^22 (repo standard); drop stale @types/express and
  regenerate the malga lockfile entry
- README: add Enterprise CTA section (catalog convention)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@rapguit rapguit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, Dennis! Solid, well-documented server — clean tool schemas and good sandbox guidance. Rebased on latest main, pinned @types/node to the repo standard (^22), and added the Enterprise CTA to match catalog conventions. CI is green across build/test, catalog audit, and secret scan. 🚀

@rapguit
rapguit merged commit 72b0346 into codespar:main Jul 13, 2026
3 checks passed
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