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
pip install upjack # core library (entity management only)
pip install "upjack[mcp]" # with MCP server support
Requires Python 3.13+.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file upjack-0.4.2.tar.gz.
File metadata
- Download URL: upjack-0.4.2.tar.gz
- Upload date:
- Size: 117.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59dd3cffe614b65d53c35ac95338b6b3e869e506101cc3a5be295b45adbac5e5
|
|
| MD5 |
83da0944af85b233297b4d55facf9182
|
|
| BLAKE2b-256 |
9f2613483ecaf1422ee4cd6a87e43f02cb4cde8b61de6adaa5f95335dcf9dd76
|
File details
Details for the file upjack-0.4.2-py3-none-any.whl.
File metadata
- Download URL: upjack-0.4.2-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f029880c27c730e57a518c25af14567b7eb2cf27107622302ff41ef568c09a00
|
|
| MD5 |
87d8248a83ada995c6b3b612379f9264
|
|
| BLAKE2b-256 |
cfe9d2c476bb93f4d87cc478e0722ac3bed2bc41cd9facfc6b3484e0ae758159
|