MCP.so
登录

My MCP Server

@distractdiverge

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

distractdiverge

关于 My MCP Server

A prototype using mcp-framework to build tools for AIs

My MCP Server 配置

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

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

My MCP Server 工具

工具列表暂未提供

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

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

概览

What is my-mcp-server?

my-mcp-server is a Model Context Protocol (MCP) server built with the mcp-framework, designed to be extended with custom tools. It serves as a template for developers creating MCP-compatible servers that integrate with AI assistants like Claude Desktop.

How to use my-mcp-server?

Install dependencies with npm install, build with npm run build, then configure the server in your Claude Desktop client by adding the appropriate JSON configuration. For local development, point to the built dist/index.js; after publishing to npm, use npx my-mcp-server.

Key features of my-mcp-server

  • Built on the mcp-framework for rapid tool development
  • Includes a CLI to scaffold new tools (mcp add tool)
  • Automatic tool loading on server startup
  • Supports publishing to npm for easy distribution
  • Ready-to-use integration with Claude Desktop

Use cases of my-mcp-server

  • Creating custom MCP tools for AI assistants
  • Prototyping and testing new MCP server functionality
  • Distributing specialized tool collections via npm
  • Learning the MCP framework and tool development patterns

常见问题

1

How do I install and set up my-mcp-server?

Run `npm install` then `npm run build` to compile the project. The built server is located at `dist/index.js`.

2

How do I add new tools to my-mcp-server?

Use the CLI command `mcp add tool <tool-name>` (e.g., `mcp add tool data-processor`). The project provides an example tool in `src/tools/ExampleTool.ts` as a reference.

3

How can I use my-mcp-server with Claude Desktop?

Add the server configuration to your Claude Desktop config file (MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`, Windows: `%APPDATA%/Claude/claude_desktop_config.json`). For local development use `"command": "node", "args":["/absolute/path/to/my-mcp-server/dist/index.js"]`; after publishing, use `"command": "npx", "args": ["my-mcp-server"]`.

4

How do I publish my-mcp-server to npm?

Update `package.json` with a unique name, version, description, and ensure the `bin` field is correct. Build locally with `npm run build`, login to npm with `npm login`, then run `npm publish`.

5

What are the runtime dependencies for my-mcp-server?

Node.js is required. The project uses npm for package management and `mcp-framework` as its core dependency.

评论

开发工具 分类下的更多 MCP 服务器