Stats
Actions
Tags
From mechanist
Local MCP server that connects to external LLM APIs (OpenAI-compatible) for chat completions and model fallback. Requires an API key and base URL.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"llm-chat": {
"command": "uv",
"args": [
"run",
"--with-requirements",
"${CLAUDE_PLUGIN_ROOT}/mcp-servers/llm-chat/requirements.txt",
"${CLAUDE_PLUGIN_ROOT}/mcp-servers/llm-chat/server.py"
],
"env": {
"LLM_MODEL": "${LLM_MODEL:-gpt-5.4}",
"LLM_API_KEY": "${LLM_API_KEY:-}",
"LLM_BASE_URL": "${LLM_BASE_URL:-https://api.openai.com/v1}",
"LLM_FALLBACK_MODEL": "${LLM_FALLBACK_MODEL:-gpt-5.4}"
}
}
}
}Replace placeholder values for: LLM_API_KEY
Review these signals before enabling this server
This MCP server needs API keys or credentials. Configure them in your environment before use.
This server has elevated permissions. Review the source code before enabling.
Server configuration and connection parameters
uvCommand-line arguments passed to the server process
Environment variables set when the server starts
LLM_MODEL=${LLM_MODEL:-gpt-5.4}LLM_API_KEY=${LLM_API_KEY:-}LLM_BASE_URL=${LLM_BASE_URL:-https://api.openai.com/v1}LLM_FALLBACK_MODEL=${LLM_FALLBACK_MODEL:-gpt-5.4}Sensitive values you must provide — never committed to source control
npx claudepluginhub zjunlp/mechanist --plugin mechanist