[Python] not able to call FastMCP server using http or sse protocol

Discussão em 'Python' iniciado por Stack, Julho 11, 2025.

  1. Stack

    Stack Membro Participativo

    I am using FastMCP (pip install fastmcp) in my python where I have three tools. Read_KB, Summarize and Translate. I used mcp.run(transport="http", port=8000). Its showing up on http://127.0.0.1:8000/mcp.

    I am trying to use MCP server through my LLM as prompt likr read_kb then summarize it. I used response =request.post(url,headers=headers,json=payload). print(response.text or response.json() both giving erroe that input_type is missing). even my all tools functions are parameter less.

    Need assistance here what I am doing wrong.

    Thanks, Ranjan

    Continue reading...

Compartilhe esta Página