An MCP around the TiGL library
Project description
tigl-mcp
tigl-mcp is a lightweight Model Context Protocol server for CPACS-oriented
TiGL workflows. The current implementation focuses on deterministic,
JSON-friendly tooling backed by stubbed CPACS/TiGL behavior so local
development, tests, and docs stay stable without native geometry runtimes.
Overview
The project currently provides:
- A FastMCP-powered server with stdio and HTTP-compatible transports
- A curated set of CPACS lifecycle, inspection, export, sampling, and parameter tools
- Pydantic-backed tool validation with structured MCP error payloads
- Deterministic CPACS/TiGL stand-ins for stable local development and CI
Quickstart
Requires Python 3.12+.
python3 -m venv .venv
source .venv/bin/activate
make dev
make test
make ci
Start the server over stdio:
tigl-mcp-server --transport stdio
Inspect the non-blocking HTTP transport configuration example:
PYTHONPATH=src python3 examples/server/http_launch_config.py
Examples
The examples are deterministic and aligned with the current stub-backed implementation.
- Examples index:
examples/README.md - Tool discovery:
examples/client/tool_discovery.py - Session lifecycle:
examples/cpacs/session_lifecycle.py - Export snapshot:
examples/cpacs/export_snapshot.py
Docs
- Docs source:
docs/index.rst - Published docs: https://cmudrc.github.io/tigl-mcp/
Build the docs locally with:
make docs
Current Capability Boundaries
- The default tests and examples target the deterministic stand-ins in
tigl_mcp_server.cpacs_stubs. - Tool names, schemas, and JSON payload shapes are stable.
- Geometry values are intentionally simplified; they reflect the current stub contract rather than full native TiGL fidelity.
Contributing
Contribution guidelines live in CONTRIBUTING.md.
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 tigl_mcp-0.1.0.tar.gz.
File metadata
- Download URL: tigl_mcp-0.1.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9659976fedae1e7d7f4ebd5b606542645589d6f3e1196398ed44bb121c67884c
|
|
| MD5 |
0c869f1987d0a9388b92b3baa08e3f12
|
|
| BLAKE2b-256 |
49c830daf62eb41f08a95d9fc2663f5a9a55f73e00adedfdefb25f0c65b384ec
|
Provenance
The following attestation bundles were made for tigl_mcp-0.1.0.tar.gz:
Publisher:
workflow.yml on cmudrc/tigl-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tigl_mcp-0.1.0.tar.gz -
Subject digest:
9659976fedae1e7d7f4ebd5b606542645589d6f3e1196398ed44bb121c67884c - Sigstore transparency entry: 1032261880
- Sigstore integration time:
-
Permalink:
cmudrc/tigl-mcp@7ca41bd90fe9463249cd978a9d41e5bd84cbd43f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cmudrc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@7ca41bd90fe9463249cd978a9d41e5bd84cbd43f -
Trigger Event:
release
-
Statement type:
File details
Details for the file tigl_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tigl_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d50aee9edc6e70f49e5c2446a553bf39082abb393ce38d54c52d9d85b7aac61
|
|
| MD5 |
a460a2a205409a1d623a0529ad007536
|
|
| BLAKE2b-256 |
4ce98ecc1f8cf0ba95d56102cd369cfdc17c13693b85e8c668f8a657877567be
|
Provenance
The following attestation bundles were made for tigl_mcp-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on cmudrc/tigl-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tigl_mcp-0.1.0-py3-none-any.whl -
Subject digest:
1d50aee9edc6e70f49e5c2446a553bf39082abb393ce38d54c52d9d85b7aac61 - Sigstore transparency entry: 1032262085
- Sigstore integration time:
-
Permalink:
cmudrc/tigl-mcp@7ca41bd90fe9463249cd978a9d41e5bd84cbd43f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cmudrc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@7ca41bd90fe9463249cd978a9d41e5bd84cbd43f -
Trigger Event:
release
-
Statement type: