Coding Tools and MCP
SilentAPI models, the Web Engine, and the SilentAPI MCP inside your coding tools
SilentAPI setup adds three things to the coding tools on your computer. It adds the SilentAPI chat models, the SilentAPI Web Engine MCP server with web_search, web_extract, and web_map, and the SilentAPI MCP server, which checks your credit balance and creates images, video, and speech. You pick what each tool gets. All of it uses your API keys from the [ Keys ] page, and current prices are on the [ Services ] page.
Install
Run one command in a terminal. Setup downloads a small program, checks it against its published checksum, and opens a wizard. Setup is experimental, so check the changes it lists before you confirm them.
Windows, in PowerShell:
irm https://silentapi.com/install.ps1 | iex
macOS and Linux, including WSL:
curl -fsSL https://silentapi.com/install.sh | sh
The wizard has five steps, shown on the left of the screen:
- Tools: each tool has a Models box and a Web MCP box. Move with the arrow keys, switch boxes with left and right, and press Space to toggle. Tools found on your computer are shown in white.
- Extras: keep model lists up to date, and add the SilentAPI MCP.
- API keys: one key for models and one for the Web Engine, or the same key for both. A key is shown as
sk-sapi-, its first four characters, stars, and its last four characters. Continue lights up once the keys look complete. - Review: every file that setup will change.
- Install: setup writes the files and shows the result for each tool.
You can also download the setup program for your system from the [ Code ] page and compare it with SHA256SUMS.txt before you run it.
To download setup over Tor or I2P, set SILENTAPI_SITE to the SilentAPI onion or I2P address and send the requests through your Tor or I2P proxy, for example with torsocks. The script accepts plain HTTP only for .onion and .i2p addresses and still checks the checksum.
Supported tools
| Tool | Setup adds | Official install |
|---|---|---|
| Antigravity | MCP servers | antigravity.google |
| Claude Code | Models and MCP servers | code.claude.com |
| Cline CLI | Models and MCP servers | docs.cline.bot |
| Cline for VS Code | MCP servers, models by hand, see [ Cline for VS Code ] | VS Code Marketplace |
| Codex | Models and MCP servers | learn.chatgpt.com |
| Crush | Models and MCP servers | github.com/charmbracelet/crush |
| Cursor | MCP servers, see [ Cursor ] | cursor.com |
| Devin Desktop | MCP servers, see [ MCP only tools ] | docs.devin.ai |
| GitHub Copilot | MCP servers, for the Copilot CLI and VS Code, models by hand, see [ GitHub Copilot ] | code.visualstudio.com |
| Hermes Agent | Models and MCP servers | hermes-agent.nousresearch.com |
| Kimi Code | Models and MCP servers | moonshotai.github.io/kimi-code |
| OpenClaw | Models and MCP servers | docs.openclaw.ai |
| OpenCode | Models and MCP servers | opencode.ai |
| Pi | Models and MCP servers | pi.dev |
| Qwen Code | Models and MCP servers | github.com/QwenLM/qwen-code |
Install tools only from the official sites above. Some tools have look-alike sites and packages with similar names. OpenCode, for example, is at opencode.ai, and opencode.com belongs to a different company.
Setup adds chat models only, which are the text and multimodal models that answer with text. Restart a tool after setup so that it reads the new settings.
Prices, context, and reasoning
Setup writes each model's context size and output limit into every tool that has a field for them. It also writes prices and reasoning levels where the tool supports them:
| Tool | Shows prices | Reasoning levels |
|---|---|---|
| OpenCode | Yes, input, output, and cache prices | Reasoning on or off |
| OpenClaw and Pi | Yes, input, output, and cache prices | Reasoning on or off |
| Crush | Yes, input, output, and cache prices | Yes, with the default level |
| Kimi Code | No price field | Yes, with the default level |
| Other tools | No price field | Set in the tool |
Prices are in US dollars per million tokens, the same as the pricing field of GET /v1/models. A tool without a price field cannot show costs, and some show $0.00. The real cost of each request is always in the X-SilentAPI-Cost header and on the [ Activity ] page.
Automatic model updates
When Keep model lists up to date is on, new SilentAPI models appear in your tools without running setup again:
- Claude Code, Crush, and Hermes Agent read the model list from SilentAPI each time they start, so setup turns that on and adds no task.
- For every other tool, setup adds one small daily task that runs
silentapi-setup --update --scheduled-update. On Windows it is the Task Scheduler task SilentAPI Model Refresh, on Linux it is one line in your crontab, and on macOS it is the LaunchAgentcom.silentapi.model-refresh. The task uses a copy of setup in your user config folder, undersilentapi/bin. - The task only refreshes model lists. It never changes your keys, MCP servers, or other settings.
To turn it off, run setup again and turn off Keep model lists up to date, or remove SilentAPI from the tools. Setup then deletes the task and the copy of the program.
Options
Add options after sh -s -- on macOS and Linux, for example curl -fsSL https://silentapi.com/install.sh | sh -s -- --list. On Windows, save install.ps1 and run it with the options.
| Option | Behavior |
|---|---|
--list | Lists the supported tools and shows which ones were found. |
--yes --tools detected | Sets up every tool found, without the wizard. Takes the keys from SILENTAPI_KEY and SILENTAPI_WEB_KEY. |
--yes --tools codex,opencode | Sets up the listed tools, without the wizard. |
--update | Gets the current model list and updates the configured tools. |
--remove --yes --tools <ids> | Removes SilentAPI from the listed tools and keeps all other settings. |
Tool IDs are antigravity, claude-code, cline, cline-vscode, codex, copilot, crush, cursor, devin, hermes, kimi, openclaw, opencode, pi, and qwen.
What setup changes
- Keys are written into the config file of each tool, because desktop apps do not always read environment variables. Only your user account can read these files.
- Before each change, setup saves a copy of the file next to it, named
<name>.silentapi-backup-<time>. - Setup changes only SilentAPI entries. Your other providers, servers, and settings stay as they are.
- Setup adds a daily task only when Keep model lists up to date is on and a chosen tool cannot refresh models by itself.
MCP servers
Any tool that supports remote MCP servers over HTTP can use both SilentAPI MCP servers. The SilentAPI Web Engine has only the three web tools, for tools that just need web search. The SilentAPI MCP has the same web tools plus every service tool. Send your key as a Bearer token or in the x-api-key header.
| Server | URL |
|---|---|
| SilentAPI Web Engine | https://api.silentapi.com/v1/mcp |
| SilentAPI MCP | https://api.silentapi.com/v1/mcp/silentapi |
Both use Streamable HTTP. Each request is a single POST with a JSON-RPC body, and no session is kept. Most tools accept a block like this one in their MCP settings file:
{
"mcpServers": {
"silentapi": {
"type": "http",
"url": "https://api.silentapi.com/v1/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
},
"silentapi-services": {
"type": "http",
"url": "https://api.silentapi.com/v1/mcp/silentapi",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Cline, Roo Code, and Kilo Code need the transport set to Streamable HTTP. Without it they try an older transport.
Web Engine tools
| Tool | Behavior |
|---|---|
web_search | Searches the web. Takes query, and optionally max_results from 1 to 30, topic as web, news, images, videos, dark, tor, or i2p, freshness, lang, country, region, safe, include_domains, and exclude_domains. |
web_extract | Reads a page or PDF as Markdown or text. Takes url, and optionally format, max_chars from 500 to 400000, links, lang, and region. |
web_map | Lists the pages of a website. Takes url, and optionally max_urls from 1 to 1000, search, include_subdomains, and region. |
All three tools also take tier, cache, block_threats, block_ads, and filter, which work as described in [ Web Engine ]. Each call is billed at the same price as the matching endpoint. Results carry a note that page text is data, so agents do not follow instructions found on a page.
SilentAPI MCP tools
| Tool | Behavior |
|---|---|
web_search, web_extract, web_map | The same tools as the [ Web Engine ] server. |
get_balance | Returns your credit balance. Free. |
list_models | Lists models with type, context size, prices, privacy label, and reasoning levels. Takes an optional category. Free. |
generate_image | Creates images from prompt, with optional model, size, and n from 1 to 4. Returns the images. |
edit_image | Changes or combines one to four images with a prompt, with optional model and size. Returns the images. |
create_video | Starts a video job from prompt, with optional model, duration from 1 to 20 seconds, resolution, and aspect_ratio. |
get_video | Returns the status of a video job by id, with the download URL when it is done. |
text_to_speech | Turns input into audio, with optional model, voice, and format. Returns the audio. |
transcribe_audio | Turns speech in audio into text, with optional model, format, language, and prompt. Files up to 25 MB. |
create_music | Creates a music clip from prompt, with an optional mood image, model, and format. Returns the audio and any lyrics. |
ocr | Reads the text of an image or PDF file, with optional model, pages, and output_format, as described in [ OCR ]. |
moderate | Checks one text or up to 32 texts in input for harmful content and says which are flagged, with an optional model. |
create_embeddings | Turns one text or up to 64 texts in input into vectors, with optional model and dimensions. |
decide | Ranks a list of options for a state, or answers named questions about it, with optional model, instructions, and top_k, as described in [ Decisions ]. |
ip_lookup, email_lookup, crypto_price | The lookups from [ Finance and Lookup ]. |
Tools that take a file accept an https URL or a data URL. Paid tools cost the same as the matching endpoint. A tool call that fails returns isError as true, a message that says what to change, and cost as 0.
Raw request
A tool call is a plain JSON-RPC request, so you can test it with curl:
curl https://api.silentapi.com/v1/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"web_search","arguments":{"query":"private api gateway","max_results":3}}}'
Both servers support the initialize, ping, tools/list, and tools/call methods, MCP protocol versions from 2024-11-05 to 2025-11-25, and batches of up to 20 requests.
Agent skills
Two skill files teach an agent how to use SilentAPI. The installer lists the agents it finds, shows which already have the skills, and installs or removes them:
irm https://silentapi.com/skills.ps1 | iex
curl -fsSL https://silentapi.com/skills.sh | sh
- [ SilentAPI Documentation ]: the API basics, with links to every docs page.
- [ SilentAPI Web Engine ]: how to search, read, and map sites, and when to retry on Premium.
To install by hand, save each file as SKILL.md in its own folder, for example silentapi/SKILL.md, inside your tool's skills directory:
| Tool | Skills directory |
|---|---|
| Claude Code | ~/.claude/skills |
| Codex, OpenCode, Cursor, GitHub Copilot CLI, Gemini CLI, Qwen Code, Crush, Kimi Code, OpenClaw, Pi, Goose, Amp, Factory Droid, Devin | ~/.agents/skills |
| Cline | ~/.cline/skills |
| Hermes Agent | ~/.hermes/skills |
| Antigravity | ~/.gemini/config/skills |
Models by hand
To add SilentAPI models to a tool that setup does not configure, add an OpenAI compatible provider with these values:
| Setting | Value |
|---|---|
| Base URL | https://api.silentapi.com/v1 |
| API key | Your SilentAPI key |
| Model ID | Any chat model ID from GET /v1/models or the [ Services ] page |
Tools that use the Anthropic style take https://api.silentapi.com as the base URL, without /v1. The details are in [ OpenAI Style ] and [ Anthropic Style ]. When a tool asks for prices, take them from the model list: pricing.prompt and pricing.completion are US dollars per token, so multiply by one million.
Cline for VS Code
Cline keeps model keys in VS Code secret storage. Setup adds the MCP servers, and you add the models in the extension:
- Open the Cline panel in VS Code and open its settings.
- Set API Provider to OpenAI Compatible.
- Set Base URL to
https://api.silentapi.com/v1and paste your key into API Key. - Enter a chat model ID in Model ID.
- Under Model Configuration, set Context Window, Max Output Tokens, Input Price, and Output Price from the model list, so that Cline shows the right costs.
GitHub Copilot in VS Code
Copilot can use your own endpoint. In VS Code, open the chat model picker, choose Manage Models, and add an OpenAI compatible endpoint with the base URL and key from the table above. Copilot reads the model list from SilentAPI. The steps for the current version are in the VS Code language model guide.
Cursor
Cursor accepts keys only for a few named providers and has no field for another base URL, so SilentAPI models cannot be added to Cursor. Setup adds both MCP servers, which work in Cursor agent mode.
Devin Desktop and Antigravity
These tools use only their own models. Setup adds both MCP servers, so their agents can search the web and use SilentAPI services with your key.
Zed, Roo Code, Kilo Code, and Continue
- Zed: add an entry under
language_models.openai_compatiblewithapi_urlset to the base URL and one entry per model inavailable_models. See the Zed guide. - Roo Code: choose OpenAI Compatible, enter the base URL, key, and model ID, and set the prices under Model Configuration. See the Roo Code guide.
- Kilo Code: choose OpenAI Compatible and enter the base URL and key. Kilo Code reads the model list and lets you pick a model. See the Kilo Code guide.
- Continue: add a model with
provider: openai,apiBaseset to the base URL, and the model ID. See the Continue reference.
MCP keys in VS Code secret storage
Setup writes the key into the VS Code mcp.json file. To keep it in the VS Code secret storage instead, replace the SilentAPI entry with an input. VS Code asks for the key once and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "silentapi-web-key", "description": "SilentAPI key", "password": true }
],
"servers": {
"silentapi": {
"type": "http",
"url": "https://api.silentapi.com/v1/mcp",
"headers": { "Authorization": "Bearer ${input:silentapi-web-key}" }
}
}
}
Keys saved with a login command
Some tools, such as OpenCode, can also store a key with their own login command. A key stored that way can take priority over the key in the config file. If you change your SilentAPI key, update it with the same login command, or remove the stored entry so that the tool uses the key that setup wrote.
Update and remove
To get new models by hand, run setup again with --update. To remove SilentAPI, run setup with --remove, or open the wizard and turn off the boxes for a tool. Your backups stay in place, so you can restore an earlier file at any time.