MCP.so
登录

MCP_Server_Setup

@DikshantBadawadagi

关于 MCP_Server_Setup

暂无概览

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

DikshantBadawadagi

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "MCP_Server_Setup": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP_Server_Setup?

MCP_Server_Setup is a demonstration MCP server built with FastMCP that defines example tools (such as say_hello) and illustrates how to run an MCP server using either stdio or SSE transport. It serves as a template for developers creating their own MCP-based tools and integrations.

How to use MCP_Server_Setup?

Run the server in development mode with mcp dev server.py, install it for Claude Desktop with mcp install server.py, or execute it directly with python server.py. For SSE transport, set host and port in the server script and run python server.py after configuring transport="sse".

Key features of MCP_Server_Setup

  • Defines tools with Python decorators using FastMCP
  • Supports stdio and SSE transports
  • Integrates with MCP Inspector for testing
  • Can be installed into Claude Desktop
  • Provides client examples for both transports

Use cases of MCP_Server_Setup

  • Learning how to create and run an MCP server
  • Testing MCP tool definitions with the Inspector
  • Integrating custom tools with Claude Desktop
  • Building client-server MCP applications over HTTP

FAQ from MCP_Server_Setup

What transport protocols does MCP_Server_Setup support?

It supports stdio (default) and SSE (Server-Sent Events) transports. SSE requires explicit configuration.

How do I run MCP_Server_Setup over HTTP?

Modify the server script to include host and port parameters and call mcp.run(transport="sse"). Then run with python server.py.

How can I test MCP_Server_Setup during development?

Use the MCP Inspector by running mcp dev server.py to open a web-based interface for interacting with the server’s tools.

Can MCP_Server_Setup be integrated with Claude Desktop?

Yes, run mcp install server.py to add the server to Claude Desktop’s configuration, making its tools available inside Claude.

What is the default transport when running directly?

When you run the server directly via python server.py without specifying transport, the default transport is stdio.

评论

其他 分类下的更多 MCP 服务器