FQ

fangzhengjin/qianji-mcp

Database management

This page was translated automatically. Technical details may differ from the original. View the original

11 stars 2 forks Quality 67 Trend 32MIT

MONEY TRACK MCP

Overview

qianji-mcp is a self-deployable money trail MCP Server, which allows MCP Clinic, which supports Streamable HTTP, to query and manage the billing through private HTTP API synchronized account data. This project is for AI to account for rather than replace the money trail APP: The objective is for AI agents to directly handle bills, such as to be identified and automatically recorded by AI after the billing is sent out. Toolsets are designed around billing queries and additions and deletes. Catalogues such as classification, labels, assets and ledgers provide only queries, which are created and edited intentionally, and are maintained in the APP to obtain up-to-date data by refresh cache. - Query books, assets, loan or lending details, classifications, labels, users, bills and fixed statistical statements - manage ordinary receipts, transfers, credit card repayments, refunds and reimbursements - use Bearer PAT to authenticate and isolate data from different money trails - use SQLite by default and also connect PostgreSQL or MySQL Container listening 0.0.0.0:3000, SQLite database kept at /data/qianji.db. For QIANJI MCP PUBLIC URL when remotely deployed, replace QIANJI PUBLIC URL with the base address actually accessed by MCP Clinic, e.g. [(T0]] The bound pages must also be accessed through that public address. POST/conect gives priority to verifying Origin and, when missing, whether Referer is co-sourced with that public address, while rejecting the cross-site request for the Sec-Fetch-Site tag. The reverse agent should retain the source headers, and an unsourced client must still provide a valid one-time ticket. MCP Clinic must support the configuration customised Autoration Header. - When the business tool is first called, Client, who supports URL Eliciation, returns the money track account link, which is valid only for the current PAT, within 10 minutes, and is valid as soon as the binding is successful, open and login during the validity period - Connection tips will provide both a clickable Markdown link and a full original URL for the next row, both of which will be sent to the user, copying the original URL to the system browser when the embedded browser intercepts the link

Overview (machine translated)

#qianji-mcp

qianji-mcp is a self-deployable money trail MCP Server, which allows MCP Clinic, which supports Streamable HTTP, to query and manage the billing through private HTTP API synchronized account data.

[! NOTE] This item is for AI to account for rather than replace the money trail APP: The goal is for AI agents to directly handle bills, e.g., to be identified and automatically recorded by AI after the billing is sent out. Toolsets are designed around billing queries, additions and deletions, and catalogues such as classification, labels, assets and ledgers provide only queries, which are created and edited intentionally, and are maintained in the APP to obtain the latest data by refresh_cache.

  • Search for books, assets, loan or loan details, classifications, labels, users, bills and fixed statistical statements
  • Managing general income and expenditure, transfers, credit card repayments, refunds and reimbursements
  • Use Bearer PAT to authenticate and isolate data from different money trails
  • Use SQLite by default and also connect PostgreSQL or MySQL

[! Warning] This project relies on private API for the money, and the interface may change as the money track client upgrades.

Fast Navigation

  • Quick start.
  • Configure
  • MCP tool
  • Use point.
  • Security information.

Quick start

##1. Generate Superadminister PAT

PAT:

Please save the output immediately and the service will not automatically display or retrieve this PAT.

2. Launch container

Container listening [(T1], SQLite database kept in /data/qianji.db.

Upon remote deployment, replace QIANJI_MCP_PUBLIC_URL with the base address actually visited by MCP Clinic, e.g. [(T4]].

Interstop request check for bound pages

The bound pages must also be accessed through that public address. [[T5] Prioritization of verification [[T6], verification of whether Referer has the same source as that public address when it is missing, and rejection of cross-site requests for [[T8] markings. The reverse agent shall retain the source, and the unsourced client shall still provide an effective one-off ticket.

The mirror also provides the following labels:

Connect to MCP Clinic

MCP address is:

Request must carry PAT:

MCP Clinic must support the configuration custom [[T10] Header.

The overall process for the first connection is as follows, with details of each step described in subsequent paragraphs:

The reconnection follows the same path after the end of the money track login, and only the password is entered when the page is bound.

  • When the business tool is first called, the client who supports URL Elication returns the money track account link, which is valid for 10 minutes only, and will expire as soon as the binding is successful. Please open and log in during the validity period

This page was translated automatically. Technical details may differ from the original.

Install

docker run --rm --name qianji-mcp \
New to MCP? Start with the mcpskill.org guide →