Skip to content

docs(mcp): document optional Parallel public-source lookup - #695

Open
georgeatparallel wants to merge 1 commit into
op7418:mainfrom
georgeatparallel:george/parallel-mcp-codepilot-c88ff7b4
Open

georgeatparallel wants to merge 1 commit into
op7418:mainfrom
georgeatparallel:george/parallel-mcp-codepilot-c88ff7b4

Conversation

@georgeatparallel

Copy link
Copy Markdown

Summary / 摘要

Document an opt-in public-source lookup using CodePilot's existing HTTP MCP settings, with an acceptance step that checks the tool call and original source link in the answer.

I work at Parallel. This is an AI-assisted documentation contribution.

Repro / root cause / 复现与根因

The current MCP guide explains the generic server form but lacks a concrete remote search setup and cited-answer check. Runtime root cause: N/A; documentation only.

Changes / 改动

Update the existing English and Chinese MCP pages with the same single-server configuration, a link to Parallel MCP setup, and a manually entered question restricted to public React documentation. Explain approval, checking the returned source, Plan mode's external-tool restriction, connection/rate-limit errors, and disabling the server followed by quitting and reopening CodePilot.

Tests / 测试

  • npm run test: passed typecheck, harness-boundary check, and unit suite (5,704 passed, one Windows-only test skipped, zero failed). Ran as the non-root repository/dependency owner under checksum-verified Tini v0.19.0 as a subreaper. The first run's child-process cancellation assertion failed with an orphaned zombie PID in this sandbox; a focused 21-test recovery and the complete unchanged command then passed.
  • Normal staged pre-commit hook, docs-drift and whitespace checks passed; the staged tree matched the candidate exactly.
  • Site production build passed (47 pages). Generated English and Chinese MCP HTML contains the configuration, setup link, public query and restart guidance; both JSON examples match.
  • Actual settings routes, loader, native runtime, agent loop, approval route, HTTP MCP adapter and normal SSE consumer passed with local fixtures: a scripted chat provider and replay of the fresh live public search result. The original URL reaches the next provider request and the Markdown-cited answer. Approval/denial, inactive default, Plan exclusion, empty/error results, tool timeout, unavailable server, and disabled state after a fresh process passed. This was not a browser or live-provider end-to-end chat test.
  • Separately, anonymous live Unified MCP initialization, discovery, public React documentation search and page fetch passed, returning https://react.dev/reference/react/useEffect. The live harness sent a dedicated CodePilot validation User-Agent; the unchanged native application's User-Agent was observed only against the local fixture (node).

Screenshots / logs(UI 或 Electron 改动必填)

N/A: two existing documentation pages only; no UI component or Electron changes. The site build reports an unused-variable warning in untouched ChatDemo.tsx.

自查清单 / Checklist

  • 涉及 i18n → English and Chinese MCP pages synchronized; application strings unchanged.
  • 涉及 DB → N/A; no schema changes.
  • 涉及类型 → N/A; no type changes.
  • 涉及文档 → Existing MCP pages updated; no new documentation files or index entries.
  • npm run test 通过(typecheck + 单元)
  • 已读 CLAUDE.md 验证分层与 AGENTS.md 角色边界;documentation-only contribution.

Document HTTP server setup and a cited public library documentation lookup in the English and Chinese MCP guides. Include permission, mode, error and disable guidance for the existing chat workflow.
@vercel

vercel Bot commented Nov 17, 2026

Copy link
Copy Markdown

@georgeatparallel is attempting to deploy a commit to the op7418's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant