
bank-api
by erwinkramer·★ 833·综合分 52
一个带有 MCP 服务器的银行 API 参考实现,可与 AI 集成。
概述
Bank API 是一个全面的 API 设计参考项目,用于构建合规和现代化的 API,包含内置的 MCP 服务器组件。它实现了银行业标准,包括 OWASP API 安全、OpenAPI 规范、GDPR 和 CCPA 合规性,以及 JWS/JWK 标准。MCP 服务器使用 HTTP 流传输,支持 API 密钥和 OAuth 认证方法,使 AI 系统能够通过标准化协议接口与银行功能交互。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要具有强大安全合规性和认证模式的银行API参考实现时,选择此MCP服务器。
什么时候不要选它
作为参考实现,不适用于生产银行系统;如果您需要非金融API操作,也不适合使用。
此 server 暴露的工具
从 README 抽取出 12 个工具(置信度较低)create_accountCreate a new bank account
get_account_balanceRetrieve account balance information
transfer_fundsTransfer money between accounts
get_transaction_historyRetrieve transaction history for an account
get_loan_optionsRetrieve available loan products
apply_for_loanSubmit a loan application
get_customer_infoRetrieve customer information
update_customer_profileUpdate customer profile information
get_account_statementGenerate account statement
get_credit_scoreRetrieve customer's credit score
freeze_cardFreeze a debit/credit card
get_investment_productsRetrieve available investment products
说明:Tools were inferred from typical banking API functionality described in the README, but no explicit tool list or MCP endpoint documentation was provided. The MCP server functionality is mentioned but specific tool names are not documented.
可对比工具
安装
前置条件
- .NET 10 SDK
- MCPify 用于 MCP 暴露
设置
- 克隆仓库
- 为安全端点生成 JWT 令牌:
``bash dotnet user-jwts create --scope "bank_api" --role "banker" --valid-for 3650d --project BankApi.Service.Stable ``
- 运行稳定版本的 API:
``bash dotnet run --project BankApi.Service.Stable ``
- 通过 Aspire 编排启动 MCP 服务器
Claude Desktop 配置
{
"mcpServers": {
"bank-api": {
"command": "dotnet",
"args": ["run", "--project", "BankApi.Mcp"],
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}FAQ
- MCP 服务器支持哪些认证方法?
- MCP 服务器目前支持 API 密钥和 OAuth 授权码认证方法。
- MCP 服务器能否独立于 API 运行?
- 是的,MCP 服务器设计为在 HTTP 流传输上独立运行,尽管它依赖于 API 生成的 OpenAPI 规范。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by r3versii · 2025-12-29
bank-api 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。