Skip to main content
Glama
alias_test.py626 B
#!/usr/bin/env python3 import os, sys, asyncio sys.path.insert(0, '.') os.environ.setdefault('STREAM_PROGRESS','true') os.environ.setdefault('AUGGIE_CLI','true') os.environ.setdefault('LOG_LEVEL','INFO') os.environ.setdefault('LOG_FORMAT','plain') import server async def main(): args = {"step":"Alias test","step_number":1,"total_steps":1,"next_step_required":False,"findings":"demo"} res = await server.handle_call_tool('planner_exai', args) print('OK: returned', len(res), 'items') for item in res: print(getattr(item,'text',str(item))[:300]) 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/Zazzles2908/EX_AI-mcp-server'

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