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

Docs

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


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.0.tar.gz (21.8 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.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

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

Hashes for tigl_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9659976fedae1e7d7f4ebd5b606542645589d6f3e1196398ed44bb121c67884c
MD5 0c869f1987d0a9388b92b3baa08e3f12
BLAKE2b-256 49c830daf62eb41f08a95d9fc2663f5a9a55f73e00adedfdefb25f0c65b384ec

See more details on using hashes here.

Provenance

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

Hashes for tigl_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d50aee9edc6e70f49e5c2446a553bf39082abb393ce38d54c52d9d85b7aac61
MD5 a460a2a205409a1d623a0529ad007536
BLAKE2b-256 4ce98ecc1f8cf0ba95d56102cd369cfdc17c13693b85e8c668f8a657877567be

See more details on using hashes here.

Provenance

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