I user python developed a image gen mcp server with fastmcp.
It can work this below config:
name: image-gen-server
type: command
command:uv run --with fastmcp fastmcp run D:\code\image-moudle\server.py
It will appear a black terminal windows when and it to cursor mcp server or refresh this tools. but it works well. and will not work if i close the terminal .
thx you. I dont want it appear a new black terminal.
If I run the command within Cursor terminal. it does not work. Cursor cant font the tools in MCP Server list .
The black terminal window is actually needed since it’s running the UV process for your MCP server. We may be able to resolve this somehow, but this is more of a Windows thing, than a Cursor thing.
Your current setup with the black terminal window is actually the right way to do it. If you really want to avoid the window, you could look into running it as a Windows service instead, but that’s probably more complex than needed