
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A readable example Model Context Protocol server implementation exposing a broad set of utility tools across math, image processing, filesystem, git, text, network, date/time, security, and browser categories.
Example MCP server with math, image, filesystem, git, network, and browser tools is cataloged as an MCP server attributed to maikmetzger. A readable example Model Context Protocol server implementation exposing a broad set of utility tools across math, image processing, filesystem, git, text, network, date/time, security, and browser categories. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Example MCP server with math, image, filesystem, git, network, and browser tools are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Tools are added by creating a tool definition, adding a controller handler method, registering the tool in the tool registry, and testing it.
README.md · 3ad05c9f69a4 · 采集于 2026-11-13 11:14:42 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This example MCP Server implementation uses Anthropic's open source Model Context Protocol. I found the existing examples to be unbearable to look at, mostly very long one-filers and very hard to read through. With this more manageable approach I want users to find examples that are easier to understand and get into than what is currently out there. Let this be the foundation for your next MCP Server project.
Requires Node, npm, typescript
The MCP server currently provides the following tools:
All tools include comprehensive error handling and input validation to ensure robust operation.
run npm install upon cloning the repository.
Check package.json for scripts to use.
Run npm run build to build the server.
Run node build/index.js to run the server.
I suggest the following however:
Run npm run dev to watch changes on save and then rebuild and re-run inspector so you can test it in localhost:5173
Before being able to run the MCP server in Cursor it must be built first.
This project includes a comprehensive testing framework for MCP tools using Jest. The tests ensure that all tools work correctly and handle edge cases properly.
To run all tests:
npm test
To run tests with coverage report:
npm run test:coverage
To run specific tests:
npm test -- --testPathPattern=tests/maths/
tests/maths/, tests/browser/, etc.)tests/maths/validation-edge-cases.test.ts)The test suite follows a comprehensive approach:
tests/tests/utils/mcpTestHelper.ts to simulate MCP tool callstests/fixtures/This guide explains how to add new tools to the MCP server. The process involves four main components:
/src/definitions/)First, create your tool definition in the appropriate category folder (e.g., maths/):
// Example: src/definitions/maths/addition.ts
import { Tool } from "@modelcontextprotocol/sdk/types.js";
export const ADDITION: Tool = {
name: "addition",
description: "Add two numbers together",
inputSchema: {
type: "object",
properties: {
a: {
type: "number",
description: "First number to add",
},
b: {
type: "number",
description: "Second number to add",
},
},
required: ["a", "b"],
},
};
Then add it to the category's main file:
// src/definitions/maths/main.ts
import { ADDITION } from "./addition.js";
import { MULTIPLICATION } from "./multiplication.js";
const MATHS_TOOLS = [ADDITION, MULTIPLICATION] as const;
export default MATHS_TOOLS;
/src/controllers/)Add the handler method to the appropriate controller:
// src/controllers/MathsController.ts
class MathsController {
async handleAddition(a: number, b: number) {
try {
const result = a + b;
return {
content: [
{
type: "text",
text: `Sum: ${result}`,
},
],
isError: false,
};
} catch (error) {
return {
content: [
{
type: "text",
text: `Error calculating sum: ${
error instanceof Error ? error.message : String(error)
}`,
},
],
isError: true,
};
}
}
}
/src/utils/toolRegistry.ts)Register your tool in the controllerMap:
const controllerMap: ControllerMap = {
// Math tools
addition: {
controller: MathsController,
handlerMethod: "handleAddition",
},
multiplication: {
controller: MathsController,
handlerMethod: "handleMultiplication",
},
};
The registry exports two main functions:
// Get tool definitions for server registration
export function getToolDefinitions() {
return {
MATHS_TOOLS,
};
}
// Get handler for tool execution
export function getToolHandler(toolName: string) {
const mapping = controllerMap[toolName];
if (!mapping) {
return null;
}
const controllerInstance = new mapping.controller();
return async (args: any) => {
return await controllerInstance[mapping.handlerMethod](
...Object.values(args)
);
};
}
/src/index.ts)The server is configured to use the tool registry:
const tools = getToolDefinitions();
const server = new Server(
{
name: "mcp-server",
version: "0.1.0",
},
{
capabilities: {
tools: getToolDefinitions(), // Register tools array
},
}
);
// List available tools
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: tools,
}));
// Handle tool calls
server.setRequestHandler(CallToolRequestSchema, async (request) => {
try {
const handler = getToolHandler(request.params.name);
if (!handler) {
return toolController.getUnknownToolResponse(request.params.name);
}
return await handler(request.params.arguments);
} catch (error) {
return toolController.getErrorResponse(error);
}
});
addition, multiplication)handle + PascalCase of the tool name (e.g., handleAddition, handleMultiplication)definitions/MathsController)src/definitions/category/toolname.tsmain.tstoolRegistry.ts's controllerMapcommandnode <absolute path to project>\build\index.js>It should light up green and list the registered tools.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Example MCP server with math, image, filesystem, git, network, and browser tools from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/testmcpserver)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.