资源服务

MCP Server提供的简单资源服务,支持通过SSE传输协议进行资源管理。

  • by Asura7969
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 asura7969/mcp-server-demo

使用说明

mcp-simple-resource

引用:mcp-simple-resource

python环境3.12.0

MCP Server

环境配置

  • 安装uv: https://docs.astral.sh/uv/
  • uv sync

设置阿里云镜像(全局) 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": []
        }
    }
}