Skip to content

Transports

One command line, three transports:

Command Transport Endpoint Protocol revisions
bankstatementparser-mcp stdio the client spawns the process 2026-07-28, 2025-11-25
bankstatementparser-mcp --transport streamable-http Streamable HTTP http://127.0.0.1:8000/mcp 2026-07-28 (stateless, server/discover) and 2025-11-25 (initialize, Mcp-Session-Id) on the same endpoint; responses stream as server-sent events, GET opens the server-to-client stream
bankstatementparser-mcp --transport sse HTTP+SSE (2024-11-05) http://127.0.0.1:8000/sse and /messages/ for clients that still expect the older transport

--host and --port change the bind address (defaults 127.0.0.1 and 8000). The HTTP transports carry no authentication of their own: bind loopback, or put the server behind a gateway you trust before binding a routable address.

Every push and pull request runs the passmcp conformance (100/100) job of the MCP Protocol Conformance workflow (.github/workflows/mcp-inspect.yml). It builds the wheel and runs passmcp 0.0.10 against it over stdio and over streamable HTTP, where passmcp exercises both protocol eras (stateless server/discover requests and the initialize handshake), and it fails unless both runs score 100/100. The MCP Inspector (tools/list) job of the same workflow lists the tools over stdio, streamable HTTP and SSE. See ADR 0001.

Register the HTTP endpoint with a client:

{
  "mcpServers": {
    "bankstatementparser": { "url": "http://127.0.0.1:8000/mcp" }
  }
}

By default the server speaks JSON-RPC over stdin/stdout: it is meant to be launched by an MCP client, not used interactively.

Shell completions

completions/ holds bash and zsh completions for the command line, generated from the server's own argument parser by shtab (make completions). CI regenerates them and fails if they are stale.

# bash
source completions/bankstatementparser-mcp.bash
# zsh: put the file on $fpath
cp completions/_bankstatementparser-mcp ~/.zsh/completions/