---
search:
  tags:
    - agents
    - POST
seo:
  description: >-
    Creates a browser OAuth… Reference for the POST
    /agents/{id}/native/mcp-connections/{connectionId}/oauth-connect-url
    endpoint in the Leadtime Public API API.
sidebar:
  badge: POST
  label: Create an OAuth connect URL for a native custom-agent MCP connection
title: Create an OAuth connect URL for a native custom-agent MCP connection
type: openapi-operation
---
Creates a browser OAuth login URL for one native custom-agent MCP connection. Use after saving the MCP row when the server authMode is oauth.

<Operation source="api-reference" id="agentscontroller-getnativemcpoauthconnecturl" />
