Pixeltable MCP Server (Developer Edition)
Enables local AI analysis of images and multimodal data processing through Ollama integration.
Provides an interactive REPL for executing Python code, performing data exploration, and introspecting functions within a persistent Pixeltable session.
Supports running YOLOX object detection on images and photos managed within the Pixeltable infrastructure.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Pixeltable MCP Server (Developer Edition)Create a table for my images and run object detection on them"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pixeltable MCP Server (Developer Edition)
Multimodal AI data infrastructure as an MCP server. 32 tools · 13 resources · 6 prompts for table management, AI/ML pipelines, dependency management, an interactive REPL, and more.
Uses sync endpoints + uvloop for best performance with Pixeltable ≥ 0.5.27 (see pyproject.toml).
Quick Start
Requires uv:
curl -LsSf https://astral.sh/uv/install.sh | shClaude Code (easiest) — just say:
"Install https://github.com/pixeltable/mcp-server-pixeltable-developer as a uv tool and add it to your MCPs"
Manual install:
uv tool install --from git+https://github.com/pixeltable/mcp-server-pixeltable-developer.git mcp-server-pixeltable-developer
claude mcp add pixeltable mcp-server-pixeltable-developer # Claude CodeIf uv warns that ~/.local/bin is not on your PATH, run uv tool update-shell (or add that directory to PATH) so mcp-server-pixeltable-developer is found. Check with mcp-server-pixeltable-developer --version.
From source:
git clone https://github.com/pixeltable/mcp-server-pixeltable-developer && cd mcp-server-pixeltable-developer
uv syncClient Configuration
{
"mcpServers": {
"pixeltable": {
"command": "mcp-server-pixeltable-developer",
"env": {
"PIXELTABLE_HOME": "/Users/{you}/.pixeltable",
"PIXELTABLE_FILE_CACHE_SIZE_G": "10"
}
}
}
}From source — use "command": "uv" with "args": ["run", "--directory", "{repo}", "python", "-m", "mcp_server_pixeltable_stio"].
User config — ~/.cursor/mcp.json (applies to all workspaces):
{
"mcpServers": {
"pixeltable-developer": {
"command": "mcp-server-pixeltable-developer",
"env": {
"PIXELTABLE_HOME": "/Users/you/.pixeltable"
}
}
}
}If Cursor reports command not found, use the full path from uv tool update-shell / which mcp-server-pixeltable-developer, e.g. "command": "/Users/you/.local/bin/mcp-server-pixeltable-developer".
Develop this repo from source — optional project .cursor/mcp.json so the server runs from your clone (replace the path):
{
"mcpServers": {
"pixeltable-developer": {
"command": "uv",
"args": ["run", "--directory", "/path/to/mcp-server-pixeltable-developer", "python", "-m", "mcp_server_pixeltable_stio"],
"env": {
"PIXELTABLE_HOME": "/Users/you/.pixeltable"
}
}
}
}Do not define the same server name twice (user + project) unless you intend to run two entries.
Restart your client after configuration changes.
Testing
Use a dedicated PIXELTABLE_HOME for testing so you do not touch other catalogs.
MCP Inspector (interactive)
From a clone, after uv sync:
export PIXELTABLE_HOME="$HOME/.pixeltable-mcp-test"
uv run mcp dev src/mcp_server_pixeltable_stio/server.py:mcpThis starts the server and opens the MCP Inspector in your browser so you can invoke tools, read resources, and try prompts without an IDE.
Quick checks: tool pixeltable_check_dependencies with expression openai.chat_completions; tool execute_python with print(pxt.__version__); resource pixeltable://version.
Cursor
Add PIXELTABLE_HOME under env in .cursor/mcp.json (see Client Configuration above). Restart Cursor, confirm the server connects, then run a simple tool from the MCP panel.
CLI sanity (no JSON-RPC)
mcp-server-pixeltable-developer --version
uv run python list_tools.py--version / --help exit immediately. list_tools.py only prints registered tools, resources, and prompts (import check, not a full MCP session).
Tools (32)
Category | Tools |
Tables |
|
Data |
|
Directories |
|
Config |
|
AI/ML |
|
Deps |
|
Types |
|
Docs |
|
REPL |
|
Logging |
|
Display |
|
All tools are prefixed pixeltable_ (except REPL/logging helpers). Full docstrings available via introspect_function.
Resources (13)
URI | What it returns |
| All tables with count |
| Info about a table / view / snapshot |
| Column schema |
| All directories |
| Directory listing |
| Pixeltable version |
| Datastore config |
| Available data types |
| Registered Pixeltable functions |
| MCP tool list |
| Workflow guidance |
| System & dependency diagnostics |
Prompts (6)
pixeltable_usage_guide · getting_started · computer_vision_pipeline · rag_pipeline · video_analysis_pipeline · audio_processing_pipeline
Examples
Create a table called movies with title, year, and rating columns → insert sample data → query ratings above 8.5
Add a computed column that runs YOLOX object detection on every image
Check what deps I need for openai.chat_completions(...) → install them
execute_python("print(pxt.list_tables())")Documentation
pixeltable-skill — task router, API pitfalls (
openai.visionvschat_completions,frame_iterator,similarity(string=...), etc.), and workflow examples aligned with current Pixeltable
Architecture
src/mcp_server_pixeltable_stio/
server.py FastMCP server, tool/resource/prompt registration, uvloop activation
core/
tables.py Table CRUD, views, snapshots, replicas, queries, computed columns
directories.py Directory CRUD, listing, moving
dependencies.py Dependency checking, unified installer, diagnostics
udf.py UDF creation, type system, LLM tool wrappers, MCP connections
helpers.py Config, version, docs search, shared utilities
resources.py Read-only MCP resource handlers
prompt.py Prompt templates for common workflows
repl_functions.py Persistent Python REPL, introspection, package management
canvas_server.py Browser canvas for rich content displayTroubleshooting
Restart your client after any config change
Python 3.10+ and
uvare requiredcommand not foundafteruv tool install: ensure~/.local/binis onPATH(uv tool update-shell) or invoke via full path; confirm withmcp-server-pixeltable-developer --versionCheck that
PIXELTABLE_HOMEpoints to a valid directoryUse
log_bug(...)/generate_bug_report()for structured issue trackingFile issues at github.com/pixeltable/mcp-server-pixeltable-developer
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pixeltable/mcp-server-pixeltable-developer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server