Skip to main content

Schema-driven entity management for AI-native applications

Project description

upjack

Schema-driven entity management for AI-native applications.

Define entities as JSON Schemas + a manifest. The library handles CRUD, validation, ID generation, storage, and search. Add FastMCP to serve it as an MCP server.

Install

From PyPI (once published):

# Core library (entity management only)
uv add upjack

# With MCP server support
uv add upjack[mcp]

From source (alpha):

git clone https://github.com/NimbleBrainInc/upjack.git
cd upjack/lib/python
uv pip install -e ".[mcp]"

Usage: Entity Management

from upjack import UpjackApp

app = UpjackApp.from_manifest("manifest.json")

# Create an entity
contact = app.create_entity("contact", {
    "first_name": "Sarah",
    "last_name": "Chen",
    "email": "sarah@example.com",
})

# List entities
contacts = app.list_entities("contact")

# Update an entity
app.update_entity("contact", contact["id"], {"lead_score": 85})

# Get a single entity
contact = app.get_entity("contact", contact["id"])

# Delete an entity (soft delete by default)
app.delete_entity("contact", contact["id"])

Usage: MCP Server

from upjack.server import create_server

mcp = create_server("manifest.json", root="./workspace")
mcp.run()

This generates CRUD tools for every entity type in the manifest, exposes context and skills as MCP resources, and handles validation automatically. See examples/crm/server.py for a complete example.

Requirements

  • Python >= 3.13
  • FastMCP >= 3.0 (only for upjack[mcp])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upjack-0.0.1.tar.gz (90.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upjack-0.0.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file upjack-0.0.1.tar.gz.

File metadata

  • Download URL: upjack-0.0.1.tar.gz
  • Upload date:
  • Size: 90.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for upjack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 761d243b94ff50d45887171114077c45615b80d7917ab758db832bb7379e96a9
MD5 bb856fb76649434245dd136f79aa641e
BLAKE2b-256 8a549b97164d808e86696133522ae83589cec8d16581a2cec5db0ab441e111be

See more details on using hashes here.

File details

Details for the file upjack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: upjack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for upjack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 124f3231c485f8155064426c2853a3fd0c6e273819a2fee22274cfcfa767bae8
MD5 107f5b972ffe8739c106f7ab172465a1
BLAKE2b-256 9dad849ff376e8eb72894d31cb836083800e05d484041becadeba8a774039ad6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page