Skip to main content
Glama

Excel MCP Server

by alexhuangc
__main__.py1.19 kB
import typer from .server import run_sse, run_stdio, run_streamable_http app = typer.Typer(help="Excel MCP Server") @app.command() def sse(): """Start Excel MCP Server in SSE mode""" try: run_sse() except KeyboardInterrupt: print("\nShutting down server...") except Exception as e: print(f"\nError: {e}") import traceback traceback.print_exc() finally: print("Service stopped.") @app.command() def streamable_http(): """Start Excel MCP Server in streamable HTTP mode""" try: run_streamable_http() except KeyboardInterrupt: print("\nShutting down server...") except Exception as e: print(f"\nError: {e}") import traceback traceback.print_exc() finally: print("Service stopped.") @app.command() def stdio(): """Start Excel MCP Server in stdio mode""" try: run_stdio() except KeyboardInterrupt: print("\nShutting down server...") except Exception as e: print(f"\nError: {e}") import traceback traceback.print_exc() finally: print("Service stopped.") if __name__ == "__main__": app()

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/alexhuangc/excel-mcp-server'

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