Z.ai2api exposes Z.ai Chat as an OpenAI/Anthropic-compatible API. It supports multi-model mapping, token-free operations, smart thought chain processing, and image uploads. It connects to Z.ai's systems and integrates with OpenAI/Anthropic-compatible clients. Developers use it to integrate Z.ai Chat into applications requiring OpenAI/Anthropic API compatibility.
Z.ai2api exposes Z.ai Chat as an OpenAI/Anthropic-compatible API. It supports multi-model mapping, token-free operations, smart thought chain processing, and image uploads. It connects to Z.ai's systems and integrates with OpenAI/Anthropic-compatible clients. Developers use it to integrate Z.ai Chat into applications requiring OpenAI/Anthropic API compatibility.
pip install Z.ai2apiAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"hmjz100-zai2api-github": {
"command": "uvx",
"args": [
"pip install Z.ai2api"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from Z.ai2api?"
API Key Required
This server requires an API key from Z.ai2api. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| Z.AI2API_API_KEY | Yes | Your Z.ai2api API key |
"What resources are available in Z.ai2api?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in Z.ai2api"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in Z.ai2api with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.