About mcp-simple-resource
A simple MCP server project using Python 3.12. Its README provides environment setup and an SSE launch command, along with an example configuration for Cline.
Key features
- 01Set up the environment with uv
- 02Support SSE transport
- 03Set the server port
- 04Provide a Cline configuration example
Use cases
- 01Run an MCP server over SSE
- 02Configure the server in Cline
MCP support
The MCP server runs over SSE. The README shows how to configure its URL for use in Cline.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
http://127.0.0.1:8000/sseclaude mcp add --transport http demo-asura7969 http://127.0.0.1:8000/sse{"mcpServers":{"demo-asura7969":{"type":"http","url":"http://127.0.0.1:8000/sse"}}}Open in Cursor{"servers":{"demo-asura7969":{"type":"http","url":"http://127.0.0.1:8000/sse"}}}Open in VS Code{"mcpServers":{"demo-asura7969":{"type":"http","url":"http://127.0.0.1:8000/sse"}}}{"mcpServers":{"demo-asura7969":{"serverUrl":"http://127.0.0.1:8000/sse"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEmcp-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": []
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.