# Mcp Note Taker

> This project demonstrates how to create and use a Model Context Protocol (MCP) server that can provide custom tools and resources to AI assistants like Claude and others that support the MCP standard. The server includes: - Simple math operations (addition) - Dynamic greeting resource - Web crawling capability using the crawl4ai library

- **Type:** MCP server
- **Install:** `agentstack add mcp-tarcisiophilips-mcp-note-taker`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [TarcisioPhilips](https://agentstack.voostack.com/s/tarcisiophilips)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [TarcisioPhilips](https://github.com/TarcisioPhilips)
- **Source:** https://github.com/TarcisioPhilips/mcp-note-taker

## Install

```sh
agentstack add mcp-tarcisiophilips-mcp-note-taker
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MCP Note Taker (POC)

A proof-of-concept implementation of a Model Context Protocol (MCP) server for AI assistant note-taking, featuring custom tools and resources for managing notes.

## Overview

This project demonstrates how to create and use a Model Context Protocol (MCP) server that provides note-taking capabilities to AI assistants (such as Claude, Cursor, and others supporting MCP). The server includes:

- A tool to add notes
- A resource to fetch the latest note
- A prompt to summarize all notes

All notes are stored in a local `notes.txt` file in the project directory.

## Requirements

- Python 3.11
- Required packages listed in requirements.txt

## Installation and Setup

1. Clone this repository:

```bash
git clone https://github.com/yourusername/mcp-server-poc.git
cd mcp-server-poc
```

2. Create and activate a virtual environment:

```bash
# Init uv package manager 
uv init

# Create a Python 3.11 virtual environment
uv venv

# Activate on Windows
 .venv\Scripts\activate

# Activate on macOS/Linux
source venv/bin/activate
```

3. Install the required packages:

```bash
uv pip install -r requirements.txt
```

4. (Optional) Install MCP CLI tools if needed for development or alternative integrations:

```bash
uv add "mcp[cli]"
```

## Running the Application

To run the MCP server:

```bash
uv run mcp
```

The server will start and wait for connections using the stdio transport method.

## Integrating with Cursor

To use this MCP server with Cursor IDE:

1. Create or edit the file `~/.cursor/mcp.json` (on Windows: `C:\Users\\.cursor\mcp.json`) with the following content:

```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "python", 
            "args": [
                "ABSOLUTE/PATH/TO/main.py"
            ]
        }
    }
}
```

2. Replace the path with the absolute path to your `main.py` file.
   - On Windows, use double backslashes: `C:\\Users\\username\\path\\to\\main.py`
   - On macOS/Linux, use regular slashes: `/Users/username/path/to/main.py`

3. Restart Cursor completely (including ending any background processes) to load the MCP server.

## Features

### Tools

- **add_note(note: str)**: Adds a note to the `notes.txt` file and returns a confirmation message.

### Resources

- **notes://latest**: Returns the latest note from the `notes.txt` file, or a message if there are no notes yet.

### Prompts

- **note_summary_prompt()**: Generates a prompt asking the AI to summarize all current notes in `notes.txt`.

## Technical Details

- All notes are stored in a plain text file named `notes.txt` in the project root. This file is created automatically if it does not exist.
- The server uses the [Model Context Protocol](https://modelcontextprotocol.io/) SDK and the `mcp[cli]` dependency.

### Windows Binary Mode Fix

If you use stdio transport on Windows, you may need to set binary mode for stdin/stdout. See the [MCP documentation](https://modelcontextprotocol.io/) for details.

## Troubleshooting

- Verify that all required packages are installed (`pip list` to check)
- Check that the absolute path in the configuration file is correct
- Make sure the MCP server is running with the proper version of Python (3.11)
- If you encounter issues, try running the MCP server directly to see any error output

## License

[MIT License](LICENSE)

## Acknowledgements

- This project uses the [Model Context Protocol](https://modelcontextprotocol.io/) SDK

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [TarcisioPhilips](https://github.com/TarcisioPhilips)
- **Source:** [TarcisioPhilips/mcp-note-taker](https://github.com/TarcisioPhilips/mcp-note-taker)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-tarcisiophilips-mcp-note-taker
- Seller: https://agentstack.voostack.com/s/tarcisiophilips
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
