Grok MCP
未认领MCP server for xAI’s Grok API with Web/X search, vision, image/video generation and file support
安装
claude mcp add grok-mcp -e XAI_API_KEY=your_api_key_here -- uv run --directory /path/to/Grok-MCP python main.py更多Search & Web服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
22 个工具中显示 22 个
文档中列出的工具 (22)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
chat
standard chat completion with optional persistent history and multi-agent support.
chat_with_files
chat grounded on previously uploaded documents.
chat_with_vision
analyze local or remote images with a Grok vision model.
clear_chat_history
delete a session's local history file.
code_executor
solve tasks by running Python in a sandbox.
delete_file
delete a file by ID.
delete_stateful_response
delete a stored response by ID.
extend_video
extend an existing generated video with a follow-up prompt.
generate_image
create or edit images with Grok Imagine (multi-reference editing supported).
generate_video
text-to-video, image-to-video, or video editing with Grok Imagine.
get_chat_history
get a session's full transcript.
get_file
fetch file metadata by ID.
get_file_content
download file content as text.
grok_agent
unified agent that mixes files, images, web search, X search, and code execution.
list_chat_sessions
list saved sessions in chats/.
list_files
list uploaded files with sorting.
list_models
list all Grok language and image models with live pricing.
retrieve_stateful_response
fetch a stored response by ID.
stateful_chat
continue a server-side stored conversation via responseid.
upload_file
upload a local document.
web_search
autonomous web research with domain filters and citations.
x_search
autonomous search over X (Twitter) posts, with handle and date filters.