Provides Ansible collection management and module integration for infrastructure management
Optimized Memory MCP Server v2
A high-performance Python-based Model Context Protocol (MCP) server implementation optimized for Claude Desktop integration. This server provides efficient memory management and robust infrastructure component tracking capabilities.
This project has been archived due to faulty project specifications and AI direction that led to endless looping behavior.
Overview
This MCP server implementation focuses on:
Efficient memory management for large-scale infrastructure tracking
Comprehensive resource and tool implementations following MCP patterns
Full Claude Desktop compatibility
SQLite-based persistent storage with connection pooling
Robust error handling and resource cleanup
Features
MCP Resources
Entity management (listing, retrieval, relationships)
Provider resource tracking
Ansible collection management
Version tracking
Full-text search capabilities
MCP Tools
Entity creation and management
Observation tracking
Provider registration
Ansible module integration
Infrastructure analysis tools
Core Components
FastMCP server implementation
SQLite database with connection pooling
Comprehensive error handling
Automatic resource cleanup
Extensive logging
Project Structure
Requirements
Python 3.13.1 or higher
SQLite 3.x
uvx server
Quick Start
See our Environment Setup Guide for detailed installation instructions.
Key steps:
Clone and setup Python environment
Install dependencies:
pip install -r requirements.txt
Configure database:
export DATABASE_URL=sqlite:///path/to/db.db
Initialize database:
alembic upgrade head
Start server:
uvx run python -m src.main
Usage
Start the server:
uvx run python -m src.mainConfigure Claude Desktop:
Set MCP server URL to
http://localhost:8000
Enable MCP protocol in Claude settings
Verify connection:
curl http://localhost:8000/health
Development Setup
Install development dependencies:
pip install -r requirements-dev.txtSet up pre-commit hooks:
pre-commit installRun tests:
pytestCheck code quality:
flake8 mypy .
Contributing
Fork the repository
Create a feature branch
Make your changes following our conventions
Run tests and linting
Submit a pull request
Documentation
Environment Setup Guide - Installation and configuration
MCP Usage Guide - Using MCP resources and tools
API Documentation - API reference
Configuration Guide - Server configuration
Development Guide - Contributing guidelines
Database Schema - Data model reference
Troubleshooting Guide - Common issues and solutions
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Claude Desktop team for MCP protocol specifications
Contributors to the FastMCP library
SQLAlchemy team for database tooling
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Python-based server that implements the Model Context Protocol to interface with Claude Desktop as an MCP client, supporting interaction through efficient memory management.
- Overview
- Features
- Project Structure
- Requirements
- Quick Start
- Usage
- Development Setup
- Contributing
- Documentation
- License
- Acknowledgments
Related Resources
Related MCP Servers
- -securityFlicense-qualityA 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 -455
- AsecurityAlicenseAqualityA Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.Last updated -1273MIT License
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11
- -securityFlicense-qualityA Python server implementing the Model Context Protocol that exposes tools for querying external APIs, compatible with Claude Desktop and ChatGPT Desktop.Last updated -