一键导入
scitex-hub-project
SciTeX Hub project management — CRUD plus secure MCP handlers for list, read, write, search, and execute within project sandboxes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
SciTeX Hub project management — CRUD plus secure MCP handlers for list, read, write, search, and execute within project sandboxes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
[WHAT] SciTeX Hub operational surface — 55 MCP tools across 6 categories — project_* (cloud project CRUD), repo_* (self-hosted Gitea clone/push/pull/PRs/issues), cloud_sdk_data/files/jobs_* (DataStore/FileVault/JobQueue SDK — submit compute jobs, upload/download files, CRUD records), api_* (Scholar paper search, CrossRef lookup, BibTeX enrichment, LaTeX compile via cloud), app_* (install/switch app plugins), onsite_* (in-browser Playwright on the live Django site). [WHEN] Use whenever the user asks to create a cloud project, push/clone via Gitea, submit a cloud job, upload to FileVault, compile LaTeX on cloud, search papers via Scholar, enrich BibTeX, switch app plugin, deploy to staging/production, or mentions SciTeX Hub, Gitea, DataStore, FileVault, JobQueue, CloudClient. [HOW] `pip install scitex-hub` then `import scitex_hub`; see leaf skills for details.
SciTeX Hub web service integration — health monitoring, web app context, JavaScript evaluation, and browser UI control. Module-level helpers wrap CloudClient.
Mark functions as SciTeX workspace modules with the @module decorator and collect structured outputs. Canonical home — the umbrella scitex.module re-exports from here.
| name | scitex-hub-project |
| description | SciTeX Hub project management — CRUD plus secure MCP handlers for list, read, write, search, and execute within project sandboxes. |
| user-invocable | false |
scitex_hub.project covers project lifecycle (CRUD) and the sandboxed
file-operation handlers that back the MCP project tools. All file operations
are constrained to ALLOWED_DATA_ROOT with path-traversal protection. The
umbrella scitex.project re-exports this surface.
| File | Description |
|---|---|
| 01_mcp-file-ops.md | list_files, read_file, write_file, search_files, exec_python, exec_shell handlers; security model |
from scitex_hub.project import (
project_list, project_create, project_delete, project_rename,
)
projects = project_list()
new = project_create("my-project", description="My research")
from scitex_hub.project._mcp.handlers import (
list_files_handler, read_file_handler, write_file_handler,
search_files_handler, exec_python_handler, exec_shell_handler,
)
import asyncio
result = asyncio.run(list_files_handler("/app/data/users/alice/proj"))