Skip to main content
Glama

mcp-run-python

Official
by pydantic
test_openai_instructions.yaml1.92 kB
interactions: - request: headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '170' content-type: - application/json host: - api.openai.com method: POST parsed_body: messages: - content: You are a helpful assistant. role: system - content: What is the capital of France? role: user model: gpt-4o n: 1 stream: false uri: https://api.openai.com/v1/chat/completions response: headers: access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 connection: - keep-alive content-length: - '832' content-type: - application/json openai-organization: - pydantic-28gund openai-processing-ms: - '320' openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: - chunked parsed_body: choices: - finish_reason: stop index: 0 logprobs: null message: annotations: [] content: The capital of France is Paris. refusal: null role: assistant created: 1744043456 id: chatcmpl-BJjf61mLb9z5H45ClJzbx0UWKwjo1 model: gpt-4o-2024-08-06 object: chat.completion service_tier: default system_fingerprint: fp_898ac29719 usage: completion_tokens: 8 completion_tokens_details: accepted_prediction_tokens: 0 audio_tokens: 0 reasoning_tokens: 0 rejected_prediction_tokens: 0 prompt_tokens: 24 prompt_tokens_details: audio_tokens: 0 cached_tokens: 0 total_tokens: 32 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