Skip to main content
Glama

Yuque MCP Server

by HenryHaoson

create_doc

Create and publish new documents in a specified Yuque knowledge base with customizable titles, formats, and visibility settings. Supports Markdown, HTML, and Lake formats.

Instructions

在指定知识库中创建新的语雀文档,支持多种格式内容

Input Schema

NameRequiredDescriptionDefault
accessTokenNo用于认证 API 请求的令牌
bodyYes文档内容,支持Markdown格式
formatNo内容格式,可选值:markdown、html、lake,默认为 markdown
namespaceYes知识库的命名空间,格式为 user/repo
public_levelNo公开性,可选值:0(私密)、1(公开)、2(企业内公开),默认为 1
slugYes文档的短链接名称,用于URL路径
titleYes文档标题

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accessToken": { "description": "用于认证 API 请求的令牌", "type": "string" }, "body": { "description": "文档内容,支持Markdown格式", "type": "string" }, "format": { "description": "内容格式,可选值:markdown、html、lake,默认为 markdown", "type": "string" }, "namespace": { "description": "知识库的命名空间,格式为 user/repo", "type": "string" }, "public_level": { "description": "公开性,可选值:0(私密)、1(公开)、2(企业内公开),默认为 1", "type": "number" }, "slug": { "description": "文档的短链接名称,用于URL路径", "type": "string" }, "title": { "description": "文档标题", "type": "string" } }, "required": [ "namespace", "title", "slug", "body" ], "type": "object" }

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/HenryHaoson/Yuque-MCP-Server'

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