Skip to main content
Glama
cutalion

Yonote MCP Server

by cutalion

Yonote MCP 服务器原型

铁匠徽章

这是 Yonote 服务的 MCP 服务器的 MVP 项目,它是 Notion 的替代方案。该服务器提供与 Yonote 文档和集合交互的 API 工具。

特征

  • 列出 Yonote 中的文档和收藏

  • 获取有关文档的详细信息

  • 通过 FastMCP 框架公开工具

Related MCP server: SiYuan MCP Server

要求

  • Python 3.13+

  • Yonote API 凭证

  • 以下 Python 包(参见pyproject.toml ):

    • fast-agent-mcp>=0.2.23

    • requests>=2.32.3

    • python-dotenv (用于加载环境变量)

  • uv用于依赖管理

设置

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Yonote 文档交互服务器:

npx -y @smithery/cli install @cutalion/yonote-mcp --client claude

手动安装

  1. 克隆存储库:

    git clone <your-repo-url>
    cd yonote-mcp
  2. 使用 uv 安装依赖项:

    uv pip install -r requirements.txt
    # or, using pyproject.toml:
    uv pip install .
  3. 配置环境变量:

    在项目根目录中创建一个.env文件,其内容如下:

    API_TOKEN=your_yonote_api_token
    API_BASE_URL=https://app.yonote.ru/api  # Optional, defaults to this value

用法

运行 MCP 服务器:

python main.py

该服务器公开以下工具:

  • documents_list :获取文档列表(带有可选的限制、偏移量和 collectionId)

  • documents_info :通过 ID 获取文档信息

  • collections_list :获取集合列表(带有可选的限制和偏移量)

项目结构

  • main.py — 主服务器代码和工具定义

  • pyproject.toml — 项目元数据和依赖项

执照

MIT(或指定您的许可证)

游标配置示例

要将此 MCP 服务器与 Cursor 一起使用,请将以下内容添加到您的~/.cursor/mcp.json配置文件中:

{
  "mcpServers": {
    "yonote": {
      "command": "uv",
      "args": [
        "run",
        "-v",
        "--directory",
        "/path/to/yonote-mcp",
        "/path/to/yonote-mcp/main.py"
      ]
    }
  }
}

/path/to/yonote-mcp替换为项目目录的实际路径。

截屏

Available Tools

3 tools
collections_listC

Get list of collections

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. 'Get list' implies a read operation, but it doesn't disclose behavioral traits like whether it's paginated, requires authentication, has rate limits, or what happens with the limit/offset parameters. The description adds minimal value beyond the basic action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with a single sentence, 'Get list of collections', which is front-loaded and wastes no words. It efficiently states the core action without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (2 parameters, no annotations, no output schema), the description is incomplete. It doesn't explain the return format, pagination behavior, or parameter usage, making it inadequate for an agent to use the tool correctly without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It mentions no parameters, failing to explain the meaning or usage of 'limit' and 'offset' (e.g., pagination details). This leaves significant gaps in understanding how to invoke the tool effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get list of collections' states the basic purpose (verb+resource) but is vague about scope and differentiation. It doesn't specify whether this returns all collections, user collections, or some subset, nor does it distinguish from sibling tools like 'documents_list' which might handle similar listing operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, context for usage, or comparison with sibling tools like 'documents_list' or 'documents_info', leaving the agent without usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

documents_infoC

Get info about a document by id

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Get info' implies a read-only operation, it doesn't specify whether authentication is required, rate limits apply, what information is returned, or how errors are handled. This is inadequate for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise at just 6 words, front-loading the essential information with zero wasted words. Every element ('Get info', 'about a document', 'by id') earns its place in this minimal formulation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations, 0% schema description coverage, and no output schema, the description is insufficiently complete. A read operation tool needs more context about what information is returned, error handling, and usage constraints to be fully usable by an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It mentions 'by id' which clarifies the purpose of the single parameter, but doesn't explain what format the ID should be (numeric, UUID, etc.), where to obtain it, or validation rules. This provides minimal value beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get info') and target resource ('about a document by id'), making the purpose immediately understandable. However, it doesn't differentiate this tool from its sibling 'documents_list' (which presumably lists multiple documents rather than retrieving a single one), preventing a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'documents_list' or 'collections_list'. It doesn't specify prerequisites, error conditions, or typical use cases, leaving the agent with minimal context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

documents_listC

Get list of documents

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
collectionIdNo

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. 'Get list' implies a read operation, but it doesn't disclose important traits like whether this requires authentication, has rate limits, returns paginated results, or what happens with the parameters. The description adds minimal value beyond the basic operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at just three words. It's front-loaded with the core purpose and contains zero wasted words. While under-specified, it's structurally efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description is inadequate. It doesn't explain what the tool returns, how parameters work, or behavioral characteristics. The agent would struggle to use this tool correctly without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate but doesn't mention any parameters. Three parameters (limit, offset, collectionId) are completely undocumented in both schema and description. The description provides no information about what these parameters do or how they affect the document listing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get list of documents' clearly states the verb ('Get') and resource ('documents'), but it's vague about scope and doesn't differentiate from sibling tools like 'collections_list' or 'documents_info'. It doesn't specify whether this lists all documents, recent documents, or documents with particular characteristics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'collections_list' or 'documents_info'. There's no mention of prerequisites, appropriate contexts, or exclusions. The agent must infer usage from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updates
    • First observedcollections_list
    • First observeddocuments_info
    • First observeddocuments_list

TDQS

B3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: collections_list retrieves collections, documents_info gets details of a specific document, and documents_list lists documents. There is no overlap in functionality, making it easy for an agent to select the right tool without confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case: collections_list, documents_info, and documents_list. The naming is predictable and readable throughout, with no deviations or mixed conventions.

Tool Count3/5

With only 3 tools, the server feels thin for a note-taking domain, as it lacks essential operations like creating, updating, or deleting collections or documents. While the tools are well-scoped individually, the count is borderline low for covering basic CRUD workflows.

Completeness2/5

The tool surface is significantly incomplete for a note-taking server. It only provides read operations (list and get info) for collections and documents, with no ability to create, update, or delete resources. This will likely cause agent failures when trying to perform common tasks like adding or modifying notes.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/cutalion/yonote-mcp'

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