When I run an MCP server built with mcp-framework, many inputs appear with an asterisk * in the MCP inspector even if they are declared as optional
npx @modelcontextprotocol/inspector node dist/index.js
e.g. limit is optional but it has an asterisk in the screenshot:
schema = {
limit: {
description: "Maximum number of results to return (default: no limit)",
type: z.number().optional(),
},
query: {
description: "Search query to find relevant issues and discussions",
type: z.string(),
},
};
