Skip to main content
Glama
human-beyond

MainBook Bank Statement Converter

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAINBOOK_API_KEYNoOptional 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_HOSTNoHTTP bind host when using HTTP transport.127.0.0.1
MAINBOOK_MCP_PORTNoHTTP bind port when using HTTP transport.8000
MAINBOOK_ALLOWED_DIRSNoLocal 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_URLNoREST host. The server appends /api/v1/developer.https://api.mainbook.ai
MAINBOOK_MCP_TRANSPORTNoMCP 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/human-beyond/mainbook-mcp'

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