MCP.so
登录

Hello MCP Server

@cjavier

基本信息

分类

其他

传输方式

stdio

作者

cjavier

关于 Hello MCP Server

暂无概览

Hello MCP Server 配置

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

{
  "mcpServers": {
    "McpServerBasic": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "ABSOLUTE_PATH_TO_PROJECT/hello-mcp-server/dist/index.js"
      ]
    }
  }
}

Hello MCP Server 工具

工具列表暂未提供

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

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Hello MCP Server?

Hello MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with external services and data sources. It is designed for use with Claude and other MCP-compatible AI assistants.

How to use Hello MCP Server?

Clone the repository, install dependencies with pnpm install, build with pnpm run build, then either run tasks directly via forge task:run --ticker AAPL or add the server to Claude Desktop by modifying the claude_desktop_config.json file with the absolute path to the compiled index.js. For debugging, use npx @modelcontextprotocol/inspector <absolute-path>.

Key features of Hello MCP Server

  • Enables AI assistants to call external services via MCP tools
  • Works with Claude and other MCP-compatible assistants
  • Uses Forge task runner to define and execute tasks
  • Tasks automatically become MCP tools without manual registration
  • Supports direct task execution from the command line
  • Includes MCP Inspector for debugging and testing

Use cases of Hello MCP Server

  • Retrieve stock prices for a given ticker symbol via the stock:price task
  • Add custom tasks (e.g., weather, database queries) using the Forge CLI
  • Integrate with Claude Desktop to provide AI assistants with real-time data

常见问题

1

What are the prerequisites for using Hello MCP Server?

You need Node.js v18 or higher, the pnpm package manager, and the Forge CLI installed globally (`pnpm i -g @forgehive/forge-cli`).

2

How do I add Hello MCP Server to Claude Desktop?

Build the project with `pnpm run build`, then edit your Claude Desktop configuration file (`~/Library/Application Support/Claude/claude_desktop_config.json`) to add the server with the command `node` and the absolute path to `dist/index.js`.

3

How can I add a new task to Hello MCP Server?

Use `forge task:create MODULE:TASK_NAME` to generate a template, implement the task in the generated file, register it in `src/runner.ts`, and rebuild with `pnpm run build`. The server will expose it as an MCP tool automatically.

4

What is the MCP Inspector and how do I use it?

The MCP Inspector is a web-based debugging tool for MCP servers. Run `npx @modelcontextprotocol/inspector ABSOLUTE_PATH_TO_PROJECT/hello-mcp-server/dist/index.js` to open an interface that lets you test your server's tools and see their responses.

评论

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