feat(malga): add MCP server with 24 tools and catalog entry - #216
Merged
Conversation
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
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
marked this pull request as ready for review
July 10, 2026 15:02
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
approved these changes
Jul 13, 2026
rapguit
left a comment
Contributor
There was a problem hiding this comment.
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. 🚀
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.
Summary
@codespar/mcp-malgaMCP server with 24 tools covering charges, customers, cards, merchants, webhooks, checkout sessions, and payment link settingsserver.jsonfor MCP registry with sandbox/production env varsTest plan
cd packages/payments/malga && npm install && npm run buildMALGA_CLIENT_IDandMALGA_API_KEYand run via Cursor/Claude MCPcreate_charge,create_session, andget_sandbox_guidein sandbox