# gpt-chat MCP server

> Enables AI clients to interact with OpenAI's API for chat completions, vision analysis, text embeddings, and model discovery.

- Repository: https://github.com/codeChap/mcp-server-gpt-chat
- Page: https://hostedmcp.org/servers/codechap/mcp-server-gpt-chat
- Transport: —
- Stars: 0
- Latest version: 0.1.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `RUST_LOG` | no | no |  |

## Tools (14)

- `chat`
- `chat_with_vision`
- `embedding`
- `list_models`
- `prompt`
- `model`
- `system_prompt`
- `messages`
- `temperature`
- `max_tokens`
- `response_schema`
- `image_url`
- `detail`
- `input`

## FAQ

### What tools does this server provide?

The server provides tools for chat completions, vision analysis, generating text embeddings, and listing available OpenAI models.

### How do I configure my OpenAI API key?

You need to create a config.toml file in ~/.config/mcp-server-gpt-chat/ and add your API key there.

### Can I use structured output with the chat tool?

Yes, the chat tool supports enforcing structured output using a JSON schema string.
