Skip to main content
Glama
Omi Memories MCP Server

Omi Memories MCP Server

Omi Memories MCP サーバー

これは、ツール インターフェイスを通じて特定のユーザーに Omi メモリへのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバーです。

特徴

  • OMIアプリから指定されたユーザーIDのすべての思い出を取得するツール

Related MCP server: MCP-Mem0

設定

  1. 依存関係をインストールします:

npm install
  1. ユーザー ID を設定します。

    • src/server.tsを開く

    • Omiraアプリのアカウントセクションから、 SPECIFIC_USER_ID定数をユーザーIDで更新します。

  2. TypeScript コードをビルドします。

npm run build
  1. サーバーを起動します。

npm start

利用可能なツール

フェッチメモリ

設定されたユーザー ID のすべてのメモリを取得します。

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";

const transport = new StdioClientTransport({
  command: "node",
  args: ["dist/server.js"]
});

const client = new Client(
  {
    name: "example-client",
    version: "1.0.0"
  },
  {
    capabilities: {
      tools: {}
    }
  }
);

await client.connect(transport);

// Fetch memories using the tool
const result = await client.callTool({
  name: "fetch-memories",
  arguments: {}
});
console.log(result.content[0].text);

構成

サーバーは以下を期待します:

  1. Express API はhttp://localhost:3000で実行されます

  2. ユーザー ID を設定する必要があります: src/server.tsのSPECIFIC_USER_ID定数を、Omira アプリのアカウント セクションから取得できるユーザー ID に更新します。

クロードデスクトップ統合

Claude Desktop と統合するには、Claude Desktop の構成 ( claude_desktop_config.json ) を更新して以下を追加します。

{
  "mcpServers": {
    "omi-mcp": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-server/dist/server.js"
      ],
      "env": {
        "NODE_ENV": "development"
      }
    }
  }
} 

カーソルIDE統合

Cursor IDE と統合するには:

  1. オープンカーソルIDE設定

  2. 「AI & Copilot」設定に移動する

  3. 「モデル コンテキスト プロトコル」の下に、次の設定で新しい MCP サーバーを追加します。

{
  "name": "Omi Memories",
  "command": "node",
  "args": [
    "/path/to/your/mcp-server/dist/server.js"
  ],
  "cwd": "/path/to/your/mcp-server",
  "env": {
    "NODE_ENV": "development"
  }
}

/path/to/your/mcp-server MCP サーバーのインストール ディレクトリへの実際のパスに置き換えます。

Available Tools

1 tool
fetch-memoriesD

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'fetch-memories' stands alone with a distinct purpose, making disambiguation trivial.

    Naming Consistency5/5

    The single tool name 'fetch-memories' follows a clear verb_noun pattern. Since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions to evaluate.

    Tool Count2/5

    A single tool is too few for a server named 'Omi Memories MCP Server', which suggests a domain involving memory storage or retrieval. This minimal set likely leaves significant functionality uncovered, making it inappropriate for the implied scope.

    Completeness2/5

    Inferred from the server name and tool name, the domain involves memories, but with only a fetch operation, there are obvious gaps such as creating, updating, deleting, or searching memories. This severely incomplete surface will cause agent failures in handling memory lifecycles.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers