Skip to main content
Glama
run_server.py610 B
#!/usr/bin/env python3 """Startup script for the Imagen MCP Server.""" from pathlib import Path import sys SERVER_DIR = Path(__file__).resolve().parent REPO_ROOT = SERVER_DIR.parents[2] for search_path in (SERVER_DIR, REPO_ROOT): if str(search_path) not in sys.path: sys.path.insert(0, str(search_path)) from mcp_server.server import mcp # pylint: disable=wrong-import-position def main(): """Run the MCP server via stdio.""" mcp.run(show_banner=False, log_level="WARNING") if __name__ == "__main__": # Run with stdio transport (default for MCP) without banner noise 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/vipincr/imagen-mcp'

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