FINOS MCP - AI Governance (community)

io.github.vardhjain由 GitHub 账号 vardhjain 发布v0.3.2更新于 Nov 6, 2026

Read-only MCP for FINOS AI governance risks, controls and crosswalks. Independent project.

概览

AI 生成的概览

只读 MCP 服务器,让助手查询 FINOS AI 治理框架中的风险、控制措施及其与 NIST、ISO 42001、EU AI Act、OWASP 的对照。

可以做什么
  • 按公开编号查询 24 项风险与 25 项控制措施
  • 查看哪些控制措施应对哪些风险,并对照 13 个外部框架
  • 用自然语言检索治理目录
  • 返回可供读者对照标准核验的标识符或链接
适用场景
适合助手回答金融领域 AI 治理问题、需要准确可追溯的编号而非凭记忆作答时,例如哪些控制措施可缓解提示注入、它们如何映射到 EU AI Act。
运行要求
以 PyPI 包形式通过 uvx 和 Python 3.12 在本地以 stdio 运行,只需安装 uv。无需账号、API 密钥或数据库。标准内容随包内置,可离线运行;仅可选语义检索扩展会在首次使用时下载模型。
安装前请注意
设计上只读:没有工具会写文件、发送消息或更改系统,未标记为只读的工具会被拒绝提供。每次调用写入审计日志,以参数指纹代替原始内容。这是独立社区软件,并非 FINOS 官方产品,PyPI 上部分官方 FINOS 包同样以 finos- 开头。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FINOS MCP - AI Governance (community),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

finos-mcp

Lets AI assistants look things up in three open financial-industry standards, accurately and without being able to change anything.

[ci] [PyPI] [Python] [License] [tests] [coverage] [tools] [recall@5] [hallucinated ids]

Start with a question

What you want to doPick this serverSee it work
Find AI governance risks and controls with traceable referencesAIGFGovernance example
Understand a trade field or validate CDM JSONCDMCDM example
Find the right desktop intent for a financial instrumentFDC3FDC3 example

Official MCP Registry (published v0.3.2): AIGF · CDM · FDC3. All three are local stdio packages, not public hosted endpoints.

Claude Code and Codex plugins: A community-maintained plugin can bundle all three servers and their guided AIGF, CDM, and FDC3 skills. See the plugin installation guide for marketplace setup and local runtime requirements; the existing manual MCP commands below still work.

Claude Code quick connect: With Claude Code and uv installed, run one of the following commands for the standard you need:

bash
claude mcp add --scope user finos-aigf -- uvx --python 3.12 finos-mcp-aigf==0.3.2claude mcp add --scope user finos-cdm -- uvx --python 3.12 finos-mcp-cdm==0.3.2claude mcp add --scope user finos-fdc3 -- uvx --python 3.12 finos-mcp-fdc3==0.3.2

Run claude mcp list and then ask your assistant to use get_control (AIGF), describe_type (CDM), or suggest_intent (FDC3). The client setup guide also provides tested JSON configuration examples for Claude Desktop, VS Code and Copilot, with troubleshooting for Windows and macOS.

To see a real MCP call without a model or API key, clone this repository, run uv sync --all-packages, then try:

bash
uv run --no-sync python examples/try_it.py aigf

Choose either of the other two servers in the tested example recipes. This is independent community software, not an official FINOS product.

What is this?

Banks and other financial firms share a set of open standards published by FINOS, the Fintech Open Source Foundation. Three of them matter here:

  • the AI Governance Framework, a catalogue of the risks of using AI in finance and the controls that reduce them;
  • the Common Domain Model (CDM), a shared way to describe trades and what happens to them;
  • FDC3, the standard that lets desktop finance applications talk to each other.

An AI assistant asked about these standards will often answer from memory and get details wrong: an id that does not exist, a field that is not in the schema. This project gives the assistant the real thing to look up instead. It packages each standard as a small server that speaks the Model Context Protocol (MCP), the open protocol that Claude and other assistants use to call external tools.

With the servers connected, an assistant can answer questions like:

  • "Which controls reduce the risk of prompt injection, and what do they map to in the EU AI Act?"
  • "Is this trade JSON valid CDM? If not, where exactly is it wrong?"
  • "My app has a stock ticker selected. Which FDC3 actions can I offer the user?"

Each answer comes with an identifier or link the reader can check against the standard itself.

The three servers

ServerStandardWhat an assistant can do with it
finos-mcp-aigfAI Governance FrameworkLook up 24 risks and 25 controls by their published ids, see which controls address which risks, cross-reference 13 outside frameworks (NIST, ISO 42001, EU AI Act, OWASP), and search in plain language
finos-mcp-cdmCommon Domain ModelExplore 767 CDM types and 1,143 JSON schemas, browse products and trade events, and validate trade documents with exact error paths
finos-mcp-fdc3FDC3Look up 19 standard actions ("intents") and 28 data types, check a data object, and suggest which actions fit it

All three are built on finos-mcp-core, a shared package that holds the safety rules described below. The full list of 29 tools is in docs/tools.md, and docs/demo.md shows a real session, including the CDM server finding three deliberate mistakes in a trade document.

Quick start

You need uv and nothing else. There is no account, API key or database to set up.

