Skip to main content
Glama

MCP Python Server — API Wrapper

by cdryampi
test_profile.py412 B
#!/usr/bin/env python # test_profile.py import asyncio from server import get_profile, mcp async def main(): try: print("Fetching user profile...") profile = await get_profile() print("Profile retrieved successfully:") print(profile) except Exception as e: print(f"Error fetching profile: {e}") if __name__ == "__main__": 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/cdryampi/MCP'

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