fix: Fix mcp server start log messages (#692)
<!-- .github/pull_request_template.md --> ## Description Change log messages so they are more understandable to mcp users ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.
This commit is contained in:
parent
ff0878dba8
commit
7367005f25
1 changed files with 3 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ async def main():
|
|||
try:
|
||||
from mcp.server.stdio import stdio_server
|
||||
|
||||
logger.info("Starting Cognee MCP server...")
|
||||
logger.info("Cognee MCP server started...")
|
||||
|
||||
async with stdio_server() as (read_stream, write_stream):
|
||||
await mcp.run(
|
||||
|
|
@ -215,7 +215,8 @@ async def main():
|
|||
raise_exceptions=True,
|
||||
)
|
||||
|
||||
logger.info("Cognee MCP server started.")
|
||||
logger.info("Cognee MCP server closed.")
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Server failed to start: {str(e)}", exc_info=True)
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue