Loader
FreeNot checkedEnables to create MCP tools by simply placing .ts or .js files in a folder, with hot reload and TypeScript support.
About
Enables to create MCP tools by simply placing .ts or .js files in a folder, with hot reload and TypeScript support.
README
Drop .ts or .js files in a folder. They become MCP tools. That's it.
Quick Start
// .claude/tool/math.ts
import { tool } from "mcp-loader";
export const add = tool({
description: "Add two numbers",
args: {
a: tool.schema.number(),
b: tool.schema.number(),
},
execute: ({ a, b }) => a + b,
});
Add to .mcp.json:
{
"mcpServers": {
"tools": {
"command": "npx",
"args": ["mcp-loader", ".claude/tool"]
}
}
}
Done. Tools work in Claude.
Install
Global install:
npm install -g mcp-loader
Or as a dev dependency:
npm install --save-dev mcp-loader
Or just use npx (no install):
npx mcp-loader .claude/tool
Features
- Hot reload - Save file, tool updates (disable with
MCP_NO_HOT_RELOAD=true) - Multiple tools per file - Use named exports
- MCP context - Second param in execute has request info
- TypeScript - Full type safety
Note
After changing tools, refresh with /mcp in Claude Code or restart Claude Desktop.
License
MIT
Install Loader in Claude Desktop, Claude Code & Cursor
unyly install mcp-loaderInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mcp-loader -- npx -y mcp-loaderFAQ
Is Loader MCP free?
Yes, Loader MCP is free — one-click install via Unyly at no cost.
Does Loader need an API key?
No, Loader runs without API keys or environment variables.
Is Loader hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Loader in Claude Desktop, Claude Code or Cursor?
Open Loader on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Loader with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
