AB

akseyh/bear-mcp-server

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

45 stars 7 forks 质量 58 趋势 0MIT

akseyh/bear-mcp-server 是从 https://github.com/akseyh/bear-mcp-server. 导入的 MCP 服务器候选服务器。

概览

akseyh/bear-mcp-server 是从 https://github.com/akseyh/bear-mcp-server. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

该项目是一个模型上下文协议(MCP)服务器,提供对熊笔记的访问。

Bear 将笔记存储在 SQLite 数据库中。该 MCP 服务器运行一些 SQL 命令来访问这些笔记。 https://bear.app/faq/where-are-bears-notes-located

特色

  • 阅读笔记
  • 文本检索笔记
  • 列出所有标签

安装

Claude桌面配置

更新你的claude_desktop_config.json

Docker

NPM

服务器启动后,以下MCP工具将开放:

  • get_notes:检索所有笔记
  • get_tags:列出所有标签
  • get_notes_like:搜索包含特定文本的笔记

要求

  • Node.js
  • Bear Note 应用程序(macOS)
  • 访问Bear数据库

许可证

国际标准服务委员会

本页由 AI 翻译,技术细节请以原文为准。

README

Bear MCP Server

This project is a Model Context Protocol (MCP) server that provides access to the Bear Notes.

Bear stores notes on SQLite database. This MCP server runs some SQL commands to access this notes. https://bear.app/faq/where-are-bears-notes-located

Features

  • Read notes
  • Search notes by text
  • List all tags

Installation

# Clone the project
git clone https://github.com/akseyh/bear-mcp-server

# Change directory
cd bear-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Claude Desktop Config

Update your claude_desktop_config.json

Docker

{
    "mcpServers": {
        "bear": {
            "command": "docker",
            "args": [
                "run",
                "-v",
                "/Users/[YOUR_USER_NAME]/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data:/app/db",
                "-i",
                "akseyh/bear-mcp-server"
            ]
        }
    }
}

NPM

{
  "mcpServers": {
    "bear": {
      "command": "npx",
      "args": [
          "bear-mcp-server"
      ]
    }
  }
}

When the server is started, the following MCP tools become available:

  • get_notes: Retrieves all notes
  • get_tags: Lists all tags
  • get_notes_like: Searches for notes containing specific text

Requirements

  • Node.js
  • Bear note application (macOS)
  • Access to Bear database

License

ISC

在 GitHub 查看完整 README

安装

docker run -v /Users/[YOUR_USER_NAME
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bear": { "command": "docker", "args": [ "run", "-v", "/Users/[YOUR_USER_NAME]/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data:/app/db", "-i", "akseyh/bear-mcp-server" ] } } }