Archery MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ARCHERY_BASE_URL | Yes | Archery 平台地址 | |
| ARCHERY_PASSWORD | Yes | 登录密码 | |
| ARCHERY_USERNAME | Yes | 登录用户名 |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| workflow_listA | 获取 SQL 上线工单列表。 Args: status: 工单状态: workflow_manreviewing(待审核), workflow_review_pass(审核通过), workflow_queuing(排队中), workflow_executing(执行中), workflow_finish(已完成), workflow_abort(已终止) instance_name: 按实例名过滤 engineer: 按提交人过滤 page: 页码 page_size: 每页数量 |
| workflow_submitB | 提交 SQL 上线工单。 Args: instance_id: 目标实例 ID db_name: 目标数据库名 sql_content: 要执行的 SQL 内容 workflow_name: 工单名称/标题 group_id: 资源组 ID demand_url: 需求链接 is_backup: 是否备份,默认 True |
| workflow_auditA | 审核工单(通过或终止)。 Args: workflow_id: 工单 ID workflow_type: 工单类型: 1=查询权限, 2=SQL上线, 3=数据归档 audit_type: pass=通过, cancel=终止 audit_remark: 审核备注 engineer: 操作用户名 |
| workflow_executeA | 执行已审核通过的工单。 Args: workflow_id: 工单 ID workflow_type: 2=SQL上线, 3=数据归档 engineer: 操作用户名(SQL上线必填) mode: auto=线上执行, manual=确认已手动执行 |
| workflow_pending_listB | 获取指定用户待审核的工单列表。 Args: engineer: 用户名 |
| workflow_logB | 获取工单操作日志。 Args: workflow_id: 工单 ID workflow_type: 1=查询权限, 2=SQL上线, 3=数据归档 |
| sql_checkA | SQL 语法审核检查(不执行),调用 goInception 返回审核结果。 Args: instance_id: 目标实例 ID db_name: 目标数据库名 full_sql: 要检查的 SQL |
| sqlquery_instancesB | 获取当前用户可访问的查询实例列表。 Args: db_type: 数据库类型过滤,逗号分隔如 mysql,redis type: 实例类型 |
| sqlquery_resourcesA | 获取实例内的资源列表(数据库/表/列)。 Args: instance_name: 实例名称 resource_type: database/schema/table/column db_name: 数据库名(查table/column时必填) schema_name: schema名 tb_name: 表名(查column时必填) |
| sqlquery_describe_tableC | 获取表结构详情(DESC TABLE)。 Args: instance_name: 实例名称 db_name: 数据库名 tb_name: 表名 schema_name: schema名 |
| sqlquery_executeB | 在线执行 SQL 查询(仅 SELECT),受权限管控。 Args: instance_name: 实例名称 db_name: 数据库名 sql_content: SQL 语句 limit_num: 行数限制,默认100 schema_name: schema名 |
| sqlquery_logsC | 获取 SQL 查询历史记录。 Args: limit: 返回数量 offset: 偏移量 search: 搜索关键词 start_date: 开始日期 end_date: 结束日期 |
| sqlquery_favoriteA | 收藏或取消收藏查询记录。 Args: query_log_id: 查询记录 ID star: true=收藏, false=取消 alias: 收藏别名 |
| instance_listB | 获取数据库实例列表。 Args: instance_name: 按名称过滤 db_type: 按类型过滤(mysql/redis/pgsql等) type: master/slave page: 页码 page_size: 每页数量 |
| instance_createB | 创建新的数据库实例配置。 Args: instance_name: 实例名称 type: master/slave db_type: mysql/redis/pgsql/oracle等 host: 主机地址 port: 端口号 user: 用户名 password: 密码 |
| instance_updateB | 更新实例配置。 Args: instance_id: 实例 ID instance_name: 新名称 host: 新地址 port: 新端口 user: 新用户名 password: 新密码 |
| instance_deleteC | 删除实例配置。 Args: instance_id: 实例 ID |
| instance_resourceB | 获取实例内的资源信息(数据库/schema/表/列)。 Args: instance_id: 实例 ID resource_type: database/schema/table/column db_name: 数据库名 schema_name: schema名 tb_name: 表名 |
| instance_table_lookupC | 按表名查找包含该表的实例列表。 Args: table_name: 表名 |
| user_listB | 获取用户列表。 Args: username: 按用户名过滤 page: 页码 page_size: 每页数量 |
| user_createB | 创建新用户。 Args: username: 用户名 password: 密码 display: 显示名称 email: 邮箱 |
| user_updateB | 更新用户信息。 Args: user_id: 用户 ID display: 显示名称 email: 邮箱 is_active: 是否启用 |
| user_deleteC | 删除用户。 Args: user_id: 用户 ID |
| resource_group_listD | 获取资源组列表。 Args: page: 页码 page_size: 每页数量 |
| resource_group_createC | 创建资源组。 Args: group_name: 资源组名称 |
| auth_group_listC | 获取权限组列表。 Args: page: 页码 page_size: 每页数量 |
| auth_group_createC | 创建权限组。 Args: name: 权限组名称 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 27 tools
Tools are generally distinct across domains (users, groups, workflows, SQL query, instances). Minor overlap exists between sqlquery_resources and instance_resource, both retrieving resources inside an instance, but descriptions clarify different contexts (user-access vs admin config).
Most tools follow a snake_case pattern, but styles vary: some are noun_verb (user_create), while others are noun_noun_verb (resource_group_list) or noun_noun (sqlquery_instances). The verb position is inconsistent, e.g., sqlquery_describe_table places the verb in the middle.
27 tools cover multiple domains (users, groups, workflows, SQL, instances). The count is slightly high but justified by the broad scope of a database management platform. Each tool serves a specific operation without excessive redundancy.
Core workflows (SQL ticket lifecycle, CRUD for users/instances) are covered. Notable gaps: resource groups and auth groups lack update and delete tools; user management lacks role/permission assignment. Some domains feel incomplete.