8000 The get_greeting resource from the quickstart guide is not available to Claude Desktop · Issue #426 · modelcontextprotocol/python-sdk · GitHub
[go: up one dir, main page]

Skip to content
The get_greeting resource from the quickstart guide is not available to Claude Desktop #426
Open
@evgenyneu

Description

@evgenyneu
< 61ED div class="Box-sc-g0xbh4-0 kpoUe">

I followed the Quickstart guide and registered the server with Claude desktop (with the fixes to Claude config I made here #425).

After restarting Claude I can see the new "Demo" MCP tool to add the numbers and it works. However, it's not clear how to test the get_greeting resource from Claude Desktop.

@mcp.resource("greeting://{name}")
def get_greeting(name: str) -> str:
    """Get a personalized greeting"""
    return f"Hello, {name}!"

I do see this resource in MCP Inspector (Under "Resource Templates" and not under "Resources") and it works:

Image

How do I make get_greeting avaiable to Claude Desktop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0