Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

fix(coding-agent): show MCP login path for websearch (#809)

rasdanib9a446114941
diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md
index 3835a395ec..24f71d9ce4 100644
--- a/packages/coding-agent/CHANGELOG.md
+++ b/packages/coding-agent/CHANGELOG.md
@@ -2,6 +2,8 @@
## [Unreleased]
+- Fixed the bundled `websearch` skill description and missing-key guidance omitting the `/login` → **MCP Connections** step required to configure Serper.
+
## [0.7.0] - 2026-08-05
### Breaking Changes
diff --git a/packages/coding-agent/skills/websearch/SKILL.md b/packages/coding-agent/skills/websearch/SKILL.md
index fa678a261d..1a47737786 100644
--- a/packages/coding-agent/skills/websearch/SKILL.md
+++ b/packages/coding-agent/skills/websearch/SKILL.md
@@ -1,6 +1,6 @@
---
name: websearch
-description: Search Google via the Serper API. Takes a single query. Returns titles, URLs, snippets, and knowledge-graph data.
+description: Search Google via the Serper API. Configure access via /login, then MCP Connections, then Serper (web search). Takes one query and returns titles, URLs, snippets, and knowledge-graph data.
---
# Web Search
@@ -9,9 +9,9 @@ Search the web via the Serper Google Search API.
## Setup
-Get a free API key at https://serper.dev, then run `/login` in Prime Agent and
-choose "Serper (web search)" to paste it. The key is stored in Prime Agent and
-made available to this skill automatically.
+Get a free API key at https://serper.dev, then run `/login` in Prime Agent,
+switch to **MCP Connections**, and choose **Serper (web search)** to paste it.
+The key is stored in Prime Agent and made available to this skill automatically.
If web search reports a missing key, walk the user through those two steps;
don't ask them to set environment variables.
diff --git a/packages/coding-agent/skills/websearch/src/websearch/websearch.py b/packages/coding-agent/skills/websearch/src/websearch/websearch.py
index 8f0a899825..773dda9115 100644
--- a/packages/coding-agent/skills/websearch/src/websearch/websearch.py
+++ b/packages/coding-agent/skills/websearch/src/websearch/websearch.py
@@ -151,7 +151,7 @@ async def run(
"Web search is not set up yet: no Serper API key is configured.\n"
"Tell the user how to enable it:\n"
" 1. Get a free API key at https://serper.dev (sign up, copy the key).\n"
- " 2. In Prime Agent, run /login and choose \"Serper (web search)\", then paste the key.\n"
+ " 2. In Prime Agent, run /login, switch to MCP Connections, choose \"Serper (web search)\", and paste the key.\n"
"Do not ask the user to set environment variables. Once the key is saved, web search works automatically."
)
diff --git a/packages/coding-agent/test/resource-loader.test.ts b/packages/coding-agent/test/resource-loader.test.ts
index 4daf8436b0..accdb4355f 100644
--- a/packages/coding-agent/test/resource-loader.test.ts
+++ b/packages/coding-agent/test/resource-loader.test.ts
@@ -468,6 +468,9 @@ Content`,
const { skills } = loader.getSkills();
const websearch = skills.find((s) => s.name === "websearch");
expect(websearch).toBeDefined();
+ expect(websearch?.description).toContain("/login");
+ expect(websearch?.description).toContain("MCP Connections");
+ expect(websearch?.description).toContain("Serper (web search)");
expect(websearch?.kind).toBe("python");
if (websearch?.kind === "python") {
expect(websearch.python.importName).toBe("websearch");