Skip to main content
Glama
bee4come

Plan-MCP

by bee4come
__main__.py1 kB
#!/usr/bin/env python3 """Main entry point for plan-mcp package.""" import os import sys from pathlib import Path def main(): """Main entry point for the plan-mcp CLI.""" # Setup environment - load .env if available script_dir = Path(__file__).parent.parent.resolve() env_file = script_dir / '.env' if env_file.exists(): with open(env_file, 'r') as f: for line in f: line = line.strip() if line and not line.startswith('#') and '=' in line: key, value = line.split('=', 1) value = value.strip().strip('"').strip("'") os.environ[key] = value try: # Import FastMCP server from .fastmcp_server import mcp mcp.run() except KeyboardInterrupt: sys.stderr.write("Server interrupted\n") except Exception as e: sys.stderr.write(f"Server failed to start: {e}\n") sys.exit(1) if __name__ == "__main__": main()

Latest Blog Posts

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/bee4come/plan-mcp'

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