viva-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMPOSE_API_URL | No | compose-api base URL (point at a local instance for dev). | https://compose.cam.uchc.edu |
| COMPOSE_API_TOKEN | No | Bearer token. Omit to run anonymously — anonymous runs are public. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Run process-bigraph composites on compose-api (a hosted cosimulation service) and fetch their results. Typical flow: list_simulators to see what can run, run_simulation to submit a composite document (detached -> returns an id), simulation_status to poll, fetch_results to download. Set COMPOSE_API_TOKEN to run as yourself; without it, runs are anonymous and public.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoamiA | Who the server is authenticated as (or anonymous), and service health. Use this first to confirm the connector can reach compose-api and whether a token is in effect. |
| list_simulatorsB | List the simulators compose-api can run (the run catalog). |
| list_processesB | List the process-bigraph processes registered on the service. |
| run_simulationA | Submit a composite/SED-ML document to compose-api for simulation.
|
| simulation_statusA | Current status of a submitted simulation (poll until terminal). |
| fetch_resultsA | Download a finished simulation's results to a local file. Writes the results archive to |
| list_simulationsC | List recent simulations on the service (filter by status, or only yours). |
| cancel_simulationC | Cancel a running simulation. |
| simulation_detailA | Detail for one simulation: its latest job, and how many events and datasets its run recorded. Richer than |
| simulation_eventsA | A page of a run's events, in the order recorded (logs/progress/warnings). Pass the returned |
| simulation_traceC | A run's execution trace as a tree of spans, each with its own events — where the run spent its time. |
| list_datasetsA | The data files runs advertised: one simulation's (pass Filter by |
| fetch_datasetA | Download one dataset (a file a run advertised) to a local file; returns the path and size.
|
| catalogA | The registry: every entry with its curation level and the environments that provide its classes. This is the authoritative view of what the service can run — read it before authoring a document to see which process/step classes are available and where. |
| list_environmentsB | The environments documents run in, with what their interface manifests hold. A submitted document's environment is inferred from its process classes; this lists the choices. |
| list_stepsA | List the process-bigraph Steps registered on the service (the /core steps catalog; see also list_processes). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools target clearly distinct objects or lifecycle stages (run, poll, fetch, cancel, inspect events/trace). The one soft spot is the cluster of discovery tools — catalog, list_simulators, list_processes, list_steps, list_environments — whose boundaries overlap, though descriptions mostly differentiate them (catalog is authoritative, simulators are runnable targets, processes/steps are class catalogs).
Action tools follow a clean verb_noun pattern (run_simulation, fetch_results, cancel_simulation, list_datasets), but the read/inspection tools use bare nouns (catalog, simulation_status, simulation_detail, simulation_trace, whoami). The two conventions are readable but mixed within the same set.
16 tools is slightly on the heavy side but each maps to a real part of the simulation lifecycle: discovery, submission, polling, observability, and artifact retrieval. None feel clearly redundant, though consolidation of the discovery tools could trim the set.
The surface covers discovery, submission, status/detail, cancellation, listing, event/trace inspection, and dataset fetching — a full lifecycle. Minor gaps remain, such as validating or editing a document before submission and deleting/cleaning up simulations or datasets.