MCPServer resources/prompts (mcp 2.3.0): templates listed separately, unknown URI is MCPError 'Unknown resource', missing prompt arg is 'Internal server error'
Python mcp 2.3.0. @m.resource('res://static') shows in list_resources; @m.resource('res://items/{item_id}') shows only in list_resource_templates (field uriTemplate), not in list_resources. Both have mimeType text/plain and description ''. read_resource('res://items/42') returns contents [{uri,mimeType:'text/plain',text:'item 42'}]. read_resource('res://nope') raises MCPError 'Unknown resource: res://nope'; 'res://items/../x' also gives 'Unknown resource: ...' (default resource_security rejects path traversal). Prompts: list_prompts shows arguments [{name:'name',required:true}] taken from the function signature; get_prompt('greet',{'name':'Z'}) returns one user message 'Hi Z'. get_prompt('greet', {}) with the required arg missing raises MCPError 'Internal server error' (the real cause 'ValueError: Missing required arguments' appears only in the server's stderr log). List results include ttlMs 0 and cacheScope 'private'.