Pixeltable Developer

v0.2.1
io.github.pixeltable/mcp-server-pixeltable-developer Checked 1 day ago Published 1 month ago

Pixeltable MCP server for declarative multimodal tables, computed columns, and services.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pixeltable_list_catalog List catalog

List tables, views, and directories in the local Pixeltable catalog.

ParameterTypeDescription
include_countsbooleanRun count queries and include row counts. This can be slower on large tables.
pathstringLocal catalog directory, or empty for the root.

pixeltable_describe Describe table

Return schema, computed-column, index, and version metadata for a local table or view.

ParameterTypeDescription
path *stringLocal table or view path.

pixeltable_rows Preview rows

Preview up to 100 rows without evaluating unstored computed columns unless explicitly requested.

ParameterTypeDescription
path *stringLocal table or view path.
columnsOptional column subset. Explicit unstored columns may be evaluated.
limitintegerMaximum rows to return.

pixeltable_get_row Get row by primary key

Look up one local table row using primary-key values in declared key order. The table must declare a primary key; pixeltable_describe reports whether it does.

ParameterTypeDescription
path *stringLocal table path with a primary key.
primary_key *arrayPrimary-key values in the order shown by describe.
columnsOptional column subset.

pixeltable_errors List computed-column errors

List failed computed-column values for a local table that has a primary key. The table must declare one; pixeltable_describe reports whether it does.

ParameterTypeDescription
path *stringLocal table path with a primary key.
columnOptional computed column to filter by.

pixeltable_insert_rows Insert rows

Insert 1 to 1,000 JSON rows into a local table and run its stored computed columns.

ParameterTypeDescription
path *stringLocal base-table path.
rows *arrayRows keyed by declared column name.
on_errorstringAbort the batch on a computation error, or retain rows and record errors.

pixeltable_recompute Recompute columns

Preview or run computed-column recovery. Defaults to failed rows only and a dry run.

ParameterTypeDescription
columns *arrayComputed columns to recompute.
path *stringLocal table or view path.
cascadebooleanAlso recompute dependent computed columns.
dry_runbooleanReturn the plan without changing stored values.
errors_onlybooleanOnly recompute rows whose selected column failed.

pixeltable_scaffold_app Scaffold application

Initialize the project and write one Pixeltable 0.7 application or brief schema example.

ParameterTypeDescription
kindstringGenerate an HTTP service application or a brief schema-only application.
output_pathNew project-relative Python file. Defaults to app.py or schema.py.

pixeltable_schema_check Check schema file

Validate a TableModel schema file without reading or changing a catalog.

ParameterTypeDescription
schema_file *stringProject-contained Python schema file.

pixeltable_schema_diff Diff schema

Read the migration plan between a TableModel schema file and a local or hosted target.

ParameterTypeDescription
schema_file *stringProject-contained Python schema file.
target *stringLocal catalog directory or pxt://org:database/path URI.

pixeltable_schema_update Update schema

Reconcile a TableModel schema against a target. Destructive plans require explicit permission.

ParameterTypeDescription
schema_file *stringProject-contained Python schema file.
target *stringLocal catalog directory or pxt://org:database/path URI.
allow_destructivebooleanPermit column or index drops. Unsupported expression/type changes remain refused.
dry_runbooleanReturn the plan without changing the target.

pixeltable_schema_prune Prune schema

Preview or remove target tables that are absent from the TableModel schema.

ParameterTypeDescription
schema_file *stringProject-contained Python schema file.
target *stringLocal catalog directory or pxt://org:database/path URI.
dry_runbooleanList removals without dropping tables.

pixeltable_service_check Check service file

Validate a FastAPIRouter application without changing a catalog or starting a service.

ParameterTypeDescription
app_file *stringProject-contained Python service application.

pixeltable_service_diff Diff service

Compare declared FastAPI services with a local or hosted target without changing either.

ParameterTypeDescription
app_file *stringProject-contained Python service application.
target *stringLocal catalog directory or pxt://org:database/path URI.
enable_otelbooleanInclude OpenTelemetry state in the comparison.
serviceOptional declared service name.

pixeltable_service_update Update service

Start or reconcile declared services against a local or hosted target.

ParameterTypeDescription
app_file *stringProject-contained Python service application.
target *stringLocal catalog directory or pxt://org:database/path URI.
allow_destructivebooleanPermit route removals or changes that stop serving existing routes.
dry_runbooleanReturn the plan without starting or restarting services.
enable_otelbooleanStart services with OpenTelemetry instrumentation.
portPort for one named service.
serviceOptional declared service name.

pixeltable_service_list List services

List services known locally or for one explicit local/hosted target.

ParameterTypeDescription
targetOptional local catalog directory or pxt://org:database/path URI.

pixeltable_service_stop Stop services

Stop one or more named services without removing their configuration.

ParameterTypeDescription
names *arrayService names or TARGET/NAME references.

pixeltable_service_prune Prune services

Preview or remove running services absent from the application file.

ParameterTypeDescription
app_file *stringProject-contained Python service application.
target *stringLocal catalog directory or pxt://org:database/path URI.
dry_runbooleanList removals without stopping services.