Skip to main content
Glama
agaonker

MCP Server with OpenAI-Compatible Model Support

by agaonker

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_MODELNoModel identifier for generate_text tool.gpt-4o-mini
MCP_HTTP_HOSTNoHost for HTTP transport.127.0.0.1
MCP_HTTP_PORTNoPort for HTTP transport.3000
MCP_TRANSPORTNoTransport mode: stdio, http, or both.stdio
OPENAI_API_KEYNoAPI key for OpenAI-compatible provider (required for generate_text tool).
OPENAI_BASE_URLNoBase URL for OpenAI-compatible API.https://api.openai.com/v1

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
server_healthC

Checks whether the MCP server and provider configuration are ready.

generate_textC

Generate text using the configured OpenAI-compatible model.

list_modelsB

Returns the currently configured model metadata for the MCP server.

echoA

Returns the provided message back. Useful for testing the connection.

list_directoryB

Lists the files and folders at a path on the machine running this server.

read_fileB

Reads and returns the text contents of a file on the machine running this server.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/agaonker/mcp-apps'

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