bg-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BG_MCP_HOME | No | Changes where the session file lives (default is ~/.bg-mcp) | ~/.bg-mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bg_login_startA | Step 1 of 3. Submits the username and returns the security question BG asks for. Relay that question to the user, then call bg_login_answer with their answer and password. The login expires after 5 minutes if not completed. |
| bg_login_answerA | Step 2 of 3. Completes the login with the security answer and password. Returns { status: "authenticated" } on success, or { status: "otp_required" } if BG sends a one-time code — in that case ask the user for the code and call bg_login_otp. |
| bg_login_otpA | Step 3 of 3, only needed when bg_login_answer returned status "otp_required". Submits the code Banco General sent to the user. |
| bg_session_statusA | Reports whether there is a usable Banco General session, who it belongs to, and how fresh it is. Call this before asking the user for credentials — they may already be logged in. |
| bg_logoutA | Deletes the stored session and any credentials kept in the Keychain, and closes any login in progress. |
| bg_list_accountsA | Lists every Banco General product on the dashboard — savings accounts, credit cards and the Pro-Futuro pension — with balances and the portalId other tools need. Start here. Balances are as of BG's lastSyncDate, not live. |
| bg_get_accountA | Full detail for one product, dispatching on its type: savings accounts return balances and associated debit cards, credit cards return limit/cutoff/payment dates, and the pension returns fund balances. Get the portalId from bg_list_accounts. |
| bg_list_transactionsA | Transactions for one savings account over a date range, with pagination handled internally. Dates are Panama local time. For credit-card charges use bg_list_card_transactions instead. |
| bg_list_card_transactionsA | Charges and payments on a credit card for a statement period. Pass month/year for a specific period, or omit both for the current one. A BG statement period is not a calendar month — it runs from the previous cutoff date — so set clampToMonth to restrict results to the calendar month. |
| bg_get_card_statementA | Statement for a credit card: balance, minimum payment, cutoff and due dates, credit plans and rates. Pass month/year for a past statement, or omit both for the current period. Also returns the history of past cutoff dates so you can pick another period. |
| bg_get_card_categoriesA | Banco General's own spend-by-category breakdown for a card statement period (Comida y Bebida, Transporte, Supermercados, etc.), with transaction counts and totals. Omit month/year for the current period. This is the bank's categorization, not a computed one. |
| bg_get_pensionA | Balances and fund breakdown for the Pro-Futuro pension product, plus the monthly statement (contributions, interest, commissions, withdrawals) when month and year are given. |
| bg_search_transactionsA | Searches every savings account and credit card at once over a date range, optionally filtering by description text and amount. Use this for questions like "how much did I spend at X" or "find that $250 charge in March" — it saves calling the per-account tools one by one. |
| bg_spending_summaryA | Aggregates every account for a month (or an explicit date range): total income, total spending, net, a per-account breakdown and the largest transactions. Use this for "how did I do this month". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/fernando1501/bg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server