mcp-server-demo

mcp-server-demo

3.1

If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The mcp-simple-resource is a Model Context Protocol (MCP) server example that demonstrates how to set up and run a simple resource server using Python 3.12.0.

mcp-simple-resource

引用:mcp-simple-resource

python环境3.12.0

MCP Server

环境配置

设置阿里云镜像(全局) UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/

# 运行
uv run mcp-simple-resource --transport sse --port 8000

MCP Host

cline mcp config

{
    "mcpServers": {
        "mcp-simple-resource": {
            "url": "http://127.0.0.1:8000/sse",
            "disabled": false,
            "autoApprove": []
        }
    }
}