Skip to main content
Glama
ahmadadam97

ledger-mcp

by ahmadadam97

ledger-mcp

Небольшой MCP-сервер, предоставляющий двойную бухгалтерию в виде инструментов для ИИ-агентов. Создан как двухдневное упражнение по проектированию MCP-серверов, эргономике инструментов для агентов и итеративной разработке на основе оценок.

Статус: День 1 завершён. День 2 (харнесс для оценки + выводы) в процессе.

Что здесь есть

  • ledger.py — ядро двойной бухгалтерии на базе SQLite. Суммы хранятся в целых центах. Обеспечивает сбалансированность транзакций и целостность именованных счетов.

  • server.py — MCP-сервер, предоставляющий четыре инструмента: create_account, record_transaction, get_balance, reconcile.

  • test_ledger.py — набор pytest для ядра бухгалтерии.

  • NOTES.md — текущий журнал проектных решений и наблюдений от запуска сервера с Claude Desktop.

Related MCP server: Agent Ledger

Запуск локально

uv sync
uv run pytest -v          # run the ledger tests
uv run mcp dev server.py  # launch with the MCP Inspector

Чтобы использовать с Claude Desktop, добавьте в claude_desktop_config.json:

{
  "mcpServers": {
    "ledger": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/ledger-mcp", "run", "mcp", "run", "server.py"]
    }
  }
}

Что будет на День 2

  • Харнесс для оценки, измеряющий, где агенты преуспевают и ломаются при работе с этими инструментами

  • Отчёт о выводах: именование против документации, молчаливое создание счетов, инструмент как защитный барьер против инструмента как исполнителя.

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A personal financial management tool that enables AI assistants to record transactions, check balances, and provide monthly financial summaries via the Model Context Protocol. It allows users to manage their expenses and income through natural language interactions using standardized MCP tools and resources.
  • A
    license
    -
    quality
    A
    maintenance
    Double-entry accounting ledger MCP server for autonomous agents that enables creating accounts, posting journal entries, and generating financial reports.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to interact with a double-entry ledger, offering tools for account management, balanced journal entries, balance queries, trial balance, and penny-perfect allocation. Built with safety by construction: no update/delete tools, idempotent posting, and an append-only journal.
    7
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/ahmadadam97/ledger-mcp'

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