Cover image
Try Now
2025-03-03

一个模型上下文协议(MCP)服务器实现了OpenLeDger API。该服务器根据MCP规范为AI模型提供结构化上下文。

3 years

Works with Finder

1

Github Watches

0

Github Forks

8

Github Stars

OpenLedger MCP Server

A Model Context Protocol (MCP) server implementation for the OpenLedger API. This server provides structured context to AI models according to the MCP specification.

What is OpenLedger?

OpenLedger is an embedded accounting API that consolidates your customer's financial data into your platform, creating one single source of truth. It can also be used to entirely manage a ledger through an API, making it perfect for AI agents. This MCP server allows AI assistants like Claude to interact with the OpenLedger API in a structured way.

What is MCP?

The Model Context Protocol (MCP) is a standard for providing context to AI models. It allows for structured data exchange between applications and AI models, enabling more effective and contextual AI interactions.

Learn more at modelcontextprotocol.io.

Features

  • MCP-compliant server implementation
  • Integration with OpenLedger API
  • Context-aware AI interactions for financial data
  • Support for transactions, companies, and other financial entities

Quick Start

Option 1: Local Installation

# Clone the repository
git clone https://github.com/yourusername/Open-Ledger-MCP-Server.git
cd Open-Ledger-MCP-Server

# Install dependencies
bun install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Start the server
bun start

Option 2: Using Docker

# Clone the repository
git clone https://github.com/yourusername/Open-Ledger-MCP-Server.git
cd Open-Ledger-MCP-Server

# Build and run with Docker Compose
docker-compose up --build

# Or use the provided script
./docker-run.sh

Using with Claude

To use this MCP server with Claude, add it to your Claude configuration:

{
  "mcpServers": {
    "openledger": {
      "url": "http://localhost:8080/mcp"
    }
  }
}

See MCP_USAGE.md for detailed instructions on how to use this server with Claude or other AI assistants that support the Model Context Protocol.

Available Resources

The OpenLedger MCP Server provides access to the following resources:

  1. openledger://transactions - Access and manage financial transactions
  2. openledger://companies - Access and manage company information
  3. openledger://categories - Access and manage transaction categories
  4. openledger://reports - Generate financial reports

Development

# Run in development mode with hot reloading
bun dev

# Run tests
bun test

# Build for production
bun run build

Project Structure

.
├── src/
│   ├── controllers/       # Request handlers
│   ├── routes/            # API routes
│   ├── utils/             # Utility functions
│   └── index.ts           # Main application entry point
├── .env.example           # Example environment variables
├── docker-compose.yml     # Docker Compose configuration
├── Dockerfile             # Docker configuration
├── MCP_USAGE.md           # Guide for using with Claude
├── package.json           # Project dependencies
├── README.md              # This file
├── run.sh                 # Script to run locally
└── tsconfig.json          # TypeScript configuration

Scripts

  • run.sh - A shell script to install dependencies and start the server locally
  • docker-run.sh - A shell script to build and run the server in a Docker container

License

See the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_oqvhwF42
    2025-04-15

    The Sequential Thinking Multi-Agent System (MAS) by FradSer is a groundbreaking tool for anyone looking to optimize complex processes efficiently. I've experienced significant improvements in workflow coordination and decision-making. This system is a game-changer for managing multiple agents effectively. Highly recommended for professionals seeking streamlined operations! Check it out: https://mcp.so/server/mcp-server-mas-sequential-thinking/FradSer