Is Ref Tools MCP server safe?
What Ref Tools MCP server does
Ref MCP gives an AI coding tool access to documentation for APIs, services and libraries through two tools: ref_search_documentation, and ref_read_url, which fetches a URL and converts it to Markdown. It is published in the ref-tools/ref-tools-mcp repository and can be used as a remote server at api.ref.tools or run locally with npx. It sends search queries and URLs to the Ref service and needs an API key (REF_API_KEY). Before installing, prefer the local setup with the key in an environment variable over the remote URL form that carries apiKey in the query string.
- MCP server launches a host command
- Node.js network egress
- MCP tool surface detected
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
Ref Tools MCP server is an MCP server analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: mcp tools detected and network egress — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
ref-tools-mcp 3.0.3
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Ref Tools MCP server's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (3)
An MCP server entry launches a command on your host.
"type": "node",
Why it matters: Trusting the manifest means running that binary — verify what it is and where it comes from.
Fix: Verify the launched command and its source before trusting this MCP server configuration.
The component makes outbound network requests.
import axios from 'axios'
import { createServer } from 'http'const response = await axios.get(url, {if (axios.isAxiosError(error) && error.response?.status === 401) {text: `Error during documentation search: ${axios.isAxiosError(error) ? error.message : (error as Error).message}`,const response = await axios.get(readUrl, {if (axios.isAxiosError(error) && error.response?.status === 401) {text: `Error reading URL: ${axios.isAxiosError(error) ? error.message : (error as Error).message}`,Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
An MCP tool surface (manifest or tool definitions) was found.
"type": "node",
const server = new Server(
server.setRequestHandler(ListToolsRequestSchema, async () => ({server.setRequestHandler(CallToolRequestSchema, async (request) => {transport = new StreamableHTTPServerTransport({const transport = new StdioServerTransport()
Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in Ref Tools MCP server.
Maintain Ref Tools MCP server?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →