Original title: How to get the MCPO Proxy command working correctly

Just trying to setup a basic MCP Server and put it behind MCPO proxy. This MCP server copied from: https://github.com/modelcontextprotocol/python-sdk/tree/main """ FastMCP quickstart example.

cd to the examples/snippets/clients directory and run: uv run server fastmcp_quickstart stdio """

from mcp.server.fastmcp import FastMCP

Create an MCP server

mcp = FastMCP(“Demo”)

Add an addition tool

@mcp.tool() def add(a: int, b: int) -> int: “““Add two numbers””” return a + b

Add a dynamic greeting resource

@mcp.resource(“greeting://{name}”) def get_greeting(name: str) -> str: “““Get a personalized greeting””” return f"Hello, {name}!"

Add a prompt

@mcp.prompt() def greet_user(name: str, style: str = “friendly”) -> str: “““Generate a greeting prompt””” styles = { “friendly”: “Please write a warm, friendly greeting”, “formal”: “Please write a formal, professional greeting”, “casual”: “Please write a casual, relaxed greeting”,

Read the original question here