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.2.0.tar.gz (29.5 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.2.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigl_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 29.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 b81eb6e4fa5b24246c8c61e715bdb9f3c5692f1e02023214086a55002b16b5f4
MD5 618e4be3bc9f74149e5556c5f45b296e
BLAKE2b-256 4a5f7548bdc29736c81b6d5e405c325c88d966e618bcfd0b78706fa1a3635c3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tigl_mcp-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: tigl_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce861cb9259724d46d93ec94cc23088150bbc63c0a367020ce209039a33093d1
MD5 378fda8fedf0b91a8d8116b9c74277f9
BLAKE2b-256 fec419b6c8422d875b822ca8b6e32ef349e23ce324b8adfba3377af01e5c9d7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tigl_mcp-0.2.0-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