Optimized Memory MCP Server V2

by AgentWong

Integrations

  • Provides Ansible collection management and module integration for infrastructure management

最適化されたメモリ MCP サーバー v2

Claude Desktopとの統合に最適化された、高性能なPythonベースのモデルコンテキストプロトコル(MCP)サーバー実装です。このサーバーは、効率的なメモリ管理と堅牢なインフラストラクチャコンポーネント追跡機能を提供します。

[!注意] このプロジェクトは、プロジェクト仕様と AI の指示に欠陥があり、無限ループ動作を引き起こしたため、アーカイブされました。

概要

この MCP サーバーの実装では、次の点に重点を置いています。

  • 大規模インフラストラクチャの追跡のための効率的なメモリ管理
  • MCPパターンに従った包括的なリソースとツールの実装
  • 完全なClaudeデスクトップ互換性
  • 接続プールを備えたSQLiteベースの永続ストレージ
  • 堅牢なエラー処理とリソースのクリーンアップ

特徴

  • 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サーバー

クイックスタート

詳細なインストール手順については、環境設定ガイドを参照してください。

主な手順:

  1. Python環境のクローンとセットアップ
  2. 依存関係をインストールします: pip install -r requirements.txt
  3. データベースの設定: export DATABASE_URL=sqlite:///path/to/db.db
  4. データベースの初期化: alembic upgrade head
  5. サーバーを起動します: uvx run python -m src.main

使用法

  1. サーバーを起動します。
    uvx run python -m src.main
  2. Claude デスクトップを設定します。
    • MCPサーバーのURLをhttp://localhost:8000に設定する
    • Claude設定でMCPプロトコルを有効にする
  3. 接続を確認します:
    curl http://localhost:8000/health

開発セットアップ

  1. 開発依存関係をインストールします。
    pip install -r requirements-dev.txt
  2. コミット前のフックを設定します。
    pre-commit install
  3. テストを実行します:
    pytest
  4. コードの品質を確認する:
    flake8 mypy .

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 弊社の規約に従って変更を行ってください
  4. テストとリンティングを実行する
  5. プルリクエストを送信する

ドキュメント

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

謝辞

  • MCPプロトコル仕様のClaude Desktopチーム
  • FastMCPライブラリへの貢献者
  • データベースツールのSQLAlchemyチーム
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

モデル コンテキスト プロトコルを実装し、MCP クライアントとして Claude Desktop とインターフェースし、効率的なメモリ管理を通じて対話をサポートする Python ベースのサーバーです。

  1. Overview
    1. Features
      1. Project Structure
        1. Requirements
          1. Quick Start
            1. Usage
              1. Development Setup
                1. Contributing
                  1. Documentation
                    1. License
                      1. Acknowledgments

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
                          Last updated -
                          10
                          322
                          28
                          JavaScript
                          MIT License
                          • Apple
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
                          Last updated -
                          48
                          4
                          TypeScript
                          • Apple
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A streamlined foundation for building Model Context Protocol servers in Python, designed to make AI-assisted development of MCP tools easier and more efficient.
                          Last updated -
                          11
                          Python
                          MIT License
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A Python-based implementation of the Model Context Protocol that enables communication between a model context management server and client through a request-response architecture.
                          Last updated -
                          Python
                          • Linux
                          • Apple

                        View all related MCP servers

                        ID: e9fy8seqww