ramp-mcp:Ramp MCP 服务器
概述
一个模型上下文协议 (MCP) 服务器,用于使用开发者 API检索和分析数据或运行Ramp任务。为了规避 token 和输入大小的限制,该服务器在内存中实现了一个简单的 ETL 管道 + 临时 SQLite 数据库,供 LLM 进行分析。所有请求默认都发送到 demo,但可以通过设置RAMP_ENV=prd
进行更改。由于 API 和/或您的 MCP 客户端限制,大型数据集可能无法处理。
工具
数据库工具
可用于设置、处理、查询和删除内存中的临时数据库的工具。
process_data
execute_query
clear_table
获取工具
可用于直接获取数据的工具
get_ramp_categories
get_currencies
加载工具
将数据加载到客户端可以获取的服务器。根据您想要使用的工具,请确保在 Ramp 客户端上启用相应的作用域,并在启动服务器时将这些作用域作为 CLI 参数包含进去。
工具 | 范围 |
---|---|
加载交易 | 交易:读取 |
负载补偿 | 报销:阅读 |
加载账单 | 账单:已读 |
加载位置 | 地点:阅读 |
加载部门 | 部门:阅读 |
加载银行账户 | 银行账户:读取 |
加载供应商 | 供应商:阅读 |
加载供应商银行账户 | 供应商:阅读 |
加载实体 | 实体:读取 |
负载支出限额 | 限制:读取 |
加载支出程序 | 花费程序:阅读 |
加载用户 | 用户:阅读 |
对于大型数据集,建议明确提示 Claude 不要使用 REPL,并保持响应简洁,以避免超时或过度使用令牌。
设置
坡道设置
- 从 Ramp 开发者页面创建新客户端(右上角的个人资料 > 开发者 > 创建应用程序)
- 向客户端授予您希望的范围(基于工具)并启用客户端凭据(单击应用程序>授予类型/范围)
- 在配置文件中包含客户端 ID 和密钥以及您希望使用的范围
本地设置
- 通过
git clone git@github.com:ramp/ramp-mcp.git
或等效方法克隆此 Github 仓库 - 安装
uv
用法
使用以下命令从 CLI 运行 MCP 服务器:
配置
与 Claude Desktop 一起使用
将其添加到您的claude_desktop_config.json
中:
如果此文件尚不存在,请在/<ABSOLUTE-PATH-TO>/Library/Application Support/Claude/
中创建一个
执照
版权所有 (c) 2025,Ramp Business Corporation,保留所有权利。本源代码根据 MIT 许可证授权,该许可证位于源代码树根目录中的 LICENSE 文件中。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
模型上下文协议服务器可通过内存数据库访问 Ramp 财务数据,从而允许 LLM 分析来自 Ramp 平台的交易、报销、账单和其他财务信息。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.Last updated -1077PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.Last updated -313232TypeScriptMIT License
- -security-license-qualityA Model Context Protocol server that enables LLMs to interact with Ramp's financial data by retrieving, analyzing, and running tasks through Ramp's Developer API, using an in-memory SQLite database to overcome token limitations.Last updated -14PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -TypeScriptMIT License