Cursor does not support MCP logging

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor does show progress but not logging messages.

Steps to Reproduce

from fastmcp import Context
from fastmcp import FastMCP
import asyncio

mcp = FastMCP("MCP server")
@mcp.tool()
async def long_running_task(ctx: Context) -> str:
    """Execute a long-running task with logging.
    
    Args:
        ctx: MCP context
    """
    await ctx.info("Starting task...")
    
    total = 5
    for i in range(total):
        await ctx.debug(f"Processing step {i+1}/{total}")
        await ctx.report_progress(progress=i, total=total)
        await asyncio.sleep(1)
    
    await ctx.info("Task completed successfully")
    return "Task finished"
mcp.run(transport="http", port=8999)

Expected Behavior

The tool call blob should show log messages along with progress.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.17
VSCode Version: 1.99.3
Commit: 34881053400013f38e2354f1479c88c9067039a0
Date: 2025-09-29T03:10:26.099Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-32-generic

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.