Skip to main content
POST
/
show-data
curl -X POST http://localhost:3004/show-data \
  -H "Content-Type: application/json" \
  -d '{
    "image": "agent-environment:latest",
    "tags": {"assignmentId": "my-test-session"},
    "serverName": "calendar"
  }'
{
  "events": [
    {
      "id": "evt_abc123",
      "title": "Team Meeting",
      "start_time": 1735689600,
      "end_time": 1735693200,
      "location": "Conference Room A",
      "created_at": 1735600000
    }
  ],
  "tags": [
    {
      "id": "tag_001",
      "name": "work"
    }
  ]
}
Query the current state of a specific MCP server’s database. Use this to inspect data created by tool calls within your session.
Contact Scale to receive Docker images for your environments.

Request Body

image
string
required
Docker image identifier for the MCP environment. Contact Scale to obtain the image.
tags
object
required
Session scope tags for data isolation
serverName
string
required
Name of the MCP server to query (e.g., calendar, crm, email)

Response

The response structure depends on the MCP server queried. Each server returns its database tables as JSON objects.
[tableName]
array
Array of records in the specified table
curl -X POST http://localhost:3004/show-data \
  -H "Content-Type: application/json" \
  -d '{
    "image": "agent-environment:latest",
    "tags": {"assignmentId": "my-test-session"},
    "serverName": "calendar"
  }'
{
  "events": [
    {
      "id": "evt_abc123",
      "title": "Team Meeting",
      "start_time": 1735689600,
      "end_time": 1735693200,
      "location": "Conference Room A",
      "created_at": 1735600000
    }
  ],
  "tags": [
    {
      "id": "tag_001",
      "name": "work"
    }
  ]
}