FIXSIM

io.github.GammaThreeTrading由 GitHub 账号 GammaThreeTrading 发布v0.1.2更新于 Oct 24, 2026

Test FIX from Claude, ChatGPT, or Cursor: free sandbox FIX sessions or your own FIXSIM instances.

已验证Streamable HTTP可网页运行金融开发者工具

概览

AI 生成的概览

FIXSIM 的托管 MCP 服务器,让助手创建 FIX 测试会话、查看 FIX 报文与订单,并模拟交易所回执。

可以做什么
  • 创建、查看和结束免费的匿名沙箱 FIX 会话,含连接信息与到期时间
  • 查询沙箱连接状态,读取 FIX 报文日志、活动订单和会话详情
  • 在沙箱中扮演交易所:成交、部分成交、拒绝或撤销订单,或开启自动成交
  • 列出 FIXSIM 实例、会话、证券、进出方向订单与执行报告
  • 对发往 FIXSIM 的订单执行确认、成交、拒绝、撤销、过期、重述等操作,并向外发送订单或撤单
  • 在会话上发送任意原始 FIX 应用报文
适用场景
适合在测试 FIX 交易引擎或订单流程时使用:在聊天客户端里直接驱动会话、查看原始 FIX 报文并模拟对手方响应,而不必另开工具。
运行要求
远程 Streamable HTTP 端点,无需本地运行时。sandbox_ 工具无需账号或密钥;fixsim_ 工具需要以 x-api-key 请求头提供 FIXSIM API 密钥,并具备相应实例权限。自行部署需 .NET 8。
安装前请注意
fixsim_ 工具会发送真实 FIX 报文并改变 FIXSIM 实例上的订单状态,若只需查看请使用只读端点。API 密钥会在每次调用时转发给 FIXSIM。沙箱会话为匿名且有上限(4 小时、每天 100 条应用报文)。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FIXSIM,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.GammaThreeTrading%2Ffixsim/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "fixsim": {
      "type": "http",
      "url": "https://mcp.fixsim.com/mcp"
    }
  }
}

README

fixsim-mcp

An MCP server for FIXSIM, the hosted FIX protocol simulator. Add it to Claude, Cursor, VS Code, or ChatGPT and test FIX from a conversation:

"Create a FIX 4.4 test session for me, then tell me when my engine has logged on and show me the first order it sent."

Two tool families live on one endpoint:

ToolsWhoAuth
sandbox_*anyonenone. Free, anonymous, 4-hour sessions on the Developer Sandbox
fixsim_*FIXSIM customersyour FIXSIM API key, sent as an x-api-key header

Connect

Hosted endpoint: https://mcp.fixsim.com/mcp (read-only variant: https://mcp.fixsim.com/mcp/readonly).

Claude Code

bash
claude mcp add --transport http fixsim https://mcp.fixsim.com/mcp --header "x-api-key: YOUR_FIXSIM_API_KEY"

Leave off --header if you only want the free sandbox tools.

Cursor / VS Code (mcp.json)

json
{  "mcpServers": {    "fixsim": {      "url": "https://mcp.fixsim.com/mcp",      "headers": { "x-api-key": "YOUR_FIXSIM_API_KEY" }    }  }}

Claude.ai / Claude Desktop: Customize → Connectors → Add custom connector → URL https://mcp.fixsim.com/mcp. Choose authentication None for the sandbox. To use your own instances, add a request header x-api-key (header support in the connector dialog is rolling out; if you do not see it, use Claude Code or Cursor for now).

Tools

Sandbox (no auth)

ToolWhat it does
sandbox_create_sessionProvision a free FIX session. Returns host, port, SenderCompID (your tag 49), TargetCompID (tag 56), BeginString, expiry.
sandbox_get_statusIs your engine connected? connected / waiting / disabled.
sandbox_get_messagesThe FIX message log, raw and parsed. Pass afterSeq to poll for new messages.
sandbox_get_ordersWorking orders your engine sent in.
sandbox_act_on_orderPlay the exchange: fill, partial, reject, cancel.
sandbox_set_autofillFill every incoming order automatically.
sandbox_get_sessionRe-fetch the connection card.
sandbox_end_sessionEnd the session early.

Sandbox limits: 100 application messages per session per day, 4-hour sessions, a handful of sessions per caller.

