Sandbox Testing Walk-Through

MCP Observability

  1. Login to your BlueRock Sandbox instance

  2. Gemini is preloaded on the instance as an example. Run the gemini CLI command:: gemini

    You may need to start the MCP servers first:

    cd /opt/bluerock/trex/servicenow-mcp

    source .venv/bin/activate servicenow-mcp-sse --host=127.0.0.1 --port=8001 &

  3. Open a second terminal session. cd /opt/bluerock/trex/fastmcp source .venv/bin/activate python my_server.py &

  4. Run /mcp in the gemini CLI to view all available tools

The following tools will display:

  1. Execute the list_users tool for servicenow:

  1. Execute the mongo_list_databases tool for FastMCP:

  1. Now let’s check the CloudWatch logs in AWS. Navigate to CloudWatch and select your Log group

  1. Select your Log stream:

  1. Search for python_mcp in the search bar. This will list out all of the MCP calls and connections:

  1. Now search for { $.body.message.method = "initialize" }. This is the initial connection and MCP handshake between the client and server:

  1. Next let’s list all of the tools by searching for { $.body.message.result.tools[0].name = "list_tool_packages" }:

  1. Next search “tools/call”. Make sure to use the quotes in the search. This will now show the specific tool calls used by the MCP Client:

Last updated