国金QMT-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | 日志文件路径 | logs/quantmcp.log |
| QMT_PATH | Yes | QMT客户端数据目录,如: D:\QMT\userdata_mini | |
| LOG_LEVEL | No | 日志级别: DEBUG/INFO/WARNING/ERROR | INFO |
| QUANTMCP_HOST | No | MCP服务器监听地址,通常保持127.0.0.1 | 127.0.0.1 |
| QUANTMCP_PORT | No | MCP服务器端口号,可根据需要修改 | 8000 |
| DEFAULT_SYMBOL | No | 默认股票代码,用于测试和演示 | 000001.SZ |
| QMT_ACCOUNT_ID | Yes | 你的模拟或实盘交易账户ID | |
| QMT_SESSION_ID | Yes | QMT会话ID,整数,如: 12345 | |
| MAX_ORDER_VALUE | No | 单笔订单最大金额(元),防止误操作大额下单 | 100000.0 |
| DEFAULT_END_DATE | No | 默认回测结束日期,格式YYYYMMDD | 20241201 |
| QMT_STRATEGY_DIR | No | QMT策略文件保存目录,如: D:\QMT\mpython | |
| DEFAULT_START_DATE | No | 默认回测开始日期,格式YYYYMMDD | 20240101 |
| MAX_POSITION_VALUE | No | 单只股票最大持仓金额(元),控制单股风险 | 500000.0 |
| MIN_ORDER_QUANTITY | No | 最小下单数量(股),通常为100的整数倍 | 100 |
| QUANTMCP_TRANSPORT | No | 传输协议,保持sse即可 | sse |
| DEFAULT_LONG_PERIOD | No | 默认长期均线天数 | 20 |
| MARKET_ORDER_SPREAD | No | 市价单价差比例(0.1=10%),避免成交价偏离过大 | 0.1 |
| DEFAULT_SHORT_PERIOD | No | 默认短期均线天数 | 5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guangxiangdebizi/QMT-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server