Rework
This commit is contained in:
parent
ce5abcc217
commit
cfe4a641a6
40 changed files with 1728 additions and 1445 deletions
19
src/geoguessr_mcp/main.py
Normal file
19
src/geoguessr_mcp/main.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"""Main entry point for the Geoguessr MCP Server."""
|
||||
|
||||
from mcp.server.fastmcp import FastMCP
|
||||
|
||||
from .config import settings
|
||||
from .tools import register_all_tools
|
||||
|
||||
mcp = FastMCP(
|
||||
"Geoguessr Analyzer",
|
||||
instructions="MCP server for analyzing Geoguessr game statistics",
|
||||
host=settings.HOST,
|
||||
port=settings.PORT,
|
||||
)
|
||||
|
||||
# Register all tools
|
||||
register_all_tools(mcp)
|
||||
|
||||
if __name__ == "__main__":
|
||||
mcp.run(transport=settings.TRANSPORT)
|
||||
Loading…
Add table
Add a link
Reference in a new issue