mcp-boilerplate
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-boilerplatefetch the URL https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§© MCP Server Template Boilerplate
Production-ready MCP server starter with TypeScript, realistic examples, and Claude Desktop integration.
A production-ready boilerplate for building Model Context Protocol (MCP) servers using TypeScript and Node.js.
Features
TypeScript pre-configured for modern module resolution (
NodeNext)tsupconfigured for lightning-fast buildsClean MCP SDK setup using
StdioServerTransportExample Tool (
web_fetch) β fetches URLs and returns content as a resourceExample Resource (
file://read) β reads local files securelyClaude Desktop integration guide
Quick Start
Installation
git clone https://github.com/agiulucom42-del/mcp-boilerplate.git
cd mcp-boilerplate
npm install
npm run buildRun the server
npm startMCP servers using stdio communicate via standard input/output. npm start waits for JSON-RPC messages from an MCP client.
Integration with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"my-server": {
"command": "node",
"args": ["/absolute/path/to/mcp-boilerplate/dist/index.js"]
}
}
}Example Tool: web_fetch
The boilerplate ships with a realistic tool that fetches a URL and returns its content:
server.setRequestHandler(CallToolRequestSchema, async (request) => {
if (request.params.name === "web_fetch") {
const url = String(request.params.arguments?.url);
const response = await fetch(url);
const text = await response.text();
return {
content: [{ type: "text", text: text.slice(0, 10000) }]
};
}
throw new Error("Tool not found");
});Example Resource: file://read
Safely read files from an allowed directory:
server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
const path = request.params.uri.replace("file://", "");
const content = await fs.readFile(path, "utf-8");
return {
contents: [{ uri: request.params.uri, text: content }]
};
});How to Customize
Add Tools: Edit the
CallToolRequestSchemahandler insrc/index.tsAdd Resources: Edit
ReadResourceRequestSchemaandListResourcesRequestSchemaChange Name: Update the
nameinnew Server()instantiation
π HUQAN Ecosystem
mcp-boilerplate is part of the HUQAN trust infrastructure for AI. Sister projects:
Tool | What it does |
π΄ Stop leaking API keys | |
π Score your README quality | |
π‘οΈ Scan repo before giving to agent | |
π Block PR scope creep | |
π Compare LLM outputs | |
π° Track LLM API costs | |
β Validate LLM JSON outputs | |
π§© MCP server starter You are here |
License
MIT Β© HUQAN
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automatiβ¦
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoβ¦
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agiulucom42-del/mcp-boilerplate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server