Back to Home

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

Run Command
bun run index.ts

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassLow
Avg Tokens300
Stars0
Forks0
Last Update2025-11-28

Tags

MCP ServerTIL MemosBunSQLiteMastra