Skip to content

AI & MCP

DeepSeek, GLM, Qwen and Kimi

Copy page

Use Hostino MCP with DeepSeek, GLM (Z.ai), Qwen and Kimi models

The web chats of DeepSeek, GLM (chat.z.ai), Qwen and Kimi can’t add custom MCP servers yet. The right way is to set up your model inside a coding tool (Claude Code, OpenCode, Cline, Kilo Code…) and add Hostino MCP in that tool. MCP doesn’t depend on the model: whatever model you pick there uses the Hostino tools.

DeepSeek

DeepSeek has an Anthropic-compatible API, so point Claude Code at DeepSeek and then add Hostino:

Terminal window
export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
export ANTHROPIC_AUTH_TOKEN=<DeepSeek API key>
claude mcp add --transport http --scope user hostino https://mcp.hostino.ai/mcp

Then in Claude Code type /mcp → hostino → Authenticate and sign in to Hostino. Take the model names from the DeepSeek docs. OpenCode and Cherry Studio also work with a DeepSeek key.

GLM (Z.ai)

With the GLM Coding Plan, GLM models work in Claude Code, OpenCode, Cline, Kilo Code, Crush, TRAE, Droid and more. For Claude Code, in ~/.claude/settings.json:

{
"env": {
"ANTHROPIC_AUTH_TOKEN": "<Z.ai API key>",
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
"API_TIMEOUT_MS": "3000000"
}
}

Then add Hostino: claude mcp add --transport http --scope user hostino https://mcp.hostino.ai/mcp. Take the GLM model names from the Z.ai guide. In OpenCode or Crush the Hostino config is the same.

Qwen Code

Qwen Code (Qwen’s free CLI) accepts remote servers with OAuth:

Terminal window
qwen mcp add --transport http hostino https://mcp.hostino.ai/mcp

Or in ~/.qwen/settings.json:

{
"mcpServers": {
"hostino": { "httpUrl": "https://mcp.hostino.ai/mcp", "oauth": { "enabled": true } }
}
}

The key must be httpUrl (url means SSE). Sign in from the /mcp dialog. The callback is on http://localhost:7777, so the browser must be on the same machine.

Kimi Code

Kimi Code CLI (the successor of Kimi CLI), in ~/.kimi-code/mcp.json:

{ "mcpServers": { "hostino": { "url": "https://mcp.hostino.ai/mcp" } } }

Then run /mcp-config login hostino to open the browser and sign in. If you migrated from the old Kimi CLI, sign in once more.

Without OAuth: API token

If a tool only accepts a static header, create a token in the panel → API / MCP → “API tokens” and send Authorization: Bearer hst_pat_… (details).

Next steps