Skip to content

Add built-in time and Context7 MCPs / 内置 time 和 Context7 MCP#4115

Merged
esengine merged 5 commits into
main-v2from
feature/builtin-time-context7-mcp
Jun 12, 2026
Merged

Add built-in time and Context7 MCPs / 内置 time 和 Context7 MCP#4115
esengine merged 5 commits into
main-v2from
feature/builtin-time-context7-mcp

Conversation

@SivanCola

@SivanCola SivanCola commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add built-in MCP entries for time and context7 without requiring user-defined server configuration.
  • Enable the bundled time MCP by default; keep context7 disabled until the user manually enables it.
  • Keep explicit same-name user or session MCP configuration authoritative and update the frontend mock data used by local browser UI.

Behavior

  • time uses a bundled Reasonix stdio MCP (builtin-mcp time), so it does not require uvx, Python packages, Node, or npm packages on the user's machine.
  • context7 uses a JavaScript runner selected progressively: npx, then pnpm dlx, then bunx; if none are available, the default npx spec is retained so diagnostics stay clear.
  • Enabled built-ins use the lazy tier, so startup does not spawn subprocesses or wait on package/network work.

Verification

  • go test ./internal/config ./internal/builtinmcp ./internal/boot ./internal/control ./internal/cli with isolated user config directories
  • go test . in desktop
  • npm exec -- tsc --noEmit in desktop/frontend
  • git diff --check

@SivanCola SivanCola requested a review from esengine as a code owner June 12, 2026 03:44
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) labels Jun 12, 2026
@SivanCola SivanCola changed the title Add built-in time and Context7 MCPs Add built-in time and Context7 MCPs / 内置 time 和 Context7 MCP Jun 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d815f563ae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/app.go Outdated
Comment thread internal/boot/boot.go Outdated
Comment thread internal/builtinmcp/builtinmcp.go Outdated
@github-actions github-actions Bot added the tui Terminal UI / CLI (internal/cli, internal/control) label Jun 12, 2026
@esengine

Copy link
Copy Markdown
Owner

Reviewed end-to-end and approved. The architecture is clean: Entries() as the catalogue, EnabledNames() driving injection, and AppendEnabled suppressing built-ins against both configured [[plugins]] and session ExtraPlugins — so user/host config stays authoritative. The bundled builtin-mcp time server is a correct dependency-free MCP stdio implementation (newline-framed JSON-RPC, initialize/tools-list/tools-call, notifications ignored, EOF-clean), which is the right answer to the "no uvx/npm package required" goal. All three Codex P2s are genuinely fixed (configured-wins precedence, ExtraPlugins de-dup with regression coverage, and the real bundled command). time on-by-default is safe (lazy tier, dependency-free); Context7 stays opt-in. Merging.

@esengine esengine merged commit d05f807 into main-v2 Jun 12, 2026
14 checks passed
@esengine esengine deleted the feature/builtin-time-context7-mcp branch June 12, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants