Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/mcp-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: MCP CI

on:
push:
branches: [main]
paths: ['mcp/**', '.github/workflows/mcp-ci.yml']
pull_request:
branches: [main]
paths: ['mcp/**', '.github/workflows/mcp-ci.yml']

defaults:
run:
working-directory: mcp

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run tests
run: pytest
- name: Lint
run: ruff check .
27 changes: 27 additions & 0 deletions .github/workflows/mcp-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: MCP Release

on:
push:
tags: ['mcp-v*']

jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # required for PyPI Trusted Publishing (OIDC)
steps:
- uses: actions/checkout@v4.2.2
- name: Set up Python
uses: actions/setup-python@v5.6.0
with:
python-version: "3.12"
- name: Build sdist and wheel
working-directory: mcp
run: |
python -m pip install --upgrade build
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: mcp/dist
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This repository is the home for Nova3D's open clients and integrations. The host
```
Nova3D/
├── app/ # Flutter/Dart web client · see app/README.md
├── mcp/ # Nova3D MCP server (coming soon)
├── mcp/ # Nova3D MCP server · see mcp/README.md
├── blender-plugin/ # Blender plugin (coming soon)
├── claude-skills/ # Claude skills (coming soon)
├── docs/ # architecture & the "3D as code" thesis (coming soon)
Expand Down
8 changes: 8 additions & 0 deletions mcp/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Nova3D MCP Server — environment variables
# Copy to .env and fill in your values

# Required: API key from nova3d.xyz → Settings → API Keys
NOVA3D_TOKEN=n3d_your-api-key-here

# Optional: override the API base URL (advanced / self-hosted only)
# NOVA3D_API_URL=https://nova3d.xyz/api
13 changes: 13 additions & 0 deletions mcp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.venv/
__pycache__/
*.py[cod]
*.egg-info/
dist/
build/
.pytest_cache/
.ruff_cache/
*.egg-link
*.pth
.env
.claude/
docs/
21 changes: 21 additions & 0 deletions mcp/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 RareSense

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading