Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

list_topics

Retrieve paginated knowledge base topics with statistics including note counts, files, bloggers, and live streams to organize content in GetNote.

Instructions

获取知识库列表(每页固定 20 条)。返回 topics[]、has_more、total。每个 topic 包含 id(alias id)、name、description、cover、stats(笔记数、文件数、博主数、直播数)等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始(默认 1)

Implementation Reference

  • The handler function that executes the "list_topics" tool logic by making a request to the API.
    async listTopics(params?: { page?: number; size?: number }) {
      return this.request<ListTopicsResp>("GET", "/resource/knowledge/list", {
        page: params?.page,
        size: params?.size,
      });
    }
  • src/index.ts:611-615 (registration)
    The registration case in the tool switch handler that calls the listTopics client method.
    case "list_topics": {
      return client.listTopics({
        page: input.page as number | undefined,
      });
    }

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/iswalle/getnote-mcp'

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