Skip to main content
Glama
physikerweltvn

my-mcp-server

README.md
# my-mcp-server

A small MCP server exposing my notes to Claude Desktop

Small but I use it weekly.

## Install

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

## Highlights

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

## How to use

```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/my-mcp-server/server.py"],
#       "env": {"MCP_NOTES_FILE": "/abs/path/to/notes.json"}
#     }
#   }
# }
python server.py --help
```

## Project structure

```text
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   └── bug_report.md
│   └── workflows/
│       └── ci.yml
├── docs/
│   ├── configuration.md
│   └── usage.md
├── tests/
│   └── test_notes.py
├── .gitignore
├── CONTRIBUTING.md
├── requirements.txt
└── server.py
```

## Development

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

Maintenance

ActivityMaintained
ResponsivenessNo issues