Skip to main content
Glama
ZH1754629545

TickTick/Dida365 MCP Server

by ZH1754629545

get_projects

Retrieve all projects from your Dida365 account to view project details like ID, name, color, and organization settings.

Instructions

Retrieve a list of all projects in the Dida365 account. Returns project details including ID, name, color, view mode and sort order. No parameters required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'get_projects' tool. It makes a GET request to the Dida365 API '/project' endpoint to retrieve the list of projects and returns the data as a formatted JSON text block.
    case "get_projects": { const response: AxiosResponse<ProjectListResponse> = await dida365Api.get("/project"); return { content: [ { type: "text", text: `项目列表: ${JSON.stringify(response.data, null, 2)}`, }, ], }; }
  • The schema and registration entry for the 'get_projects' tool in the ListTools response, defining its name, description, and empty input schema.
    { name: "get_projects", description: "Retrieve a list of all projects in the Dida365 account. Returns project details including ID, name, color, view mode and sort order. No parameters required.", inputSchema: { type: "object", properties: {}, }, required: [], },
  • TypeScript interface defining the structure of a Project object, used in the get_projects response.
    interface Project { id?: string; name?: string; color?: string; sortOrder?: number; viewMode? : string; kind? :string; closed?:boolean; groupId?: string; permission?:string; }
  • TypeScript interface for the API response containing the list of projects.
    interface ProjectListResponse { projects: Project[]; }

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/ZH1754629545/dida365-mcp-servers'

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