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"
}
]
}
MCP Environment
Show Data
Inspect the current state of an MCP server’s database
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
Response
The response structure depends on the MCP server queried. Each server returns its database tables as JSON objects.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"
}
]
}