loading…
Search for a command to run...
loading…
A local Model Context Protocol (MCP) server that exposes custom tools to Claude Desktop, enabling direct interaction with your local environment. It provides a
A local Model Context Protocol (MCP) server that exposes custom tools to Claude Desktop, enabling direct interaction with your local environment. It provides a framework for building and integrating custom TypeScript tools into the Claude interface.
A local Model Context Protocol (MCP) server that exposes custom tools to Claude Desktop, enabling Claude to interact with your local environment directly.
Before you begin, make sure you have the following installed:
Open a terminal, navigate to the project folder, and install:
cd <project-path>
npm install
Compile the TypeScript source:
npm run build
This will generate the compiled output in the dist/ folder (typically dist/index.js).
Claude Desktop needs to know about your MCP server. Open (or create) the config file at:
%APPDATA%\Claude\claude_desktop_config.json
Tip: You can open this quickly by pressing
Win + R, typing%APPDATA%\Claude, and pressing Enter.
Paste the following configuration:
{
"mcpServers": {
"mcp-tools": {
"command": "node",
"args": [
"<project-path>/dist/index.js"
]
}
}
}
Note: Replace
<project-path>with the actual path to your project folder (e.g.C:\\Users\\username\\Desktop\\mcp-tools). If you already have other MCP servers in your config, add"mcp-tools"as a new entry inside"mcpServers"— don't replace the entire file.
Fully quit and relaunch Claude Desktop so it picks up the new config.
On Windows, make sure to right-click the system tray icon and choose Quit — just closing the window may leave it running in the background.
Once Claude Desktop restarts:
mcp-tools tools listed and availableIf the tools don't appear, see Troubleshooting below.
Once connected, you can ask Claude to use your tools naturally in conversation. For example:
"Can you use the mcp-tools to..."
Claude will automatically detect when a tool is relevant and invoke it on your behalf.
If you modify any source files, rebuild and restart Claude Desktop:
npm run build
Then fully restart Claude Desktop for the changes to take effect.
claude_desktop_config.json matches your actual project location exactly (watch for single vs double backslashes)npm run build completed without errors and dist/index.js exists# Make sure dependencies are installed
npm install
# Check your Node version (needs v18+)
node --version
If %APPDATA%\Claude\ doesn't exist yet, create the folder and the claude_desktop_config.json file manually.
mcp-tools/
├── src/
│ └── index.ts # Main MCP server entry point
├── dist/ # Compiled output (generated by build)
│ └── index.js
├── package.json
├── tsconfig.json
└── README.md
Different ways to compile the TypeScript source depending on your setup:
# Recommended — bundle with esbuild (fastest, most compatible)
npx esbuild src/index.ts --bundle --platform=node --format=cjs --target=node18 --outfile=dist/index.js
# Alternative — compile with tsc directly
npx tsc index.ts --module commonjs --target ES2020 --esModuleInterop true --outDir dist
https://simplescraper.io/blog/how-to-mcp#core-server-setup-with-express
https://vercel.com/kb/guide/mcp-server-with-weather-tool-express
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-tools": {
"command": "npx",
"args": []
}
}
}