Skip to main content
Glama

AnyDocs MCP Server

by funky1688
__main__.pyโ€ข747 B
#!/usr/bin/env python3 """ Entry point for running AnyDocs MCP server as a module. This allows the server to be run with: - python -m anydocs_mcp - uvx anydocs-mcp-server - pipx run anydocs-mcp-server """ import sys import asyncio from pathlib import Path # Add the main module to the path for relative imports sys.path.insert(0, str(Path(__file__).parent.parent)) from anydocs_mcp.server import main if __name__ == "__main__": try: config_path = sys.argv[1] if len(sys.argv) > 1 else None asyncio.run(main(config_path)) except KeyboardInterrupt: print("\nServer stopped by user", file=sys.stderr) sys.exit(0) except Exception as e: print(f"Error: {e}", file=sys.stderr) sys.exit(1)

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/funky1688/AnyDocs-MCP'

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