MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

L
Llamacppmcpclientdemo
作者 @brucepro

standalone react MCP client using SSE

创建于 2/7/2025
更新于 9 months ago
Repository documentation and setup instructions

A Demo of the MCP Client using React and SSE

Still in progress but seems to work.

Instructions

Load the SSE servers: npx -y supergateway --cors --port 8002 --stdio "npx -y @modelcontextprotocol/server-everything"

or

cd servers/python/simple-tool-prompt-resource Load it with uv.

uv run mcp-simple-tool-prompt-resource --transport sse --port 8000

cd servers/python/simple-tool-prompt-resource2 Load it with uv.

uv run mcp-simple-tool-prompt-resource2 --transport sse --port 8001

The script assumes these are running at localhost. But you can edit the config and change it to any SSE server.

Run the script.

npm start

Issues to consider:

two tool names that match but are different servers, can prolly modify the tools_available to do mcpserver.name.toolname to the list tools.

Haven't tested multiple tools being called, prolly should set max tool calls.

Text completion streaming needs to be off to call tools.

快速设置
此服务器的安装指南

安装包 (如果需要)

npx llamacppMCPClientDemo

Cursor 配置 (mcp.json)

{ "mcpServers": { "brucepro-llamacppmcpclientdemo": { "command": "npx", "args": [ "llamacppMCPClientDemo" ] } } }
作者服务器
其他服务器由 brucepro