MCP.so
登录

my-mcp-server

@hyen43

关于 my-mcp-server

MCP 서버 학습을 위한 간단예제 실습

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

hyen43

配置

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

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/my-mcp-server/dist/index.js"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is my-mcp-server?

my-mcp-server is a Model Context Protocol (MCP) server built with the mcp-framework. It provides a scaffold for defining and running custom MCP tools, intended for developers building AI–agent tooling that integrates with MCP-compatible clients such as Claude Desktop.

How to use my-mcp-server?

Install dependencies with npm install, then build the project with npm run build. After building, run the server via node /absolute/path/to/dist/index.js or, after publishing to npm, with npx my-mcp-server. Configure the server in Claude Desktop by adding the appropriate JSON entry to claude_desktop_config.json.

Key features of my-mcp-server

  • Built on the mcp-framework for rapid MCP tool development.
  • Includes an example tool (ExampleTool.ts) to use as a template.
  • CLI commands to generate new tools (e.g., mcp add tool my-tool).
  • Tool schemas defined with Zod for input validation.
  • Supports local development and npm publishing for distribution.

Use cases of my-mcp-server

  • Rapid prototyping of custom MCP tools for AI assistant workflows.
  • Adding file‑handling, data‑processing, or API‑client tools to Claude Desktop.
  • Publishing reusable MCP servers to the npm registry for team or public use.

FAQ from my-mcp-server

What runtime environment does my-mcp-server require?

Node.js is required. Dependencies are installed via npm install.

How do I add a new tool to my-mcp-server?

Use the CLI command mcp add tool <tool-name> from the project root, or manually create a tool file in src/tools/ following the example structure.

How do I test my-mcp-server locally before publishing?

Build the project with npm run build, then run npm link and execute my-mcp-server on the command line.

How do I connect my-mcp-server to Claude Desktop?

Add a JSON entry to the claude_desktop_config.json file under mcpServers. For local development use the compiled dist/index.js path; after publishing use npx my-mcp-server.

Where does my-mcp-server store data?

The README does not discuss data storage. The server itself does not include built‑in persistence; data handling depends on the tools you implement.

评论

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