Skip to main content
Glama
nictuku

Python MCP Server Template

by nictuku

get_ping

Tests connectivity by sending a ping message to verify server responsiveness and network communication status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes

Implementation Reference

  • The main handler function for the 'get_ping' MCP tool. It takes a string message as input and simply returns the string 'pong'. Decorated with @mcp.tool() for registration.
    @mcp.tool() async def get_ping(message: str) -> str: return "pong"

Other 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