
stitchai/stitch-ai-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
このリポジトリには、Stitch AIのメモリ管理システムのモデルコンテキストプロトコル(MCP)サーバー実装が含まれています.
概要
このリポジトリには、Stitch AIのメモリ管理システムのモデルコンテキストプロトコル(MCP)サーバー実装が含まれています。 サーバは、AIエージェントの記憶の作成、取得、管理のためのツールを提供します。 MCP サーバーでは、以下のツールを提供しています。 指定した名前で新しいメモリスペースを作成します。 - パラメーター: - スペース名: 作成するメモリ空間の名前 - タイプ: 作成するメモリ空間の種類 指定された名前でメモリスペースを削除します。 - パラメーター: - space name: 削除するメモリ空間の名前 利用可能なすべてのメモリスペースのリストを取得します。 - パラメーター: なし 指定したメモリ空間に新しいメモリをアップロードします。 - パラメーター: - スペース: アップロードするメモリ空間の名前 - メッセージ: アップロードするメモリメッセージ - メモリ: アップロードするメモリコンテンツ メモリスペースからIDで特定のメモリを取得します。 - パラメーター: - スペース: メモリ空間の名前 - Memory id: 取得するメモリの ID 指定されたメモリスペースからすべてのメモリを取得します.
概要(AI 翻訳)
AIのための分散型ナレッジハブ
このリポジトリには、Stitch AIのメモリ管理システム用のモデルコンテキストプロトコル(MCP)サーバーの実装が含まれています。 サーバは、AIエージェントの記憶の作成、取得、管理のためのツールを提供します。
お問い合わせ
利用可能なツール
MCP サーバーでは、以下のツールを提供しています。
##[create_space
指定した名前で新しいメモリスペースを作成します。
- 変数:
- [
type: 作成するメモリ空間の種類
##[delete_space
指定された名前でメモリスペースを削除します。
- 変数:
##[get_all_spaces
利用可能なすべてのメモリスペースのリストを取得します。
- パラメーター: なし
##[upload_memory
指定したメモリ空間に新しいメモリをアップロードします。
- 変数:
- [
message: アップロードするメモリメッセージ
##[get_memory
メモリスペースからIDで特定のメモリを取得します。
- 変数:
- [
space: メモリ空間の名前 - [
memory_id: 取得するメモリのID
##[get_all_memories
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Stitch AI’s MCP Server
Decentralized Knowledge Hub for AI
This repository contains a Model Context Protocol (MCP) server implementation for Stitch AI’s memory management system. The server provides tools for creating, retrieving, and managing AI agent memories.
Available Tools
The MCP server provides the following tools:
create_space
Creates a new memory space with the specified name.
- Parameters:
space_name: The name of the memory space to createtype: The type of memory space to create
delete_space
Deletes a memory space with the specified name.
- Parameters:
space_name: The name of the memory space to delete
get_all_spaces
Gets a list of all available memory spaces.
- Parameters: None
upload_memory
Uploads a new memory to a specified memory space.
- Parameters:
space: The name of the memory space to upload tomessage: The memory message to uploadmemory: The memory content to upload
get_memory
Retrieves a specific memory by ID from a memory space.
- Parameters:
space: The name of the memory spacememory_id: The ID of the memory to retrieve
get_all_memories
Retrieves all memories from a specified memory space.
- Parameters:
space: The name of the memory space to retrieve memories from- Optional Parameters:
memory_names: Comma-separated list of memory names to filterlimit: Maximum number of memories to return (default: 50)offset: Number of memories to skip (default: 0)
Run the server
npm run start
Using with Claude Desktop
-
Clone the repository
git clone https://github.com/StitchAI/stitch-ai-mcp.git -
Install dependencies
npm install @modelcontextprotocol/sdk zod npm install -D @types/node typescript -
Install Claude for Desktop
- Download and install the latest version from Claude’s website
-
Configure Claude for Desktop
- Locate your Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%AppData%\Claude\claude_desktop_config.json
- macOS:
- Create the file if it doesn’t exist
- Locate your Claude for Desktop configuration file:
-
Edit Configuration File
- Open the configuration file in a text editor:
- macOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json - Windows:
code $env:AppData\Claude\claude_desktop_config.json
- macOS:
- Add your MCP server configuration:
- Open the configuration file in a text editor:
{
"mcpServers": {
"stitchai": {
"command": "npx",
"args": [
"ts-node",
インストール
npx ts-node /path/to/cloned/stitch-ai-mcp/src/server.ts設定
{
"mcpServers": {
"stitchai": {
"command": "npx",
"args": [
"ts-node",
"/path/to/cloned/stitch-ai-mcp/src/server.ts"
],
"env": {
"API_KEY": "<STITCH_AI_API_KEY>",
"BASE_URL": "https://api-demo.stitch-ai.co"
}
}
}
}