A Model Context Protocol (MCP) server that enables AI agents to store and retrieve temporary information across conversations and contexts.
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.
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
}
}
}
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: {}
});
{
"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.
Install the package globally:
npm install -g @landicefu/temp-notes-mcp-server
Add the server to your MCP configuration:
{
"mcpServers": {
"temp-notes": {
"command": "temp-notes-mcp-server",
"disabled": false
}
}
}
Clone the repository:
git clone https://github.com/landicefu/temp-notes-mcp-server.git
cd temp-notes-mcp-server
Install dependencies:
npm install
Build the server:
npm run build
Add the server to your MCP configuration:
{
"mcpServers": {
"temp-notes": {
"command": "node",
"args": ["/path/to/temp-notes-mcp-server/build/index.js"],
"disabled": false
}
}
}
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"]
}
// 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"
}
});
// 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
// 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
}
});
// Clear the note when the task is complete
await use_mcp_tool({
server_name: "temp-notes",
tool_name: "clear_note",
arguments: {}
});
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:
This enables breaking down complex tasks into smaller, manageable pieces while maintaining the overall context and goals.
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:
This allows users to start fresh conversations without losing progress or having to repeat information.
When working across multiple repositories or projects, it can be challenging to transfer relevant information. The Temp Notes MCP Server enables agents to:
This facilitates knowledge transfer across different contexts without requiring complex setup.
Multiple agents or users can build upon each other's work by:
When exploring new technologies or approaches, agents can:
For projects requiring documentation, agents can:
By default, the Temp Notes MCP Server stores notes in the following location:
~/.mcp_config/temp_notes.txt
(which expands to /Users/username/.mcp_config/temp_notes.txt
)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:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
{
"mcpServers": {
"temp-notes": {
"env": {},
"args": [
"-y",
"@landicefu/temp-notes-mcp-server"
],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.