From 5be3f05ace344ed9310ce0470c4efd024f1e43c5 Mon Sep 17 00:00:00 2001 From: George Pickett <297992784+georgeatparallel@users.noreply.github.com> Date: Sat, 17 Oct 2026 10:30:18 +0000 Subject: [PATCH 1/2] docs: add optional Parallel Search MCP setup --- docs/mcp.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docs/mcp.md b/docs/mcp.md index e15933a..b1d6cd2 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -20,6 +20,50 @@ transport = "http" url = "https://mcp.context7.com/mcp" ``` +## Web research with Parallel + +To look up current library documentation or read web pages while coding, add +[Parallel Search MCP](https://docs.parallel.ai/integrations/mcp/search-mcp) +to your existing `~/.config/lecode/config.toml` (or the project's +`.lecode/config.toml`). For a new file, put `schema_version = 2` on the first +line, before any tables. + +```toml +[mcp.servers.parallel] +transport = "http" +url = "https://search.parallel.ai/mcp" +headers = { "User-Agent" = "lecode (https://github.com/KalvadTech/lecode)" } +``` + +No Parallel account, API key, or OAuth setup is needed. The anonymous tier +provides free web search using Fast mode and page fetching for light use, +with rate limits. + +Restart lecode after saving the config. Run `/mcp` to check that `parallel` +is connected, then `/mcp tools parallel` to see +`mcp:parallel:web_search` and `mcp:parallel:web_fetch`. Try a prompt like: + +```text +Use Parallel to find the current Python asyncio TaskGroup documentation. +Fetch the official documentation page, summarize its cancellation behavior, +and include the source URLs. Do not edit files. +``` + +The `parallel` server follows the normal MCP permission fallback: allowed +in `yolo`, denied in `readonly`. To opt in to just these two tools in the +`readonly` permission mode, add these rules to the same config: + +```toml +[[permissions.rules.allow."mcp:parallel:web_search"]] +pattern = "*" + +[[permissions.rules.allow."mcp:parallel:web_fetch"]] +pattern = "*" +``` + +Existing deny rules and stricter agent restrictions still apply. Other +servers and your model configuration are unchanged. + ## Configured servers ```toml From 4e29a4e63249ca2b829f7fe45378a0a15768e566 Mon Sep 17 00:00:00 2001 From: George Pickett <297992784+georgeatparallel@users.noreply.github.com> Date: Sat, 17 Oct 2026 10:30:31 +0000 Subject: [PATCH 2/2] docs: distinguish listed MCP names from model tool names --- docs/mcp.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index b1d6cd2..8f4cb83 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -40,8 +40,9 @@ provides free web search using Fast mode and page fetching for light use, with rate limits. Restart lecode after saving the config. Run `/mcp` to check that `parallel` -is connected, then `/mcp tools parallel` to see -`mcp:parallel:web_search` and `mcp:parallel:web_fetch`. Try a prompt like: +is connected, then `/mcp tools parallel` to see `web_search` and `web_fetch`. +lecode exposes them to the model as `mcp:parallel:web_search` and +`mcp:parallel:web_fetch`. Try a prompt like: ```text Use Parallel to find the current Python asyncio TaskGroup documentation.