til-mcp
by molefrog
Overview
A minimal Model Context Protocol (MCP) server for storing and retrieving 'Today I Learned' memos, designed to expose tools for AI interaction.
Installation
bun run index.tsEnvironment Variables
- DB_PATH
- MCP_AUTH_SECRET
- PORT
Security Notes
The server's authentication is disabled by default if the `MCP_AUTH_SECRET` environment variable is not set. This is a critical security risk for a public-facing deployment, as it allows unauthorized access to `listMemos`, `getMemo`, and crucially, `addMemo` (which can create or update entries). While input validation is present via Zod schemas and SQL injection is mitigated using prepared statements for SQLite queries, the lack of mandatory authentication by default and absence of rate limiting or more robust access controls significantly lowers the security posture.
Similar Servers
sqlite-mcp
A Model Context Protocol (MCP) server that enables LLMs to interact with SQLite databases by providing tools and resources for querying and managing data.
mcp-obsidian-via-rest
An MCP server that enables AI assistants to read, search, and interact with Obsidian notes via its Local REST API, supporting multiple network transports and self-healing connections.
simple-memory-mcp
A Model Context Protocol (MCP) server for persistent memory storage, providing intelligent tagging and full-text search for AI assistants to remember context across conversations.
hono-oauth-mcp
A Hono-based Model Context Protocol (MCP) server that integrates with any MCP-compliant OAuth2 server for authentication, deployable across Supabase Edge Functions, Cloudflare Workers, and Deno Deploy.