Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_get_locked

Retrieve encrypted notes from Bear App using search terms and window display options to access secured content.

Instructions

Get locked (encrypted) notes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNoSearch term
show_windowNoShow Bear window

Implementation Reference

  • src/index.ts:613-629 (registration)
    Registers the 'bear_get_locked' tool in the ListTools handler, providing name, description, and input schema for parameters like search term and show_window option.
    { 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)
    Switch case in CallToolRequestSchema handler that dispatches 'bear_get_locked' tool calls to the getLocked method.
    case "bear_get_locked": return await this.getLocked(args);
  • Core handler function for 'bear_get_locked' tool. Builds a Bear x-callback-url for the 'locked' action with optional search and show_window parameters, executes it, and returns 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 defining parameters for the bear_get_locked tool: optional search string and show_window boolean.
    inputSchema: { type: "object", properties: { search: { type: "string", description: "Search term" }, show_window: { type: "boolean", description: "Show Bear window" } }

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