FIXSIM instances (API key)

ToolWhat it does
fixsim_list_instancesInstances your key can access. Start here.
fixsim_list_sessions, fixsim_get_sessionSessions on an instance: FIX version, CompIDs, role, logged-in state, sequence numbers.
fixsim_list_orders_in, fixsim_get_order_inOrders your system sent into FIXSIM, with raw FIX and audit trail.
fixsim_list_executions_outExecution reports FIXSIM sent you (acks, fills, rejects). Filter by ClOrdID.
fixsim_list_orders_out, fixsim_list_executions_inThe reverse direction, when FIXSIM is the order sender.
fixsim_list_securitiesSymbols and prices on an instance.
fixsim_act_on_ordersAck, fill, partially fill, reject, cancel, expire… orders your system sent in.
fixsim_send_orderHave FIXSIM send you a New Order Single.
fixsim_cancel_order_outHave FIXSIM cancel an order it sent.
fixsim_send_raw_fixSend any raw FIX message on a session.

The /mcp/readonly endpoint exposes the same tools but refuses the ones that send.

Every fixsim_* call is checked against the instances your key is entitled to, and is rate-limited per key (120 calls per minute by default).

Run it yourself

Requires .NET 8.

bash
dotnet run --project src/FixSim.Mcp --urls http://localhost:5199

Configuration (appsettings.json or environment variables such as FixSim__BaseUrl):

KeyDefaultMeaning
FixSim:BaseUrlhttps://portal.fixsim.com/The FIXSIM site whose /v1 API the fixsim_* tools call
FixSim:PerKeyCallsPerMinute120Per-key rate limit at this server
Sandbox:EnabledtrueRegister the sandbox_* tools
Sandbox:BaseUrlhttps://sandbox.fixsim.com/The Developer Sandbox web app
Sandbox:CallerKeyemptyShared secret sent as X-Sandbox-Caller so the sandbox can trust server-to-server calls

The server is stateless (Streamable HTTP), so it scales horizontally behind any load balancer.

How it works

The server is a thin client. fixsim_* tools call the public FIXSIM REST API (/v1/...) with your key; sandbox_* tools call the Developer Sandbox's session API. Nothing is stored here beyond a one-minute cache of which instances a key may access. Your API key is forwarded to FIXSIM on each call and never logged.

License

MIT

来源:README.md,提交 5c8b2fe

工具

21

fixsim_list_orders_out

List outbound orders

Orders FIXSIM sent OUT on a session (created with fixsim_send_order). Pass clOrdId to fetch one.

输入参数limitapiKeyclOrdIdsession必填instance必填

sandbox_get_status

Check sandbox connection status

Is the user's FIX engine connected to the sandbox session? Returns state: connected, waiting (nobody logged on yet), disabled, or unknown.

输入参数sessionId必填

fixsim_send_order

Send a New Order Single

Have FIXSIM send a New Order Single (35=D) OUT on a session to the user's system, so they can test how their system handles inbound orders. Follow up with fixsim_list_orders_out and fixsim_list_executions_in to see what came back.

输入参数side必填priceapiKeysymbol必填clOrdId必填ordType必填session必填instance必填orderQty必填additionalTags

fixsim_list_orders_in

List inbound orders

Orders the user's trading system sent INTO FIXSIM on a session (FIXSIM is the counterparty). Includes ClOrdID, symbol, side, quantity, remaining quantity, order status and the raw FIX message. Optionally filter by FIX OrdStatus code (tag 39): 0 new, 1 partially filled, 2 filled, 4 canceled, 8 rejected.

输入参数limitapiKeysession必填instance必填orderStatus

fixsim_list_executions_in

List inbound execution reports

Execution reports the user's system sent INTO FIXSIM on a session (when FIXSIM is the order sender and the user's system is the executing side). Optionally filter by ExecID (tag 17).

输入参数limitapiKeyexecIdsession必填instance必填

fixsim_act_on_orders

Act on inbound orders

Respond to orders the user's system sent into FIXSIM: acknowledge, fully or partially execute, reject, cancel remaining, expire, done-for-day, restate, or accept/reject a pending cancel/replace. FIXSIM emits the matching execution reports on the FIX session. Give one or more ClOrdIDs; for executions supply lastPx and, for a partial, lastQty.

