About amtb-mcp
amtb-mcp is a Python server for interacting with AMTB resources and tools through MCP, for users who want to call its functions from clients such as Claude Desktop. It runs locally over stdio and includes menu-fetching and document-conversion tools.
Key features
- 01Exposes MCP tools locally over stdio
- 02Fetches AMTB menus to files
- 03Provides Python tool wrappers
- 04Includes document conversion tools
Use cases
- 01Configure a local AMTB server in Claude Desktop
- 02Call tool wrappers directly during development
- 03Fetch menus and generate category files
- 04Convert .doc files with document tools
MCP support
The server exposes implemented tools over stdio for local use by MCP clients such as Claude Desktop.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEamtb-mcp
MCP server for interacting with AMTB resources / tools
Use in Claude Desktop
To use it with Claude Desktop, add to your claude_desktop_config.json:
{
"mcpServers": {
"amtb": {
"command": "python",
"args": ["{your_path}/amtb-mcp/run_mcp.py"]
}
}
}
Quickstart
Requirements
- Python 3.13+ (recommended)
- pip
- Optional: LibreOffice (
soffice) or pywin32 for.doc→.docxconversion when using doc conversion tools.
Setup (Windows)
- python -m venv .venv
- ..venv\Scripts\Activate.ps1 # PowerShell or ..venv\Scripts\activate.bat # cmd
Install
- pip install -e .
Run locally
-
Start the MCP server (stdio transport):
python run_mcp.py
This exposes the implemented tools on stdio for local testing or consumption by an MCP client (e.g., Claude Desktop).
-
Alternatively you can run the main module directly:
python main.py
Testing
-
Run unit tests:
python -m unittest discover -v
or, if you prefer pytest:
pytest
Using tools directly (for development)
-
Call wrappers from Python for quick checks, e.g.:
python -c "from fetch_tool import fetch_amtb_menu; print(fetch_amtb_menu(write_files=False))"
python -c "from main import get_amtb_categories; print(get_amtb_categories())"
Notes
fetch_amtb_menuwritesmenu.jsonand per-category files underout_dir(default:amtb). Usewrite_files=Falsefor a dry run.- Download and conversion tools are opt-in and may require additional system packages and time.
- For development, place new tool modules under
amtb-mcp/and register them inmain.py(or import modules that callmcp.tool()on module import).
Contributing
- Add a tool module, include tests, and submit a PR. Keep operations idempotent and return JSON-serializable Pydantic models.
License
- See LICENSE in repository root.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.