MCP.so
Sign In
Servers

my-mcp-server

@distractdiverge

A prototype using mcp-framework to build tools for AIs

Overview

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

FAQ from my-mcp-server

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.

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.

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"].

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.

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.

More from Developer Tools