We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zkyko/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
utils_test_deepseek.py•422 B
from openai import OpenAI
import os
from dotenv import load_dotenv
load_dotenv()
client = OpenAI(
api_key=os.getenv("DeepSeek_api_key"),
base_url=os.getenv("DeepSeek_api_base")
)
response = client.models.list()
print([model.id for model in response.data])
# This code lists all available models from the DeepSeek API using the OpenAI client.
# Ensure that the .env file contains the correct API key and base URL.