tasklert-api / src /mcp /__main__.py
hashir-qt's picture
initial deploy
507973e
Raw History Blame Contribute Delete
414 Bytes
"""Entry point for ``python -m src.mcp`` — starts the MCP server in stdio mode."""
import asyncio
from mcp.server.stdio import stdio_server
from .server import server
async def main():
async with stdio_server() as (read_stream, write_stream):
await server.run(
read_stream,
write_stream,
server.create_initialization_options(),
)
asyncio.run(main())