MCP Server with OpenAI-Compatible Model Support
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_MODEL | No | Model identifier for generate_text tool. | gpt-4o-mini |
| MCP_HTTP_HOST | No | Host for HTTP transport. | 127.0.0.1 |
| MCP_HTTP_PORT | No | Port for HTTP transport. | 3000 |
| MCP_TRANSPORT | No | Transport mode: stdio, http, or both. | stdio |
| OPENAI_API_KEY | No | API key for OpenAI-compatible provider (required for generate_text tool). | |
| OPENAI_BASE_URL | No | Base URL for OpenAI-compatible API. | https://api.openai.com/v1 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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