Skip to main content
Glama

Tavily Search MCP Server

by mwalker-tmd
test_server.py423 B
from fastmcp import Client async def main(): # Connect via stdio to a local script async with Client("server.py") as client: tools = await client.list_tools() print(f"Available tools: {tools}") result = await client.call_tool("web_search", {"query": "What is the capital of France?"}) print(f"Result: {result}") if __name__ == "__main__": import asyncio asyncio.run(main())

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/mwalker-tmd/MCP-Session-Code'

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