Skip to main content
Glama

mcp4mcp

by hmatt1

mcp4mcp

Meta MCP Server - AI-powered development assistant for building better MCP projects

mcp4mcp automatically tracks your MCP tools, detects duplicates, suggests improvements, and provides AI-powered guidance throughout your development process.

🚀 Quick Start

# Install pip install fastmcp git clone https://github.com/your-org/mcp4mcp.git cd mcp4mcp && pip install -e . # Start server python server.py # Try the demo python main.py demo

💡 What You Get

  • 🧠 AI suggestions for next development steps
  • 🔍 Duplicate detection before you build conflicting tools
  • 📊 Progress tracking across development sessions
  • 🔄 Auto-discovery of tools in your codebase
  • 📈 Analytics on your development patterns

🛠️ Core Tools

ToolPurpose
get_project_state_toolLoad your current project and tools
update_project_state_toolAdd/update tools and project info
scan_project_files_toolAuto-discover tools in your code
check_before_build_toolCheck for conflicts before building
suggest_next_action_toolGet AI-powered development suggestions
analyze_tool_similarity_toolFind similar/duplicate tools
track_development_session_toolLog your development activities
get_session_analytics_toolView development insights

📋 Usage Examples

Start Development Session

# Log what you're working on await track_development_session( "Building file processing tools", "my_project", "csv_reader" )

Check Before Building

# Avoid duplicates result = await check_before_build( "file_processor", "Process CSV files", "my_project" ) if result['conflicts']: print("⚠️ Similar tools exist - consider reusing instead")

Get AI Suggestions

# Get personalized guidance suggestions = await suggest_next_action( "my_project", "Just finished the CSV reader, what's next?" ) for suggestion in suggestions['suggestions']: print(f"💡 {suggestion}")

Auto-Discover Tools

# Scan your codebase result = await scan_project_files("my_project", "./src") print(f"🔍 Found {result['new_tools']} new tools")

🤖 AI-Powered MCP Development

Use this prompt template with any LLM to build MCP servers that leverage mcp4mcp:

# MCP Server Development with mcp4mcp You are an expert MCP (Model Context Protocol) developer building a new MCP server. You have access to mcp4mcp tools that provide intelligent development assistance. ## Your Development Process: 1. **Start Each Session**: Always begin by calling `track_development_session_tool` to log what you're working on 2. **Before Building Any Tool**: Call `check_before_build_tool` to check for conflicts and similar existing tools 3. **Get AI Guidance**: Use `suggest_next_action_tool` for personalized development recommendations based on project state 4. **Update Progress**: Use `update_project_state_tool` to track tools as you build them (planned → in_progress → completed) 5. **Discover Existing Tools**: Use `scan_project_files_tool` to automatically find tools in the codebase 6. **Check for Duplicates**: Run `analyze_tool_similarity_tool` periodically to find similar tools that could be consolidated ## Current Task: Build a [DOMAIN] MCP server with tools for [SPECIFIC_FUNCTIONALITY]. ## Project Details: - Project name: [PROJECT_NAME] - Description: [PROJECT_DESCRIPTION] - Key requirements: [LIST_REQUIREMENTS] Start by calling the appropriate mcp4mcp tools to understand the current state and get AI-powered suggestions for the best approach.

Example Prompt Usage:

# MCP Server Development with mcp4mcp You are an expert MCP developer building a new MCP server. You have access to mcp4mcp tools. ## Current Task: Build a file processing MCP server with tools for reading, writing, and transforming CSV/JSON files. ## Project Details: - Project name: file-processor-mcp - Description: MCP server for file operations with data transformation capabilities - Key requirements: * Read CSV and JSON files * Write data in multiple formats * Transform data between formats * Validate file schemas * Handle large files efficiently Start by calling mcp4mcp tools to check current state and get development guidance.

🔧 Integration

Add mcp4mcp to any FastMCP project:

from fastmcp import FastMCP from mcp4mcp.tools.state_management import register_state_tools from mcp4mcp.tools.intelligence import register_intelligence_tools from mcp4mcp.tools.tracking import register_tracking_tools # Your MCP server mcp = FastMCP("your-server") # Add mcp4mcp intelligence register_state_tools(mcp) register_intelligence_tools(mcp) register_tracking_tools(mcp) # Your tools @mcp.tool() def your_tool(): return "Hello World" mcp.run()

📊 Development Analytics

View your development patterns:

# Get insights on your development analytics = await get_session_analytics("my_project", days=7) print(f"📈 This week:") print(f" Sessions: {analytics['total_sessions']}") print(f" Time: {analytics['total_development_time']}") print(f" Tools: {len(analytics['tools_worked_on'])}")

🗃️ Data Storage

All data stored locally in ~/.mcp4mcp/projects.db - no external dependencies.

🧪 Testing

# Run demo python main.py demo # Run tests python main.py test # FastMCP diagnostics python run_diagnostic.py

🛠️ Development

# Setup git clone https://github.com/your-org/mcp4mcp.git cd mcp4mcp pip install -e ".[dev]" # Test python -m pytest tests/ -v

📄 License

MIT License - see file.

🤝 Support


mcp4mcp - Intelligence for MCP development 🧠✨

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Meta MCP Server that provides persistent memory and intelligent guidance for MCP development projects.

  1. 🚀 Quick Start
    1. 💡 What You Get
      1. 🛠️ Core Tools
        1. 📋 Usage Examples
          1. Start Development Session
          2. Check Before Building
          3. Get AI Suggestions
          4. Auto-Discover Tools
        2. 🤖 AI-Powered MCP Development
          1. Example Prompt Usage:
        3. 🔧 Integration
          1. 📊 Development Analytics
            1. 🗃️ Data Storage
              1. 🧪 Testing
                1. 🛠️ Development
                  1. 📄 License
                    1. 🤝 Support

                      Related MCP Servers

                      • -
                        security
                        A
                        license
                        -
                        quality
                        The Metaplex MCP Server facilitates access to Metaplex documentation and repository details, enabling users to search and interact with various Metaplex resources through the MCP protocol.
                        Last updated -
                        3
                        1
                        TypeScript
                        The Unlicense
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A proxy server that unifies multiple MCP servers, enabling seamless tool, prompt, and resource management via the MetaMCP App.
                        Last updated -
                        1,489
                        119
                        TypeScript
                        Apache 2.0
                      • -
                        security
                        A
                        license
                        -
                        quality
                        Stores metadata for MCP servers and provides smart search capabilities, allowing users to find appropriate MCP servers for their queries and route requests to the most suitable server.
                        Last updated -
                        9
                        Python
                        MIT License
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A meta-MCP server that manages and aggregates other MCP servers, enabling LLMs to dynamically extend their own capabilities by searching for, adding, and configuring tool servers.
                        Last updated -
                        12
                        4
                        Python
                        AGPL 3.0
                        • Linux
                        • Apple

                      View all related MCP servers

                      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/hmatt1/mcp4mcp'

                      If you have feedback or need assistance with the MCP directory API, please join our Discord server