输入参数action必填apiKeylastPxlastQtysession必填clOrdIds必填instance必填

sandbox_set_autofill

Set sandbox auto-fill

Turn automatic fills on or off for a sandbox session. On: every order the user sends is filled immediately at the security's last price. Off (default): orders are acknowledged and wait for sandbox_act_on_order.

输入参数enabled必填sessionId必填

fixsim_cancel_order_out

Send an Order Cancel Request

Have FIXSIM send an Order Cancel Request (35=F) for an order it previously sent out with fixsim_send_order.

输入参数apiKeyclOrdId必填session必填instance必填newClOrdIdadditionalTags

fixsim_list_sessions

List FIX sessions

List the FIX sessions on an instance with their FIX version, CompIDs, acceptor/initiator role, host/port, enabled and logged-in state, and sequence numbers.

输入参数apiKeyinstance必填

fixsim_list_executions_out

List outbound execution reports

Execution reports FIXSIM sent OUT on a session (acks, fills, partial fills, rejects, cancels). Pass clOrdId to see the full execution history of one order: ExecType, OrdStatus, LastPx/LastQty, CumQty, LeavesQty, AvgPx and the raw FIX.

输入参数limitapiKeyclOrdIdsession必填instance必填

fixsim_get_session

Get FIX session

Get one FIX session's settings and live state (logged in?, sequence numbers, connection details).

输入参数apiKeysession必填instance必填

sandbox_act_on_order

Fill, reject, or cancel a sandbox order

Play the exchange for one order the user sent in: fill (full execution), partial (partial fill), reject, or cancel (cancel the remaining quantity). FIXSIM sends the matching execution report back to the user's engine.

输入参数action必填clOrdId必填sessionId必填

fixsim_get_order_in

Get inbound order

Get one inbound order by ClOrdID (tag 11), including its raw FIX message and audit trail. Use this to explain why an order was rejected or what state it is in.

输入参数apiKeyclOrdId必填session必填instance必填

sandbox_get_orders

List sandbox orders

Working orders the user's engine has sent into the sandbox session: ClOrdID, symbol, side, qty, filled, leaves, price, status.

输入参数sessionId必填

sandbox_get_messages

Read sandbox FIX message log

The FIX message log for a sandbox session, oldest first: logons, heartbeats, orders in, execution reports out, rejects. Each message has seq, timeUtc, inbound (true = user's engine sent it), msgType, raw FIX, and parsed tag/value fields. Pass afterSeq (the last seq you saw) to fetch only new messages. Use this to explain what happened on the wire.

输入参数afterSeqsessionId必填

sandbox_create_session

Create sandbox FIX session

Create a free, anonymous FIX test session on the FIXSIM Developer Sandbox. No account or API key needed. Returns the connection card: host, port, the SenderCompID the user must put in tag 49, the TargetCompID for tag 56, BeginString, and the expiry (sessions last 4 hours, cap 100 application messages per day). The user's FIX engine connects as the initiator; FIXSIM is the acceptor and acknowledges every order. Keep the returned id; every other sandbox tool needs it.

输入参数fixVersion

sandbox_end_session

End sandbox session

End a sandbox session now instead of waiting for it to expire. Frees the slot for the user's IP.

输入参数sessionId必填

fixsim_send_raw_fix

Send raw FIX messages

Send one or more raw FIX application messages OUT on a session as given (tag=value pairs separated by | or SOH). FIXSIM supplies the session header fields (BeginString, CompIDs, MsgSeqNum, SendingTime) and the checksum. Use for message types the other tools do not cover.

输入参数apiKeysession必填instance必填fixMessages必填

fixsim_list_instances

List FIXSIM instances

List the FIXSIM instances your API key can access. An instance is a hosted FIX engine; each holds one or more FIX sessions. Start here to learn the instance names other tools need.

输入参数apiKey

fixsim_list_securities

List securities

Securities (symbol, last price, CUSIP, ISIN) configured on an instance. FIXSIM prices fills from these.

输入参数apiKeyinstance必填

sandbox_get_session

Get sandbox session

Re-fetch a sandbox session's connection card by id, including whether auto-fill is on and when it expires.

输入参数sessionId必填

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分