Skip to main content
Glama
nictuku

Python MCP Server Template

by nictuku

get_ping

Send a test message to verify connectivity and communication with the Python MCP Server Template, ensuring integration readiness for applications like Claude Desktop or Cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes

Implementation Reference

  • mcp_server.py:7-7 (registration)
    The @mcp.tool() decorator registers the 'get_ping' tool with the FastMCP server.
    @mcp.tool()
  • The handler function for the 'get_ping' tool. It accepts a string message and always returns the string 'pong'.
    async def get_ping(message: str) -> str: return "pong"

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nictuku/py-mcp-server-template'

If you have feedback or need assistance with the MCP directory API, please join our Discord server