Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ONES_COOKIENo浏览器会话里的 Cookie,会话复用模式可选但建议提供
ONES_ORIGINNo请求使用的 Origin,可选,默认回落到 ONES_BASE_URL
ONES_REFERERNo请求使用的 Referer,可选,默认回落到 ${ONES_BASE_URL}/project/
ONES_BASE_URLNoONES 内网根地址
ONES_PASSWORDNo登录密码,账号密码模式必填
ONES_USERNAMENo登录账号,账号密码模式必填
ONES_AUTH_TOKENNo浏览器会话里的 Bearer token,会话复用模式可选但建议提供
ONES_TIMEOUT_MSNo请求超时,可选,默认 15000
ONES_USER_AGENTNo请求使用的 User-Agent,可选;账号密码模式下未配置时默认使用企微风格 UA
ONES_OCR_API_KEYNoOCR 服务鉴权 token,可选
ONES_OCR_ENDPOINTNoOCR 服务地址,可选
ONES_OCR_PROVIDERNoOCR 提供方,可选,当前支持 http
ONES_OCR_TIMEOUT_MSNoOCR 请求超时,可选,默认 15000
ONES_MAX_CONTENT_CHARSNo正文最大长度,可选,默认 20000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_docsC

Search ONES docs by keyword

get_docA

Get ONES doc by context ref (URL or #requirement) and return llm/human structured views.

get_doc_outlineA

Return section outline and size metadata for a ONES doc ref.

get_doc_sectionA

Return one outline section from a ONES doc ref, optionally including descendants.

get_doc_chunksB

Return one cursor-based chunk from a ONES doc ref using a character budget.

get_doc_contextB

Automatically select sections or chunks for a ONES doc ref based on a question.

get_requirement_detail_by_refA

Get requirement body, fields, and related task facts by requirement number, task id, or task URL.

get_execution_tasks_by_refB

Get execution-task candidates by requirement number, task id, or task URL.

extract_requirement_materials_by_refA

Extract wiki pages, external links, rich resources, and completeness hints by requirement number, task id, or task URL.

list_requirement_bugs_by_refA

List bugs under a requirement by requirement number, task id, or task URL when explicitly requested.

get_task_messages_by_refB

Get task comments/messages by task number, task id, or task URL.

get_related_wiki_pages_by_refA

Discover wiki page references by requirement number, task id, or task URL.

get_task_rich_resources_by_refA

Extract rich-text image resources by task number, task id, or task URL.

get_bug_detail_by_refA

Get bug body, fields, and related task facts by bug number, task id, or task URL.

get_bug_parent_requirement_by_refA

Resolve the parent requirement by bug number, task id, or task URL.

resolve_requirementC

Resolve an ONES requirement by number, task id, or task URL. Prefer *_by_ref tools for normal workflow reads.

get_requirement_detailA

Get requirement body, fields, and related task facts by task id. Prefer get_requirement_detail_by_ref when starting from a requirement number or URL.

get_execution_tasksA

Get execution-task candidates related to a requirement by task id. Prefer get_execution_tasks_by_ref when starting from a requirement number or URL.

resolve_bugB

Resolve an ONES bug by number, task id, or task URL. Prefer *_by_ref tools for normal workflow reads.

get_bug_detailA

Get bug body, fields, and related task facts by task id. Prefer get_bug_detail_by_ref when starting from a bug number or URL.

get_bug_parent_requirementA

Resolve the parent requirement for a selected bug by task id. Prefer get_bug_parent_requirement_by_ref when starting from a bug number or URL.

list_requirement_bugsA

List bugs under a requirement by task id when explicitly requested. Prefer list_requirement_bugs_by_ref when starting from a requirement number or URL.

get_task_messagesA

Get task comments/messages by task id for requirement workflow context. Prefer get_task_messages_by_ref when starting from a number or URL.

extract_requirement_materialsA

Extract wiki pages, external links, rich resources, and completeness hints from a requirement task id. Prefer extract_requirement_materials_by_ref when starting from a requirement number or URL.

get_related_wiki_pagesA

Discover wiki page references attached to or linked from a requirement task id. Prefer get_related_wiki_pages_by_ref when starting from a requirement number or URL.

get_task_rich_resourcesA

Extract rich-text image resources from a requirement, task, or bug body by task id. Prefer get_task_rich_resources_by_ref when starting from a number or URL.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/twodogwang/mcp-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server