Skip to main content
Glama
Ioniq3423

notes-box

by Ioniq3423
README.md
# mcp-notes-server

A small MCP server exposing my notes to Claude Desktop

## Usage

```bash
# claude_desktop_config.json  (use ABSOLUTE paths: Claude does not
# run from the repo directory, so a bare "server.py" is not found)
# {
#   "mcpServers": {
#     "notes-box": {
#       "command": "python",
#       "args": ["/abs/path/to/mcp-notes-server/server.py"],
#       "env": {"MCP_NOTES_FILE": "/abs/path/to/notes.json"}
#     }
#   }
# }
python server.py --help
```

## Install

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

## Highlights

- Atomic saves (temp file + os.replace) behind a write lock
- Five tools: add / get / update / delete / list notes
- Includes a Claude Desktop config snippet with absolute paths
- Notes path set by MCP_NOTES_FILE or --notes-file
- A missing note raises instead of returning the string 'not found'
- Every tool carries a real docstring, so clients get descriptions

## Project structure

```text
├── docs/
│   └── roadmap.md
├── tests/
│   └── test_notes.py
├── .gitattributes
├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── SECURITY.md
├── requirements.txt
└── server.py
```

## Development

```bash
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python -m pytest -q
```

## License

MIT licensed, see LICENSE.

Maintenance

ActivityMaintained
ResponsivenessNo issues