mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
5b4f0eafcc
* configure logging * set mcp output logging also * fix type check errors * fix type check * rename Permalink schema type * fix type errors * add typechecks to ci workflow * pytest coverage setup * add tests for status cli * sync tests coverage * watch_service test coverage * tests for tool_utils.py * clean up imports * file_utils coverage * markdown plugins coverage * 99% test coverage * more test coverage, remove ObservationCategory * more tool coverage * fix type-check * format, upgrade deps --------- Co-authored-by: phernandez <phernandez@basicmachines.co>
16 lines
355 B
Python
16 lines
355 B
Python
"""Enhanced FastMCP server instance for Basic Memory."""
|
|
|
|
from mcp.server.fastmcp import FastMCP
|
|
|
|
from basic_memory.utils import setup_logging
|
|
|
|
# mcp console logging
|
|
# configure_logging(level='INFO')
|
|
|
|
|
|
# start our out file logging
|
|
setup_logging(log_file=".basic-memory/basic-memory.log")
|
|
|
|
# Create the shared server instance
|
|
mcp = FastMCP("Basic Memory")
|