hoops_ai.mcp_server
Model Context Protocol (MCP) server for HOOPS_AI library.
This module provides a server that helps LLMs like GitHub Copilot understand how to use the HOOPS_AI library by providing code examples and contextual information.
- class hoops_ai.mcp_server.MCPServer(host='localhost', port=18888)
Bases:
objectModel Context Protocol server for HOOPS_AI library.
- start(blocking=False)
Start the MCP server.
- Parameters:
blocking – If True, this call blocks until the server is stopped
- stop()
Stop the MCP server.
- hoops_ai.mcp_server.start_server(host='localhost', port=18888, blocking=True)
Start the MCP server.
This is a convenience function for starting the server.
- Parameters:
host – Host address to bind the server
port – Port to bind the server
blocking – If True, this call blocks until the server is stopped
- Returns:
The server instance if non-blocking, otherwise this function does not return
Modules
Command-line interface for starting the HOOPS_AI MCP server. |
|
Example code collection for the HOOPS_AI MCP server. |
|
Model Context Protocol (MCP) server for HOOPS_AI library. |