Walutomat MCP服务器(测试版!)
模型上下文协议(MCP)服务器,为AI应用程序提供对Walutomat货币兑换服务和实时汇率的访问。
概述
该MCP服务器使AI助手能够与波兰领先的在线货币兑换平台Walutomat进行交互,使用户能够:
- 获取实时货币汇率
- 下达货币兑换订单
- 在内部以及SEPA和SWIFT区域内发起转账
使用示例
基本费率查询
User: What's the current EUR to PLN exchange rate?
Assistant: I'll check the current EUR to PLN exchange rate for you using Walutomat.货币兑换
User: How much is 500 USD in Polish Złoty?
Assistant: I'll convert 500 USD to PLN using current Walutomat rates.市场信息
User: What currencies can I exchange on Walutomat?
Assistant: Let me get the list of supported currencies from Walutomat.可用工具
此软件包提供以下工具
account-balance-返回钱包余额account-history-返回钱包历史记录-钱包上记录的操作transfer-status-了解转账状态和详细信息transfer-to-wallet-请求从自己的钱包向Currency One运营的另一个钱包进行新的内部转账。transfer-to-iban-从以IBAN格式提供目标帐号的钱包请求新转账transfer-to-sepa-从以IBAN格式提供目的帐号的钱包请求新的SEPA转账transfer-to-noniban-请求从钱包向非IBAN目的地进行新转账direct-fx-rates-返回货币一为指定货币对提供的当前汇率(买入和卖出)direct-fx-order-请求按currency One提供的汇率进行货币兑换market-fx-order-平台允许提交有价格限制的买入或卖出订单。订单应涉及Walutomat市场上列出的货币对之一market-best-offers-返回所讨论货币对的10个最佳出价和要价market-active-orders-返回按最近提交的顺序排列的活动订单。
配置
克劳德桌面
将服务器添加到Claude Desktop配置文件中: MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json 窗户: %APPDATA%/Claude/claude_desktop_config.json
数据
{
"mcpServers": {
"walutomat": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"WALUTOMAT_API_KEY": "Walutomat API key",
"WALUTOMAT_KEY_PATH": "path to RSA private key required to sign requests to Walutomat API",
"WALUTOMAT_API_URL": "https://api.walutomat.dev for Sandbox or https://api.walutomat.pl for Prod",
"WALUTOMAT_DRY_RUN": "true or false- true to run in dryRun mode, no real transactions are made. False otherwise. Use with caution!"
}
}
}
}环境变量
创建一个 .env 项目根目录中的文件:
WT_API_KEY=your-api-key-if-required发展
从源头构建
# Install dependencies
npm install
# Build the project
npm run build贡献
- 分叉存储库
- 创建要素分支(
git checkout -b feature/amazing-feature) - 提交您的更改(
git commit -m 'Add amazing feature') - 推到分支(
git push origin feature/amazing-feature) - 打开拉取请求
许可证
此项目根据MIT许可证获得许可-请参阅 许可证 文件以获取详细信息。
免责声明
这是与Walutomat的非官方集成。有关官方使用指南,请参阅Walutomat的服务条款和API文档。
