Skip to content

Conversation

@vinhnx
Copy link
Owner

@vinhnx vinhnx commented Oct 7, 2025

Summary

  • expose MCP concurrency and UI settings in the default vtcode.toml so they can be tuned without code changes
  • reintroduce the optional Context7 provider entry and corresponding allow-list defaults for users who enable it
  • document how to toggle the provider in the MCP integration guide

Testing

  • cargo fmt
  • cargo test -p vtcode-core mcp -- --nocapture

https://chatgpt.com/codex/tasks/task_e_68e4e23002288323961c525ccb257bc9

Copy link

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

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.

ℹ️ 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

Comment on lines 24 to 30
}

if let Some(tool) = tool_name {
if tool.starts_with("mcp_context7") {
render_mcp_context7_output(renderer, val)?;
} else if tool.starts_with("mcp_sequentialthinking") {
if tool.starts_with("mcp_sequentialthinking") {
render_mcp_sequential_output(renderer, val)?;
}
}

Choose a reason for hiding this comment

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

P1 Badge Context7 MCP tool responses are dropped

The previous version had a render_mcp_context7_output branch that displayed messages, errors, and metadata for Context7 tools. This branch was removed, and render_tool_output now only special-cases sequential-thinking tools while the remainder of the function only prints stdout/stderr. Context7 MCP replies do not include those fields, so enabling the optional provider from vtcode.toml will now produce no visible output for successful lookups, making the integration effectively unusable. Consider restoring a renderer or at least serializing the payload so users can see the results.

Useful? React with 👍 / 👎.

Copy link
Owner Author

Choose a reason for hiding this comment

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

@codex fix review

Copy link

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

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.

ℹ️ 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

Comment on lines 26 to 29
if let Some(tool) = tool_name {
if tool.starts_with("mcp_context7") {
render_mcp_context7_output(renderer, val)?;
} else if tool.starts_with("mcp_sequentialthinking") {
if tool.starts_with("mcp_sequentialthinking") {
render_mcp_sequential_output(renderer, val)?;
}

Choose a reason for hiding this comment

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

P1 Badge Restore Context7 tool output rendering

The special-case handling for mcp_context7* tools was removed, so render_tool_output now only checks for mcp_sequentialthinking*. Context7 responses don’t populate stdout/stderr; they emit a JSON body with fields like status, messages, and errors. With the branch gone, the renderer prints nothing when the optional Context7 provider is enabled, which makes the tool appear to return no data. Reintroducing a renderer (or a generic JSON fallback) is necessary so Context7 results remain visible.

Useful? React with 👍 / 👎.

@vinhnx
Copy link
Owner Author

vinhnx commented Oct 7, 2025

@codex fix comments

@chatgpt-codex-connector
Copy link

Summary

Testing

  • cargo fmt

View task →

@vinhnx vinhnx closed this Oct 7, 2025
@vinhnx vinhnx deleted the codex/remove-context7-mcp branch October 13, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant