MCP Hub
Back to servers

My Tools MCP Server

Provides file reading and mathematical calculation tools through the Model Context Protocol. Enables reading file contents and evaluating mathematical expressions via stdio transport.

glama
Updated
Apr 4, 2026

MCP Server - My Tools

A Model Context Protocol (MCP) server that provides utility tools for file operations and calculations.

Features

  • read_file - Reads file content from a specified path
  • calculator - Evaluates mathematical expressions

Installation

npm install

Usage

Start the MCP server:

node mcp-server.js

The server communicates via stdio transport using the Model Context Protocol.

Configuration

Adding to settings.json

To use this MCP server with VS Code (or compatible editors), add the following configuration to your settings.json:

{
  "mcp": {
    "servers": {
      "my-tools": {
        "command": "node",
        "args": ["/Users/bogdansitov/mcp/mcp-server.js"],
        "disabled": false
      }
    }
  }
}

Note: Update the path to mcp-server.js if the server is located elsewhere on your system.

Available Tools

read_file

Reads the content of a file at the given path.

Input:

  • path (string) - The absolute path to the file

Output:

  • File content as string

calculator

Evaluates a mathematical expression.

Input:

  • expression (string) - The mathematical expression to evaluate

Output:

  • Result of the expression

Dependencies

License

ISC

Reviews

No reviews yet

Sign in to write a review