MCP Host Client Server SSE MCP Server

手搓MCP样例,使用SSE模式,访问本地数据。从Hosts到server全部代码演示。

Local serverstdioPython

What is the MCP Host Client Server SSE MCP Server?

手搓MCP样例,使用SSE模式,访问本地数据。从Hosts到server全部代码演示。

What the server does

基于MCP(Model Context Protocol)协议实现的自然语言SQL数据库查询系统,支持通过大语言模型将自然语言转换为SQL查询。本项目展示了如何使用MCP协议构建服务器-客户端架构,并集成OpenAI实现智能查询功能。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ageINTEGER
emailTEXT
user_idINTEGER
product_nameTEXT
priceREAL
order_dateTEXT

How to install the MCP Host Client Server SSE MCP Server

{
  "mcpServers": {
    "host-client-server-sse": {
      "command": "uvx",
      "args": ["openai"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use MCP Host Client Server SSE to SQLite.”
  • “Use MCP Host Client Server SSE to Starlette.”
  • “Use MCP Host Client Server SSE to age.”

Frequently asked questions

Python 3.8+, pip package manager, and an OpenAI API key.