Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_get_todo

Retrieve todo notes from Bear App using search terms, API tokens, and window display options to organize tasks.

Instructions

Get todo notes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNoSearch term
tokenNoBear API token
show_windowNoShow Bear window

Implementation Reference

  • The main handler function for 'bear_get_todo' tool. It constructs parameters from input args, calls Bear's 'todo' x-callback via executeWithCallback, and returns a formatted response with todo notes.
    private async getTodo(args: any) { const params: Record<string, string | boolean> = {}; if (args.search) params.search = args.search; if (args.token) params.token = args.token; if (args.show_window) params.show_window = "yes"; const todoData = await this.executeWithCallback("todo", params); return { content: [ { type: "text", text: JSON.stringify({ message: `Retrieved todo notes${args.search ? ` matching: ${args.search}` : ""}`, notes: todoData }, null, 2) } ] };
  • Input schema definition for the 'bear_get_todo' tool, registered in the ListTools response.
    { name: "bear_get_todo", description: "Get todo notes", inputSchema: { type: "object", properties: { search: { type: "string", description: "Search term" }, token: { type: "string", description: "Bear API token" }, show_window: { type: "boolean", description: "Show Bear window" } } } },
  • src/index.ts:725-726 (registration)
    Switch case in CallToolRequestSchema handler that dispatches to the getTodo method for 'bear_get_todo'.
    case "bear_get_todo": return await this.getTodo(args);

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/bigjeager/bear-mcp-server'

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