Newcontext-mode—Save 98% of your AI coding agent's context windowLearn more
MCP Directory
ServersClientsBlog

context-mode

Save 98% of your AI coding agent's context window. Works with Claude Code, Cursor, Copilot, Codex, and more.

Try context-mode
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2026 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. databse-MCP

databse-MCP

GitHub

A quick MCP server to give AI access to a database

0
0

databse-MCP

Capability for LLMs to write an observation log, exposed as an MCP server. SQLite backend, Bearer token auth, Streamable HTTP transport.

Stack

  • FastMCP — MCP server + tool definitions
  • aiosqlite — async SQLite
  • Starlette — ASGI app + auth middleware
  • uvicorn — runtime

Nginx

location /mcp {
    proxy_pass http://127.0.0.1:8742;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

Get a cert on it (certbot/acme). The MCP endpoint is https://yourdomain.com/mcp.

Claude connector

In Claude → Customize → Connectors → Add custom connector:

  • Remote MCP server URL: https://yourdomain.com/mcp
  • OAuth Client Secret: your API_SECRET value

Claude passes it as Authorization: Bearer <secret> on every request.

Tools

ToolDescription
add_observationWrite a new observation. Requires summary (≤50 chars), observation, note.
list_observationsList all entries newest-first. Returns (id, summary, created_at) only.
search_observationsLIKE search on summary + observation text. Returns (id, summary, created_at).
get_observationFetch full entry by ID.
update_observationPatch any fields on an existing entry by ID.
delete_observationDelete entry by ID.

Search returns lightweight rows intentionally — call get_observation(id) once you have the right ID.

Data model

id          INTEGER  autoincrement
summary     TEXT     ≤50 chars, used for retrieval
observation TEXT     full observation
note        TEXT     sentiment / interpretation
created_at  TEXT     UTC ISO 8601

Environment variables

VariableRequiredDescription
API_SECRET✅Bearer token. Server refuses to start without it.
DB_PATH❌Path to SQLite file. Defaults to /data/mira.db.

Repository

IE
ieepirzy

ieepirzy/databse-MCP

Created

April 11, 2026

Updated

April 13, 2026

Language

Python

Category

AI