DF

davila7/fintual_mcp_server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

23 stars 5 forks 质量 59 趋势 10MIT

Fintual MCP 服务器

概览

该服务器使LLM能够与Fintual的API交互。 自信:https://fintual.cl/api-docs/index.html - Python 服务器 - Typescript 服务器(即将推出) 进入fintual_python_server文件夹,执行以下命令: 或者将此内容添加到你的 .codegpt/mcp_config.json(用于 CodeGPT)或 /path/to/Claude/claude_desktop_config.json(用于 Claude 桌面): - 将 /path_to_your_uv/.local/bin/uv 替换为 uv 可执行文件的实际路径。- 将 /fintual_mcp_server/fintual_python_server/server.py 替换为 Fintual MCP 服务器 server.py 文件的实际路径。 根据你使用的工具,常见的JSON配置应放在以下文件中: - : claude_desktop_config.json - : .cursor/mcp.jso - : ~/.codegpt/mcp_config.json

概述(AI 翻译)

该服务器使LLM能够与Fintual的API交互。

API 端点

自信:https://fintual.cl/api-docs/index.html

服务器列表

  • Python 服务器
  • Typescript服务器(即将推出)

Python 服务器设置说明

1- 克隆此仓库

2- 安装UV

添加服务器

进入fintual_python_server文件夹,执行以下命令:

执行以下命令:

或者将此内容添加到你的 .codegpt/mcp_config.json(用于 CodeGPT)或 /path/to/Claude/claude_desktop_config.json(用于 Claude 桌面):

重要:

  • 将/path_to_your_uv/.local/bin/uv替换为通往UV可执行文件的实际路径。
  • 将 /fintual_mcp_server/fintual_python_server/server.py替换为Fintual MCP服务器 server.py 文件的实际路径。

按工具分类的配置文件位置

根据你使用的工具,常见的JSON配置应放在以下文件中:

  • Claude 桌面版:claude_desktop_config.json
  • 光标: .cursor/mcp.jso
  • CodeGPT: ~/.codegpt/mcp_config.json

工具清单

  • asset_provider:获取资产提供者名单。
  • get_asset_provider_by_id:通过身份识别资产提供者。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Fintual MCP Servers

This server enables LLMs to interact with Fintual’s API.

API Endpoints

Swagger: https://fintual.cl/api-docs/index.html

Servers list

Python Server Setup instructions

1- Clone this repository

git clone https://github.com/davila7/fintual_mcp_server.git

2- Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

Add the server

Go to the fintual_python_server folder and run the following command:

cd fintual_python_server

Run the following command:

uv run mcp install server.py

or Add this to your .codegpt/mcp_config.json for CodeGPT or /path/to/Claude/claude_desktop_config.json for Claude Desktop:

{
  "mcpServers": {
    "Fintual MCP Server": {
      "command": "/path_to_your_uv/.local/bin/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/fintual_mcp_server/fintual_python_server/server.py"
      ]
    }
  }
}

Important:

  • Replace /path_to_your_uv/.local/bin/uv with the actual path to your uv executable.
  • Replace /fintual_mcp_server/fintual_python_server/server.py with the actual path to the server.py file of the Fintual MCP server.

Configuration File Location by Tool

The common JSON configuration should be placed in the following file, depending on the tool you are using:

  • Claude Desktop: claude_desktop_config.json
  • Cursor: .cursor/mcp.jso
  • CodeGPT: ~/.codegpt/mcp_config.json

Tool list

  • asset_provider: Get the list of asset providers.
  • get_asset_provider_by_id: Get the asset provider by id.
  • get_conceptual_assets: Get the list of conceptual assets.
  • banks: Get the list of banks.

Prompt list

  • assets_provider_prompt: Prompt to use the assets_provider tool.
  • conceptual_assets_prompt: Prompt to use the conceptual_assets tool.

Example questions to use the tools

  1. Question Example: Zurich es una administradora de activos de Fintual ?

  2. Question Example: Cuales son los bancos integrados en Fintual ?

  3. Question Example: Cuales son los activos conceptuales de BANCHILE?

Add a Prompt to use the tools from the MCP Server

In Claude Desktop, you can add an speific prompt to use the tools.

  • Select assets_provider_prompt

  • Add the assets_provider

How it works

  • The model will use the tools to answer the questions, but first it will ask for confirmation to use the tools.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "Fintual MCP Server": { "command": "/path_to_your_uv/.local/bin/uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "<path to mcp-servers>/fintual_mcp_server/fintual_python_server/server.py" ] } } }