# 把Cursor的请求次数限制用光光
import asyncio
import json
import logging
import os
import sys
from typing import Any, Dict, List, Optional

# 导入fastmcp模块
from mcp.server.fastmcp import FastMCP

# 创建MCP服务实例
mcp = FastMCP("Unlimited Cursor MCP")

# 工具函数
@mcp.tool("echo")
async def handle_echo(message: str) -> Dict[str, Any]:
    return {"message": message}

@mcp.tool("get_status")
async def handle_get_status() -> Dict[str, Any]:
    return {"status": "running"}

if __name__ == "__main__":
    # Initialize and run the server
    mcp.run(transport='stdio')