Skip to main content
Glama

get_fpx_banks

Retrieve available FPX banks for online banking payments through the Bayarcash payment gateway, enabling payment processing in Malaysia.

Instructions

Get list of FPX banks for online banking payments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_fpx_banks'. Fetches FPX banks list from BayarcashClient instance and returns result as JSON-formatted text response.
    case 'get_fpx_banks': { const result = await bayarcash.getFpxBanksList(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2) } ] }; }
  • src/index.ts:202-209 (registration)
    Registers the 'get_fpx_banks' tool in the MCP server's tool list, with description and empty input schema (no parameters required).
    { name: 'get_fpx_banks', description: 'Get list of FPX banks for online banking payments', inputSchema: { type: 'object', properties: {} } }
  • Input schema for 'get_fpx_banks' tool: empty object (no input parameters needed).
    inputSchema: { type: 'object', properties: {} }
  • BayarcashClient helper method that performs API GET request to '/fpx/banks' endpoint and returns array of FpxBank objects, handling errors.
    async getFpxBanksList(): Promise<FpxBank[]> { try { const response = await this.axiosInstance.get('/fpx/banks'); return response.data.data || response.data; } catch (error) { this.handleError(error); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khairulimran-97/bayarcash-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server