Skip to main content
Glama

LiveKit RAG Assistant

by THENABILMAN
minimal_client.py•877 B
""" Minimal MCP Client for testing """ import asyncio import sys import os from mcp.client.stdio import stdio_client, StdioServerParameters from mcp.client.session import ClientSession async def test(): """Test the minimal server.""" print("Testing minimal MCP server...") server_params = StdioServerParameters( command=sys.executable, args=[os.path.join(os.path.dirname(__file__), "minimal_server.py")] ) async with stdio_client(server_params) as (read, write): print("āœ… Connected!") async with ClientSession(read, write) as session: print("\nšŸ” Calling echo tool...") response = await session.call_tool( name="echo" ) print(f"āœ… Response: {response.content[0].text}") if __name__ == "__main__": asyncio.run(test())

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/THENABILMAN/THENABILMAN_LiveKit_MCP_Assistant'

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