Skip to main content
Glama

mcp-run-python

Official
by pydantic
test_iter_in_flow.yaml5.38 kB
interactions: - request: headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '144' content-type: - application/json cookie: - __cf_bm=EGlv.LzYbJ3w9GCuZFkTZc6oq0QWEOM0NG7aMJPGjvk-1759436802-1.0.1.1-6oxojh3oohGyLcgU4JW0tlAp58gjOtU_gxXDExM6TYMtkY__jPait0ymNkQmMfL4if.C.4i5xBwDmMoWScw7U9pDwoE_d_f999NvYqOWu0k; _cfuvid=X9yhA1__xIYNmD8jrktglFeG98OLAwcfPSs_ukpzW4c-1759436802603-0.0.1.1-604800000 host: - api.openai.com method: POST parsed_body: messages: - content: What is the capital of Mexico? role: user model: gpt-4o stream: true stream_options: include_usage: true uri: https://api.openai.com/v1/chat/completions response: body: string: |+ data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rNVhS0YEF3q2M2"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"xA1TnUUUG9iFS"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" capital"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uMvPF63K"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ftODC66QGq8So"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Mexico"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AcPtxTwbZ"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"4Kx3yz6cHAVF0"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" Mexico"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zZ1vm14aK"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" City"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"AGScWvTtfzM"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"V7K30EkmDuaikiT"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"6cn7HTeDSf"} data: {"id":"chatcmpl-CMKBAwIeVPhQ8BzhAgq2hye6j3ewH","object":"chat.completion.chunk","created":1759436820,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":14,"completion_tokens":8,"total_tokens":22,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":""} data: [DONE] headers: access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 connection: - keep-alive content-type: - text/event-stream; charset=utf-8 openai-organization: - user-xgcwoiiqpw3hpu7oxktn2g9g openai-processing-ms: - '250' openai-project: - proj_nKlzMl1B51a3SCL1Rndf7JTx openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: - chunked status: code: 200 message: OK version: 1 ...

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