Skip to main content
Glama
client.py•351 B
from fastmcp import Client import asyncio async def main(): async with Client("http://localhost:8000/mcp") as client: tools = await client.list_tools() print(tools) result = await client.call_tool("send_telegram_message", {"text": "Hello, World!"}) print(result) if __name__ == "__main__": asyncio.run(main())

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/SmartManoj/Telegram-Bot-MCP'

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