docs

Plug-and-Play Documentation

docs.sh — Copy-paste snippets
[ _ ][ 🗗 ][ X ]

Your GitHub repository is your most important DevRel blog. Tested configs, copy-paste ready.

--tool@@aashari/boilerplate-mcp-server

Updated MCP SDK boilerplate (Feb 2026) with layered architecture for building custom Claude/OpenClaw MCP servers in <30 min.

install
git clone https://github.com/aashari/boilerplate-mcp-server.git && cd boilerplate-mcp-server && npm install && npm run mcp:stdio
typescript
// src/tools/example.tool.ts
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';

export function register(server: McpServer) {
  server.tool('get_data', 'Gets data from API', 
    { param: z.string() },
    async (args) => {
      const res = await fetch(`https://api.example.com/${args.param}`);
      return { content: [{ type: 'text', text: await res.text() }] };
    }
  );
}
--tool@@aashari/boilerplate-mcp-server

Updated MCP SDK boilerplate (Feb 2026) with layered architecture for building custom Claude/OpenClaw MCP servers in <30 min.

install
git clone https://github.com/aashari/boilerplate-mcp-server.git && cd boilerplate-mcp-server && npm install && npm run mcp:stdio
typescript
// src/tools/example.tool.ts
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';

export function register(server: McpServer) {
  server.tool('get_data', 'Gets data from API', 
    { param: z.string() },
    async (args) => {
      const res = await fetch(`https://api.example.com/${args.param}`);
      return { content: [{ type: 'text', text: await res.text() }] };
    }
  );
}