MCP server · Audited from source
Grok MCP server
by merterbak/grok-mcpMIT licenceAudited 8 Oct 2026 · source 2fddd3689c06
Is it safe? Yes — SAFE, grade B (89/100). It exposes 22 tools: 14 read, 5 write and 3 destructive. The audit recorded 1 finding (0 critical, 0 high, 1 medium, 0 low). Maintainer's description: MCP server for xAI’s Grok API with Web/X search, vision, image/video generation and file support
Cite
Cite this page
ModelsAtlas. “Grok MCP server (merterbak/grok-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/merterbak/grok-3
2 MCP servers are called Grok. This is the one we pick. Compare all 2 →
- merterbak/grok-mcp★ 52✓SAFE
- bob-lance/grok-mcp★ 25✓SAFE
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
1 finding, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared3 observations
- NetworkDeclared1 observation
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
merterbakUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-grok, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push4 days agoActivity of the repository when we read it.
- Source commit read2fddd3689c06The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory22 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (1)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
clear_chat_history, delete_file, delete_stateful_response
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
Tools it exposes
22 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clear_chat_history | destructive | Delete the local history file for a chat session. |
delete_file | destructive | Permanently delete an uploaded file from xAI. |
delete_stateful_response | destructive | Delete a stored chat completion from xAI |
chat | write | Send a text prompt to a Grok model and return its reply. |
code_executor | write | Solve a task by letting Grok run Python in a stateful sandbox. |
generate_image | write | Generate new images or edit existing ones with Grok Imagine. |
generate_video | write | Generate or edit videos with Grok Imagine. |
upload_file | write | Upload a local file to xAI so it can be attached to later chats. |
chat_with_files | read | Chat with Grok using one or more previously uploaded files as context. |
chat_with_vision | read | Analyze one or more images with a Grok vision model. |
extend_video | read | Extend an existing video with a follow-up prompt. |
get_chat_history | read | Return the full message history for a local chat session. |
get_file | read | Fetch metadata for a single uploaded file. |
get_file_content | read | Download the raw content of an uploaded file as text. |
grok_agent | read | All-in-one Grok agent combining files, vision, web/X search, code execution, and image generation. |
list_chat_sessions | read | List all local chat sessions stored under `chats/`. |
list_files | read | List files previously uploaded to xAI. |
list_models | read | List all Grok language and image models with live pricing from the xAI API. |
retrieve_stateful_response | read | Fetch a stored chat completion from xAI by its response ID. |
stateful_chat | read | Continue a server-side stored conversation using xAI |
web_search | read | Answer a query using agentic real-time web search. |
x_search | read | Answer a query using agentic search over X (Twitter). |
Install
audited commit 2fddd36
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 2fddd36 only.
claude mcp add mcp-grok --env XAI_API_KEY=${XAI_API_KEY} -- uvx mcp-grok{
"mcpServers": {
"mcp-grok": {
"command": "uvx",
"args": [
"mcp-grok"
],
"env": {
"XAI_API_KEY": "${XAI_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit 2fddd3689c06. Transport: stdio. Reads this environment variable: XAI_API_KEY. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
2fddd3689c06
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/merterbak/grok-3/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Grok MCP server
What is the Grok MCP server?
What tools does Grok expose?
Is Grok safe to connect to an agent?
What credentials does Grok need?
How does Grok run?
How current is this page?
Which Grok MCP server is the right one?
Sources
- merterbak/grok-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 2fddd3689c06Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Grok MCP server?
- What tools does Grok expose?
- Is Grok safe to connect to an agent?