Skip to content

Validate custom agent MCP and HTTP hook URLs - #347180

Draft
Martin Aeschlimann (aeschli) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-custom-agent-editor-urls
Draft

Martin Aeschlimann (aeschli) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-custom-agent-editor-urls

Conversation

Copilot AI commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Custom agent diagnostics missed malformed remote MCP and HTTP hook URLs, including https:// values without a host.

  • Validation: Require both URL types to parse as HTTP or HTTPS and include a hostname.
  • Example: These values now produce diagnostics:
    mcp-servers:
      remote:
        type: http
        url: "https://"
        tools: [fetch]
    hooks:
      preToolUse:
        - type: http
          url: "not-a-url"

Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix malformed MCP server and HTTP hook URLs in custom agent editor Validate custom agent MCP and HTTP hook URLs Nov 9, 2026

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.

Custom agent editor accepts malformed MCP server and HTTP hook URLs

3 participants