MCPcopy Create free account
hub / github.com/FastLED/FastLED / main

Function main

mcp_server.py:2885–2896  ·  view source on GitHub ↗

Main entry point for the MCP server.

()

Source from the content-addressed store, hash-verified

2883
2884
2885async def main():
2886 """Main entry point for the MCP server."""
2887 try:
2888 async with stdio_server() as (read_stream, write_stream):
2889 await server.run(
2890 read_stream, write_stream, server.create_initialization_options()
2891 )
2892 except Exception as e:
2893 print(f"Error running MCP server: {e}")
2894 print("Make sure the MCP library is properly installed.")
2895 print("Try: pip install mcp")
2896 sys.exit(1)
2897
2898
2899if __name__ == "__main__":

Callers 1

mcp_server.pyFile · 0.70

Calls 2

printFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected