zephex
⌘K
Get StartedPricingMCP ToolsDocs
←Back×Sign in
Get StartedPricingMCP ToolsDocs

Documentation

Start with the endpoint and API key flow, then branch into editor setup or tool reference.

GET STARTED

What is MCP?IntroductionQuickstartAPI ReferenceUniversal RequirementsZephex vs Local MCPBest PracticesToken EfficiencyCLAUDE.md TemplateAGENTS.md TemplateMCP EcosystemMarkdown Access

EDITORS

OpenCodeOAuthVS CodeClaude CodeCursorWindsurfJetBrainsKiro CLIOAuthZedOAuthGemini CLIOAuthClineOAuthGooseCodex CLIOAuthFactory AIOAuth

OPERATING SYSTEMS

macOSWindowsLinux

TOOLS

get_project_contextread_codefind_codecheck_packageaudit_packageexplain_architectureZephex_dev_infoscope_taskaudit_headersthinking

SUPPORT

PlansPro & Max GuideUsage & AnalyticsConnection IssuesRate LimitsBillingSecurityFAQChangelog

read_code

Reads the exact code you need from one file instead of dumping the whole file into context.

DESCRIPTION

Use read_code when you already know the file you care about and need the real implementation of one or more symbols. It is the narrowest code-reading tool in the set.

WHEN TO USE

GOOD FIT

  • After scope_task or find_code has identified the right file.
  • When you need the exact implementation of a function, class, type, or exported symbol.
  • Before changing a function signature and you want tight context instead of the whole file.

AVOID IT WHEN

  • You do not know which file matters yet; start with scope_task or find_code.
  • You want repo-wide search results; use find_code.
  • You need a high-level architecture view; use explain_architecture.
PARAMETERS
NameTypeRequiredDescription
pathstringYesAbsolute path to the file you want to inspect.
symbolsstring[]NoSpecific function, class, or type names to extract. Omit to read the important exports.
DETAILS

PATH PARAMETER

About the path parameter

Pass the absolute path to a specific file, not just the repo root. If you are working on a remote machine, use the path on that machine. If the file does not exist or is outside the accessible project tree, the tool returns a direct error. This tool reads code from the file path you provide; it does not pull source files from private GitHub URLs.

PRECISION

Why this is cheaper than opening the whole file

Large service files often contain many helpers that are irrelevant to your change. read_code narrows the response to the symbols you asked for, which keeps both the code and the caller context much tighter than pasting an entire 500-line file into a chat.

EXAMPLE
tools-call.json
{  "jsonrpc": "2.0",  "id": 2,  "method": "tools/call",  "params": {    "name": "read_code",    "arguments": {      "path": "/Users/name/projects/zephex/dashboard/src/lib/auth.ts",      "symbols": ["validateApiKey"]    }  }}
OUTPUT
response.txt
Symbol: validateApiKeySignature: validateApiKey(apiKey: string)Imports: crypto, Supabase admin clientBehavior: hashes the candidate key, checks revocation, expiry, and tierRelevant callers: dashboard/src/app/api/mcp/route.ts, dashboard/src/app/api/user/tool-preferences/route.ts

TOKEN EFFICIENCY

A focused symbol extraction is usually around 300 to 900 tokens. Reading the entire file plus neighboring callers is often 1,500 to 8,000 tokens, so this tool typically keeps the cost to about 10 to 35 percent of a manual read.