Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| APP_NAME | No | Application name | Writer MCP |
| CHAT_MODEL | No | OpenAI chat model to use | gpt-4o-mini |
| DEBUG_MODE | No | Enable debug mode | true |
| DATABASE_URL | Yes | PostgreSQL database connection URL | |
| OPENAI_API_KEY | Yes | Your OpenAI API key | |
| EMBEDDING_MODEL | No | OpenAI embedding model to use | text-embedding-3-small |
| MCP_SERVER_NAME | No | MCP server name | writer-mcp |
| OPENAI_BASE_URL | No | OpenAI API base URL | https://api.openai.com/v1 |
| MAX_SEARCH_LIMIT | No | Maximum limit for search results | 100 |
| VECTOR_DIMENSION | No | Vector embedding dimension | 1536 |
| TEST_DATABASE_URL | No | PostgreSQL test database connection URL | |
| MCP_SERVER_VERSION | No | MCP server version | 1.0.0 |
| DEFAULT_SEARCH_LIMIT | No | Default limit for search results | 10 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |