Sponsored by Deepsite.site

Temp Notes MCP Server

Created By
landicefu9 months ago
Content

Temp Notes MCP Server

A Model Context Protocol (MCP) server that enables AI agents to store and retrieve temporary information across conversations and contexts.

Table of Contents

Purpose

The Temp Notes MCP Server provides a simple yet powerful way for AI agents to maintain state and context across multiple conversations or when working with complex tasks that exceed the context window limitations. It serves as a temporary memory system that allows agents to store notes, checklists, code snippets, and other information that can be retrieved later.

Key Features

  • Persistent temporary storage across conversations
  • Simple API for reading, writing, and appending notes
  • Lightweight and easy to integrate with existing workflows
  • Enables complex multi-step tasks to be broken down into manageable pieces

Quick Start

  1. Add the server to your MCP configuration using npx (no installation required):

    {
      "mcpServers": {
        "temp-notes": {
          "command": "npx",
          "args": ["-y", "@landicefu/temp-notes-mcp-server"],
          "disabled": false
        }
      }
    }
    
  2. Start using it in your conversations:

    // Store information
    await use_mcp_tool({
      server_name: "temp-notes",
      tool_name: "write_note",
      arguments: { content: "Important information to remember" }
    });
    
    // Retrieve information later
    const result = await use_mcp_tool({
      server_name: "temp-notes",
      tool_name: "read_note",
      arguments: {}
    });
    

Installation

Option 1: Use with npx (No Installation Required)

  1. Add the server to your MCP configuration:
    {
      "mcpServers": {
        "temp-notes": {
          "command": "npx",
          "args": ["-y", "@landicefu/temp-notes-mcp-server"],
          "disabled": false
        }
      }
    }
    

This option runs the server directly using npx without requiring a global installation.

Option 2: Install from npm

  1. Install the package globally:

    npm install -g @landicefu/temp-notes-mcp-server
    
  2. Add the server to your MCP configuration:

    {
      "mcpServers": {
        "temp-notes": {
          "command": "temp-notes-mcp-server",
          "disabled": false
        }
      }
    }
    

Option 3: Install from source

  1. Clone the repository:

    git clone https://github.com/landicefu/temp-notes-mcp-server.git
    cd temp-notes-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    
  4. Add the server to your MCP configuration:

    {
      "mcpServers": {
        "temp-notes": {
          "command": "node",
          "args": ["/path/to/temp-notes-mcp-server/build/index.js"],
          "disabled": false
        }
      }
    }
    

Tools

The Temp Notes MCP Server provides the following tools:

clear_note

Clears the current note, making it empty.

{
  "type": "object",
  "properties": {},
  "required": []
}

write_note

Replaces the current note with a new string.

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The content to write to the note"
    }
  },
  "required": ["content"]
}

read_note

Returns the current content of the note.

{
  "type": "object",
  "properties": {},
  "required": []
}

append_note

Appends new text to the current note, starting with a new line. Optionally includes a separator line.

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The content to append to the note"
    },
    "include_separator": {
      "type": "boolean",
      "description": "Whether to include a separator line (---) before the new content",
      "default": true
    }
  },
  "required": ["content"]
}

Usage Examples

Storing a Task Checklist

// Store a checklist for a complex task
await use_mcp_tool({
  server_name: "temp-notes",
  tool_name: "write_note",
  arguments: {
    content: "# Project Refactoring Checklist\n\n- [ ] Analyze current architecture\n- [ ] Identify performance bottlenecks\n- [ ] Create new component structure\n- [ ] Implement data layer changes\n- [ ] Update UI components\n- [ ] Write tests\n- [ ] Document changes"
  }
});

Retrieving Stored Information

// In a new conversation, retrieve the checklist
const result = await use_mcp_tool({
  server_name: "temp-notes",
  tool_name: "read_note",
  arguments: {}
});

// Result contains the previously stored checklist

Updating Progress

// Update the note with progress
await use_mcp_tool({
  server_name: "temp-notes",
  tool_name: "append_note",
  arguments: {
    content: "## Architecture Analysis Complete\n\nKey findings:\n- Current structure has circular dependencies\n- Data fetching is inefficient\n- Component reuse is minimal\n\nRecommendation: Implement repository pattern and component composition",
    include_separator: true
  }
});

Clearing Notes When Done

// Clear the note when the task is complete
await use_mcp_tool({
  server_name: "temp-notes",
  tool_name: "clear_note",
  arguments: {}
});

Use Cases

1. Complex Coding Tasks

When working on complex coding tasks, AI agents often face context window limitations that make it difficult to complete all steps in a single conversation. The Temp Notes MCP Server allows agents to:

  • Store a checklist of tasks to be completed
  • Include detailed descriptions for each subtask
  • Note which files need to be examined for specific subtasks
  • Track progress across multiple conversations
  • Maintain important context that would otherwise be lost

This enables breaking down complex tasks into smaller, manageable pieces while maintaining the overall context and goals.

2. Context Preservation Across Conversations

As conversations grow longer, context windows can become full, limiting the agent's ability to maintain all relevant information. With the Temp Notes MCP Server, agents can:

  • Summarize the current task status
  • Document completed steps and remaining work
  • Store key insights and decisions made
  • Outline next steps for continuation in a new conversation

This allows users to start fresh conversations without losing progress or having to repeat information.

3. Cross-Repository Information Transfer

When working across multiple repositories or projects, it can be challenging to transfer relevant information. The Temp Notes MCP Server enables agents to:

  • Store code snippets from one repository
  • Save file contents for reference
  • Document patterns or approaches from one project to apply to another
  • Create temporary documentation that bridges multiple projects

This facilitates knowledge transfer across different contexts without requiring complex setup.

4. Collaborative Workflows

Multiple agents or users can build upon each other's work by:

  • Storing intermediate results for other agents to use
  • Creating shared task lists that can be updated by different agents
  • Documenting approaches and methodologies for others to follow
  • Maintaining a shared understanding of complex problems

5. Learning and Experimentation

When exploring new technologies or approaches, agents can:

  • Document learning resources and references
  • Store example code and usage patterns
  • Track experiments and their outcomes
  • Build a knowledge base of techniques and solutions

6. Incremental Documentation

For projects requiring documentation, agents can:

  • Gather information incrementally across multiple sessions
  • Organize content before finalizing documentation
  • Store draft sections that can be refined over time
  • Collect examples and use cases from different interactions

Note Storage

By default, the Temp Notes MCP Server stores notes in the following location:

  • On macOS/Linux: ~/.mcp_config/temp_notes.txt (which expands to /Users/username/.mcp_config/temp_notes.txt)
  • On Windows: C:\Users\username\.mcp_config\temp_notes.txt

This file is created automatically when you first write a note. If the file doesn't exist when you try to read a note, the server will return an empty string and create the file when you write to it next time.

The server handles the following scenarios:

  • If the file doesn't exist when reading: Returns an empty string
  • If the directory doesn't exist: Creates the directory structure automatically when writing
  • If the file is corrupted or inaccessible: Returns appropriate error messages

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"