Skip to main content
Glama

Task Manager MCP Server

main.py624 B
from mcp.server.fastmcp import FastMCP, Context from contextlib import asynccontextmanager from collections.abc import AsyncIterator from dotenv import load_dotenv import os import asyncio from task_manager import create_mcp load_dotenv() async def main(): # Create a fresh MCP instance mcp = create_mcp() transport = os.getenv("TRANSPORT", "sse") if transport == 'sse': # Run the MCP server with sse transport await mcp.run_sse_async() else: # Run the MCP server with stdio transport await mcp.run_stdio_async() if __name__ == "__main__": asyncio.run(main())

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/tradesdontlie/task-manager-mcp'

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