MCP Personal Tools Server

MCP Personal Tools Server

A simple server implementing the Model Context Protocol (MCP) that exposes personal tools like note-taking for compatible MCP clients or agents.

Category
Visit Server

Tools

add-note

Ajoute une nouvelle ligne au fichier de notes

README

MCP Personal Tools Server

This project is a simple server that implements the Model Context Protocol (MCP). It exposes a set of personal tools that can be used by a compatible MCP client or agent. The initial tool allows for adding notes to a local file.

Features

  • Model Context Protocol (MCP) Server: Built using the @modelcontextprotocol/sdk.
  • Extensible Toolset: Designed to be easily extended with new custom tools.
  • Note-Taking Tool: Includes a simple add-note tool to append text to a notes file.

Prerequisites

  • Node.js (v18 or later recommended)
  • npm (usually comes with Node.js)

Installation

  1. Clone the repository or set up the project files.
  2. Install the required dependencies:
    npm install
    

Usage

There are several ways to run the server.

Development Mode

To run the server with hot-reloading for development, use:

npm run server:dev

Production

  1. Build the TypeScript code: This command compiles the src/server.ts file into JavaScript in the build directory.

    npm run build
    
  2. Start the server: This command runs the compiled server.

    npm start
    

Inspecting the Server

The Model Context Protocol includes an inspector tool to view the server's capabilities (like the tools it offers). To use it, run:

npm run server:inspect

This will start your server and open the inspector, allowing you to see the available tools and their schemas.

Available Tools

add-note

  • Description: Adds a new line with a timestamp to a notes file.
  • Parameters:
    • text (string): The text content to add to the note.
  • File Location: The notes are stored in a file named note.txt located in ~/Documents/notes/. The directory is created automatically if it does not exist.

How to Add a New Tool

You can easily add new tools to the server by following the pattern in src/server.ts.

  1. Open src/server.ts.
  2. Use the server.tool() method to define your new tool.
  3. Provide a name, a description, a Zod schema for the input parameters, and an async function to execute the tool's logic.

Example

server.tool("new-tool-name", "A description of what the new tool does.", {
    // Define input parameters using Zod
    param1: z.string().describe("Description for param1"),
    param2: z.boolean().describe("Description for param2"),
}, {
    // Tool metadata (optional but recommended)
    title: "New Tool Title",
    readOnlyHint: false,
    destructiveHint: false,
    idempotentHint: false,
    openWorldHint: true,
}, async ({ param1, param2 }) => {
    // Your tool's logic here
    console.log(`Executing with: ${param1} and ${param2}`);
    
    // Return a result
    return {
        content: [{ type: "text", text: "New tool executed successfully!" }]
    };
})

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured