Skip to main content

An MCP around the TiGL library

Project description

tigl-mcp

CI Docs Examples

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 --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.

Docs

Build the docs locally with:

make docs

Current Capability Boundaries

  • The default tests and examples target the deterministic stand-ins in tigl_mcp.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


Download files

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

Source Distribution

tigl_mcp-0.1.2.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

tigl_mcp-0.1.2-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file tigl_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: tigl_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tigl_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7b624ce6a40132aa3d394e72d5339c49af431e3550743c5f5aa47b94e3fe8b21
MD5 f862fb8aa08f54ffbb0b568c5d60a346
BLAKE2b-256 91a6579eb384911394469c6aa97406c6d2c536dd61fc7a620cdc9a088ca75d4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tigl_mcp-0.1.2.tar.gz:

Publisher: workflow.yml on cmudrc/tigl-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tigl_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tigl_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tigl_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c62a613a275a6a623c1da61dc3bc3ca0c2addbe54f8d441cd68a3ac5c6483a3b
MD5 70232f182a5496759a92edec2b5b1545
BLAKE2b-256 e5e41ecf59dc31f2a6efb4b4c50a2a14140cd5bfc69dc6365ade2886ce6b93a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tigl_mcp-0.1.2-py3-none-any.whl:

Publisher: workflow.yml on cmudrc/tigl-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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