Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

get_upload_config

Retrieve image upload configuration details such as supported file types and size limits before uploading to ensure compliance with platform requirements.

Instructions

获取图片上传配置,包括支持的文件类型、大小限制等。上传图片前先调用此接口了解约束。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `getUploadConfig` method in `GetNoteClient` performs a GET request to `/resource/image/config` to retrieve upload configurations.
    async getUploadConfig() {
      return this.request<GetUploadConfigResp>(
        "GET",
        "/resource/image/config"
      );
    }
  • The `GetUploadConfigResp` interface defines the expected structure of the response returned by `getUploadConfig`.
    export interface GetUploadConfigResp {
      support_extensions: string[];
      max_size_bytes: number;
      max_count: number;
    }

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