devnotes
An MCP server that lets coding agents search, retrieve, and add development notes as plain markdown, capturing and sharing knowledge during live coding sessions.
README
devnotes
A CLI and MCP for capturing notes during a live coding session.
Somewhere between a wiki and a gist collection. When someone spends an afternoon on a weird Livewire quirk or a database driver difference, the fix gets captured as a quick note and is instantly available to anyone else who is a user of the back-end devnotes app. Notes are plain markdown, everyone can edit everything, nothing is precious. You can also shortcode #id to reference related notes.
There are three interfaces: a web UI for people, a JSON API for scripts and CLI tools, and an MCP server for coding agents.
Prerequisites
- Lando for local development (which brings its own PHP, database and node)
- A Flux UI Pro licence. The interface is built with Flux, so
composer installneeds your Flux credentials.
Getting started (local)
git clone https://github.com/ohnotnow/devnotes.git
cd devnotes
cp .env.example .env
lando start
lando composer config http-basic.composer.fluxui.dev your-flux-email your-flux-licence-key
lando composer install
lando npm install && lando npm run build
lando mfs # migrate:fresh + seed test data
The seeder creates a local admin login of admin2x / secret.
Day to day, the usual suspects are lando artisan, lando composer, lando npm, and lando mfs whenever you want a fresh database.
Production
The codebase should be fairly straightforward to get running on the base tier of Laravel Cloud. If you want to host it elsewhere have a look through the Laravel docs.
The API
Everything under /api/v1 uses Laravel Sanctum bearer tokens. Users create their own tokens on the "API tokens" page in the web UI.
curl -H "Authorization: Bearer $TOKEN" https://your-devnotes-host/api/v1/notes?search=livewire
The usual REST verbs work: list and search notes, fetch one, create, update (send the full payload, not a partial), and delete (soft, so #id references keep resolving).
The MCP server
The MCP endpoint lives at /mcp and authenticates with OAuth 2.1. The client discovers the OAuth endpoints, registers itself, and pops a browser where you approve it while signed in to devnotes.
claude mcp add --transport http devnotes https://your-devnotes-host/mcp
Agents get three tools: search-notes (id, title and a short snippet per hit), get-note (the full markdown, accepts 49 or #49), and add-note (returns the new note's id). The server's instructions nudge agents to search before debugging from scratch and to suggest capturing a note when a session solves something gnarly.
The OAuth keys come from php artisan passport:keys (run it once per environment). While you are developing, config/mcp.php allows any redirect domain; lock that down before putting the app anywhere public.
Search
Search is Laravel Scout. The example env is set up for meilisearch, but the database driver works fine for a small install with no extra moving parts, just set SCOUT_DRIVER=database.
Running tests
php artisan test --compact
Contributing
Fork it, clone it, follow the getting started steps above, and check the tests pass before and after your change. Small, focused pull requests are very welcome. If you spot a gotcha worth sharing, well, that is rather the point of the whole thing.
Licence
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.