Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_get_locked

Encrypt and retrieve locked notes in the Bear App using a search term and optional window display, facilitated by the Bear App MCP Server for secure note management.

Instructions

Get locked (encrypted) notes

Input Schema

NameRequiredDescriptionDefault
searchNoSearch term
show_windowNoShow Bear window

Input Schema (JSON Schema)

{ "properties": { "search": { "description": "Search term", "type": "string" }, "show_window": { "description": "Show Bear window", "type": "boolean" } }, "type": "object" }

Implementation Reference

  • The handler function that executes the 'bear_get_locked' tool by building a Bear 'locked' URL with optional search and show_window parameters, executing it, and returning a success message.
    private async getLocked(args: any) { const params: Record<string, string | boolean> = {}; if (args.search) params.search = args.search; if (args.show_window) params.show_window = "yes"; const url = this.buildBearURL("locked", params); await this.executeURL(url); return { content: [ { type: "text", text: `Retrieved locked notes${args.search ? ` matching: ${args.search}` : ""}` } ] }; }
  • Input schema definition for the 'bear_get_locked' tool, specifying optional 'search' string and 'show_window' boolean parameters.
    inputSchema: { type: "object", properties: { search: { type: "string", description: "Search term" }, show_window: { type: "boolean", description: "Show Bear window" } } }
  • src/index.ts:613-629 (registration)
    Registration of the 'bear_get_locked' tool in the ListTools response, including name, description, and input schema.
    { name: "bear_get_locked", description: "Get locked (encrypted) notes", inputSchema: { type: "object", properties: { search: { type: "string", description: "Search term" }, show_window: { type: "boolean", description: "Show Bear window" } } } },
  • src/index.ts:729-730 (registration)
    Registration of the call handler dispatch for 'bear_get_locked' tool in the switch statement, routing to the getLocked method.
    case "bear_get_locked": return await this.getLocked(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