CSMAR MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CSMAR_LANG | No | Language preference: 0 for Chinese, 1 for English | 0 |
| CSMAR_API_KEY | No | Your CSMAR API key (optional, for enhanced access) | |
| CSMAR_API_BASE | No | The base URL for the CSMAR API, e.g., https://api.gtarsc.com | https://api.gtarsc.com |
| CSMAR_PASSWORD | Yes | Your CSMAR password | |
| CSMAR_USERNAME | Yes | Your CSMAR username |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| csmar_health_checkA | 检查 CSMAR 服务健康状态 |
| csmar_loginC | 登录 CSMAR 账户 |
| csmar_list_databasesA | 列出用户有权访问的 CSMAR 数据库 |
| csmar_list_tablesB | 列出指定数据库中的所有表 |
| csmar_list_fieldsB | 列出指定表中的所有字段 |
| csmar_queryD | 通用 CSMAR 数据查询 |
| csmar_previewC | 预览表数据 (前几行) |
| csmar_query_countC | 查询满足条件的记录数量 |
| get_stock_dataC | 获取 CSMAR 股票交易数据 |
| get_financial_dataC | 获取 CSMAR 财务数据 |
| get_company_infoC | 获取公司基本信息 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| csmar://databases | CSMAR 可用数据库列表 |
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes (e.g., listing databases vs tables vs fields, login vs query). However, the three 'get_*' tools (get_company_info, get_financial_data, get_stock_data) could overlap with the generic csmar_query since all fetch data, but descriptions and specific naming mitigate confusion.
Tools are in snake_case, but eight are prefixed with 'csmar_' while three (get_company_info, get_financial_data, get_stock_data) lack this prefix. This inconsistency breaks the pattern and could cause agents to misgroup tools.
11 tools is appropriate for a data retrieval service covering login, database exploration, querying, counting, previewing, and specific data endpoints. Each tool earns its place without being excessive.
The tool set covers core CRUD-like operations for data retrieval: listing databases/tables/fields, querying, counting, previewing, and accessing specific data types. Missing write/update/delete operations, but those likely fall outside the scope of a read-only CSMAR data service.