Skip to content

finch-mcp-server: Finch mcp creates log file finch_server.log in wrong location #725

@csantanapr

Description

@csantanapr

Describe the bug

Everytime I start the finch-mcp-server using any Agentic App like Q CLI, or Q IDE, the mcp server creates a new file finch_server.log in the user's workspace (i.e. current directory of q chat, or root of IDE workspace)

This is a log file that should be created at all, all logs should go to stderr (when running in stdio) same way as the other mcp servers, this way the mcp clients can redirect the logs to the client's preferred place

Heres an example of the content of the file:

2025-07-02 10:26:54 | INFO | awslabs.finch_mcp_server.server:set_enable_aws_resource_write:373 | AWS resource write enabled: False
2025-07-02 10:26:54 | INFO | awslabs.finch_mcp_server.server:main:440 | Starting Finch MCP server
2025-07-02 10:26:54 | INFO | awslabs.finch_mcp_server.server:main:441 | Logs will be written to: finch_server.log

Expected Behavior

For the file to not be created

Current Behavior

The is created

Reproduction Steps

run the finch mcp server, and ls the current directory

Possible Solution

No response

Additional Information/Context

No response

OS

macos

Server

other

Server Version

No response

Region experiencing the issue

us-east-1

Other information

No response

Service quota

  • I have reviewed the service quotas for this construct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions