MainBook Bank Statement Converter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAINBOOK_API_KEY | No | Optional API key for manual/CI usage. Takes precedence over any stored login. Ignored in HTTP mode where each request uses its own Bearer header. | |
| MAINBOOK_MCP_HOST | No | HTTP bind host when using HTTP transport. | 127.0.0.1 |
| MAINBOOK_MCP_PORT | No | HTTP bind port when using HTTP transport. | 8000 |
| MAINBOOK_ALLOWED_DIRS | No | Local folders allowed for source reads and result writes, separated by the platform's path separator (':' on macOS/Linux, ';' on Windows). If neither positional directory arguments nor this variable is supplied, defaults are ~/Downloads, ~/Desktop, ~/Documents. | |
| MAINBOOK_API_BASE_URL | No | REST host. The server appends /api/v1/developer. | https://api.mainbook.ai |
| MAINBOOK_MCP_TRANSPORT | No | MCP transport to use: 'stdio' (default) or 'http'. | stdio |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| convert_bank_statementA | Convert one PDF bank statement through the complete MainBook workflow: create a job, upload, start, poll, and return structured data. This creates a job and spends page credits; it is not read-only. |
| get_balanceA | Return total, reserved, and available MainBook credits. Every value is measured in PDF pages. |
| list_conversionsA | List one cursor page of conversion jobs visible to the MainBook account. Pass the returned next_cursor to continue. |
| get_conversionA | Get the current state of one MainBook conversion. When successful, return JSON inline or save XLSX/CSV locally over stdio. HTTP mode returns safe download instructions. Use this after convert_bank_statement times out. |
| output_folderA | Read or change the default local result folder. Call with no path to inspect the current setting and allowed folders. Pass an allowed absolute folder, or 'next_to_source' to restore the default behavior. |
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/human-beyond/mainbook-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server