MCP-Server

MCP-Server

1.9

The MCP TypeScript Tools Server is a TypeScript-based server for implementing Model Context Protocol (MCP) to facilitate various tools such as calculators and note-taking for language models like Claude. It is designed to be extensible and compatible with both desktop and cursor interfaces.

MCP TypeScript Tools Server

A Model Context Protocol (MCP) server implementation in TypeScript, offering tools for LLMs like Claude. Features include a calculator, datetime, and notes tools, with an architecture that allows for extensions.

Features

  • Calculator for mathematical operations
  • DateTime for date and time in various formats
  • Notes for saving and retrieving notes
  • Compatible with Claude for Desktop and Cursor
  • Extensible tool architecture

Prerequisites

  • Node.js (v16 or higher)
  • npm
  • Claude for Desktop and/or Cursor

Installation

  1. Clone the repository and navigate into the project.
  2. Install dependencies with npm.
  3. Build the project.

Setting Up

Claude for Desktop
  • Configure the Claude desktop configuration file with the MCP server settings.
  • Restart Claude to confirm tool availability.
Cursor
  • Add the MCP server in Cursor settings.

Available Tools

  • Calculator: Evaluates mathematical expressions
  • DateTime: Provides the current date/time
  • Notes: Manages text notes

Adding New Tools

  • Create a new tool file in src/tools/
  • Register and export your tool

Development

  • Build and run the server.
  • Use nodemon for change watching.

Troubleshooting

  • Check logs and verify configurations for both Claude and Cursor setups.