Optimized Memory MCP Server V2
最適化されたメモリ MCP サーバー v2
Claude Desktopとの統合に最適化された、高性能なPythonベースのモデルコンテキストプロトコル(MCP)サーバー実装です。このサーバーは、効率的なメモリ管理と堅牢なインフラストラクチャコンポーネント追跡機能を提供します。
[!注意] このプロジェクトは、プロジェクト仕様と AI の指示に欠陥があり、無限ループ動作を引き起こしたため、アーカイブされました。
概要
この MCP サーバーの実装では、次の点に重点を置いています。
大規模インフラストラクチャの追跡のための効率的なメモリ管理
MCPパターンに従った包括的なリソースとツールの実装
完全なClaudeデスクトップ互換性
接続プールを備えたSQLiteベースの永続ストレージ
堅牢なエラー処理とリソースのクリーンアップ
Related MCP server: MCP Server Example
特徴
MCPリソース
エンティティ管理(リスト、取得、関係)
プロバイダーリソースの追跡
Ansibleコレクション管理
バージョン追跡
全文検索機能
MCPツール
エンティティの作成と管理
観測追跡
プロバイダー登録
Ansibleモジュール統合
インフラストラクチャ分析ツール
コアコンポーネント
FastMCPサーバーの実装
接続プールを備えたSQLiteデータベース
包括的なエラー処理
自動リソースクリーンアップ
徹底的な伐採
プロジェクト構造
.
├── src/
│ ├── resources/ # MCP resource implementations
│ ├── tools/ # MCP tool implementations
│ ├── db/ # Database management
│ ├── utils/ # Utility functions
│ └── server.py # Main server implementation
├── tests/
│ ├── resources/ # Resource tests
│ ├── tools/ # Tool tests
│ └── integration/ # Integration tests
├── docs/ # Documentation
├── migrations/ # Database migrations
└── requirements/ # Project dependencies要件
Python 3.13.1 以上
SQLite 3.x
uvxサーバー
クイックスタート
詳細なインストール手順については、環境設定ガイドを参照してください。
主な手順:
Python環境のクローンとセットアップ
依存関係をインストールします:
pip install -r requirements.txtデータベースの設定:
export DATABASE_URL=sqlite:///path/to/db.dbデータベースの初期化:
alembic upgrade headサーバーを起動します:
uvx run python -m src.main
使用法
サーバーを起動します。
uvx run python -m src.mainClaude デスクトップを設定します。
MCPサーバーのURLを
http://localhost:8000に設定するClaude設定でMCPプロトコルを有効にする
接続を確認します:
curl http://localhost:8000/health
開発セットアップ
開発依存関係をインストールします。
pip install -r requirements-dev.txtコミット前のフックを設定します。
pre-commit installテストを実行します:
pytestコードの品質を確認する:
flake8 mypy .
貢献
リポジトリをフォークする
機能ブランチを作成する
弊社の規約に従って変更を行ってください
テストとリンティングを実行する
プルリクエストを送信する
ドキュメント
環境設定ガイド- インストールと構成
MCP 使用ガイド- MCP のリソースとツールの使用
APIドキュメント- APIリファレンス
設定ガイド- サーバー設定
開発ガイド- 貢献ガイドライン
データベーススキーマ- データモデルリファレンス
トラブルシューティングガイド- よくある問題と解決策
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
謝辞
MCPプロトコル仕様のClaude Desktopチーム
FastMCPライブラリへの貢献者
データベースツールのSQLAlchemyチーム
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for Claude Desktop that provides structured memory management across chat sessions, allowing Claude to maintain context and build a knowledge base within project directories.166MIT
- AlicenseBqualityDmaintenanceAn educational implementation of a Model Context Protocol server that demonstrates how to build a functional MCP server for integrating with various LLM clients like Claude Desktop.1162MIT
- FlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11
- AlicenseNot gradedqualityDmaintenanceA production-ready Model Context Protocol server that provides comprehensive file system management capabilities for seamless integration with Claude Desktop.1MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/AgentWong/optimized-memory-mcp-serverv2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server