Skip to content

HAMUR_W1196: A server function has meta but no route

A server function has meta but no route. Warning HAMUR_W1196 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_W1196 <file>#<name> has meta but no route, so no OpenAPI operation lists it; give it a route, or list it in the tools of an mcp endpoint

Cause

A server function has meta and no route, so no OpenAPI operation lists it.

Fix

Give it a route, or list it in the tools of an mcp endpoint.