MCP.so
登录

MCP Server Hello World

@dcSpark

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

dcSpark

关于 MCP Server Hello World

暂无概览

MCP Server Hello World 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Hello World 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is MCP Server Hello World?

An example Model Context Protocol (MCP) server that provides simple hello world methods, intended for developers learning MCP or testing setups.

How to use MCP Server Hello World?

Install dependencies with npm install, build the project with npm run build, then launch the inspector with npm run inspector. Test with npm test.

Key features of MCP Server Hello World

  • Basic hello world method returning a static string.
  • Method accepting an optional input string.
  • Method requiring a configuration string as input.
  • Simple Node.js project structure.

Use cases of MCP Server Hello World

  • Learning how to implement MCP server methods.
  • Prototyping MCP client-server interactions.
  • Verifying MCP tooling and inspector functionality.

常见问题

1

What methods are available?

Three methods: `hello_world`, `hello_world_with_input`, and `hello_world_with_config`.

2

How do I install and run the server?

Run `npm install`, then `npm run build` and `npm run inspector` to start the MCP inspector.

3

What does `hello_world` return?

It returns the string "hello world".

4

What does `hello_world_with_input` do?

It returns "hello world" appended with an optional `message` string.

5

What does `hello_world_with_config` require?

It requires a `config` string (mandatory) and returns "hello configuration" appended with that config.

评论

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