安装
Environment
To use xAI, you’ll need to create an API key. The API key can be passed in as an init paramxai_api_key or set as environment variable XAI_API_KEY.
示例
See ChatXAI docs for detail and supported features.将这些文档连接 到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

