// Patched 2.3.4 shape: both /mcp and /mcp_message mount the same
// AuthRequired() middleware via a router group — no twin asymmetry.

package mcp

import "github.com/gin-gonic/gin"

func RegisterMcp(router *gin.Engine) {
    mcpGroup := router.Group("/", AuthRequired())
    mcpGroup.POST("/mcp", mcpHandler)
    mcpGroup.POST("/mcp_message", mcpHandler)
}