First-time setup: Follow the MCP client setup guide for copy-paste, version-pinned configurations for Claude Desktop, Claude Code, VS Code and GitHub Copilot. It also covers Windows and macOS setup, verifying a real tool call, and troubleshooting. The quick-start examples below pin the published, end-to-end-tested v0.3.2 packages.

Claude Desktop or Claude Code. Add this to your MCP configuration (full example) and restart:

json
{  "mcpServers": {    "finos-aigf": { "command": "uvx", "args": ["--python", "3.12", "finos-mcp-aigf==0.3.2"] }  }}

From the command line.

bash
# talk over stdin/stdout, the way desktop assistants connectuvx --python 3.12 finos-mcp-aigf==0.3.2
# or serve HTTP on localhost (self-hosted, not a public hosted service)uvx --python 3.12 finos-mcp-aigf==0.3.2 --transport streamable-http --port 8000

As a container. It needs no writable disk and no extra privileges:

bash
docker run --rm -p 8000:8000 --read-only --cap-drop ALL \  -e FINOS_MCP_ALLOWED_HOSTS='localhost:*,127.0.0.1:*' \  ghcr.io/vardhjain/finos-mcp:v0.3.2

The allowed-hosts setting makes the server refuse requests that arrive under any other host name, which stops a web page in your browser from reaching the port.

Running a stdio command directly starts a server waiting for a client; it does not display a chat prompt. To verify installation in a terminal, add --help instead. Swap finos-mcp-aigf for finos-mcp-cdm or finos-mcp-fdc3 to run the other servers. examples/ includes a low-memory, reproducible live demo, a short Python client, and a LangGraph agent.

Why it is safe to connect

Giving an assistant new tools is a risk, so the servers are deliberately limited:

  • They can only read. No tool writes a file, sends a message or changes any system. The server refuses to serve any tool if one of them is not marked read-only.
  • They work offline. The standards are copied into the packages at build time, with the exact upstream version recorded. Nothing is fetched while the server runs.
  • They cannot be flooded. Every tool has a rate limit and a cap on input and output size.
  • Mistakes are explained. A bad request gets a structured error that says what was wrong and what to try, so the assistant can correct itself instead of guessing.
  • Everything is logged. Each call is written to an audit log, with a fingerprint of its arguments in place of the raw content.

The details, including every setting, are in docs/safety.md.

One optional feature does use the network. Installing the semantic extra adds meaning-based search, which downloads a small open model on first use. Without it, search is keyword-based and fully offline.

How well it works

These numbers are measured by automated checks and published to the metrics branch. The badges above read that file directly, so they show measurements from a specific commit.

CheckResult
Automated testsOver 200 passing, with more than 90% of the code exercised. The exact figures are on the badges above
Finding the right record for a plain-language question (50 questions)Correct answer in the top five 91.5% of the time
An AI model answering 20 governance questions through the server0 invented ids; 95% of answers cited a valid id
Response time per tool callA few milliseconds on the benchmarked tools

The offline metrics update on every push to main; the search result in this table is from October 2026. The agent test uses Claude Haiku 4.5 and requires paid Anthropic API credits. To prevent surprise costs, it only runs through an explicit manual opt-in in GitHub Actions, never on a timer or PR label. Its published figures are from the last successful evaluation on 14 September 2026 and are not live data. Deterministic tests and retrieval evaluations continue to run in CI without LLM API calls.

Building this also turned up 15 defects in the upstream standards, recorded in docs/upstream-findings.md. The first was reported to FINOS, and its YAML fix merged upstream in PR #380 on October 21, 2026.

Project layout

PathContents
core/Shared safety layer: read-only enforcement, rate limits, size caps, audit log, search
servers/One package per standard, each with its copy of the upstream content
evals/Golden tests, AIGF retrieval, offline CDM/FDC3 workflows, latency and optional agent evaluation
examples/Configuration and sample clients
docs/Documentation, also published at https://vardhjain.github.io/finos-mcp/

Development

bash
uv sync --all-packages --all-extrasuv run pytestuv run pytest evals/offline/test_workflows.py -v  # 16 multi-tool scenarios, no paid APIsuv run ruff check . && uv run mypy core/src servers/*/src

See CONTRIBUTING.md for the ground rules, CHANGELOG.md for what changed in each release, RELEASING.md for how releases are made, and PLAN.md for the original design record.

Status

For maintainers, MCP directory and Registry status records the three already-published official Registry entries and the pending Glama listing correction. Future third-party directory submissions require separate approval.

The latest published release is available on PyPI as finos-mcp-core, finos-mcp-aigf, finos-mcp-cdm and finos-mcp-fdc3, for Python 3.12 and later, and as a container image for x86 and ARM.

Not affiliated with or endorsed by FINOS. These are independent community packages. Some official FINOS packages on PyPI also start with finos-; nothing here is one of them.

Licenses

The code is Apache-2.0. The copied standards keep their own licenses: the AI Governance Framework is CC-BY-4.0, and CDM and FDC3 are under the Community Specification License 1.0. See NOTICE.

来源:README.md,提交 e2a80bb

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:软件包安装失败。

版本历史

1
  1. v0.3.2最新Oct 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分