MCP cover image
See in Github
2025-01-06

这是一个个人项目,旨在测试Claude AI自编写MCP服务器代码以供自己使用的能力。

1

Github Watches

2

Github Forks

1

Github Stars

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.

[!CAUTION] 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

.
├── 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

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:

  1. Clone and setup Python environment
  2. Install dependencies: pip install -r requirements.txt
  3. Configure database: export DATABASE_URL=sqlite:///path/to/db.db
  4. Initialize database: alembic upgrade head
  5. Start server: uvx run python -m src.main

Usage

  1. Start the server:

    uvx run python -m src.main
    
  2. Configure Claude Desktop:

    • Set MCP server URL to http://localhost:8000
    • Enable MCP protocol in Claude settings
  3. Verify connection:

    curl http://localhost:8000/health
    

Development Setup

  1. Install development dependencies:

    pip install -r requirements-dev.txt
    
  2. Set up pre-commit hooks:

    pre-commit install
    
  3. Run tests:

    pytest
    
  4. Check code quality:

    flake8
    mypy .
    

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes following our conventions
  4. Run tests and linting
  5. Submit a pull request

Documentation

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • modelcontextprotocol
  • 模型上下文协议服务器

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    Reviews

    4 (1)
    Avatar
    user_YvTrET1I
    2025-04-15

    simctl-mcp by ambar is an excellent tool for anyone working with the Mobile Core Platform. The user interface is intuitive, and the functionality is robust, making it perfect for both beginners and advanced users. Highly recommend visiting the product link to discover its full potential: https://mcp.so/server/simctl-mcp/ambar.