Skip to main content
Glama

mcp-run-python

Official
by pydantic
test_utils.py310 B
from threading import Thread from pydantic_graph._utils import get_event_loop def test_get_event_loop_in_thread(): def get_and_close_event_loop(): event_loop = get_event_loop() event_loop.close() thread = Thread(target=get_and_close_event_loop) thread.start() thread.join()

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/pydantic/pydantic-ai'

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