# Overview

> Serve every machine from a central server with the free Agent Hub and Tools, and add per machine licensed Data Collection when you need it.

URL: https://www.trakhound.com/docs/mtconnect-server

MTConnect Server runs on a central server and connects to the MTConnect Agents and SHDR Adapters on the shop floor. It **serves** every machine from a single MTConnect port, and can **collect** their data into a database or an MQTT broker. It's configured and monitored from a web App, and its data is available to other applications through a REST API.

Start with the free Agent Hub and Tools to set up your machines, then add Data Collection when you're ready. The two features can be used together or on their own:

| Feature | What It Does | License |
| --- | --- | --- |
| **[Agent Hub](https://www.trakhound.com/docs/mtconnect-server/agent-hub)** | Replaces an existing MTConnect Agent by reading SHDR Adapters directly, or serves Devices from many existing Agents and Adapters from a single port as a central hub. Each Device runs its own MTConnect Agent. | Free, no License required |
| **[Data Collection](https://www.trakhound.com/docs/mtconnect-server/collection)** | Reads the same Devices, stores their data in **Tables** (SQLite, PostgreSQL, or SQL Server), and publishes it as **Messages** (MQTT). [Add it](https://www.trakhound.com/docs/mtconnect-server/add-collection) to the machines you already serve. | One seat for each Device that's collected |

MTConnect Server is designed to run on a central server. The [MTConnect.NET Agent](https://www.trakhound.com/docs/mtconnect-net) is designed to run on the machine, and the Agent Hub can serve those Agents, or replace them.

The App's [Tools](https://www.trakhound.com/docs/mtconnect-server/tools) (Network checks, the Request Browser, Device Validation, the SHDR Browser, and the Definition Browser) are also free, so MTConnect Server can be installed just to troubleshoot machine connections.

Diagram: MTConnect Agents and SHDR Adapters on the shop floor are read by MTConnect Server. Collection stores their data in SQLite, PostgreSQL, or SQL Server, and publishes it to an MQTT broker. The Agent Hub serves every Device to MTConnect clients from port 5001.

![The App's Home page: what MTConnect Server is set up to do, and how it's running](https://www.trakhound.com/img/screenshots/previews/mtconnect-server-home.webp)

## Concepts

| Term | Description |
| --- | --- |
| **[Device](https://www.trakhound.com/docs/mtconnect-server/devices)** | A machine, read from one Device on an MTConnect Agent or from an SHDR Adapter. Every Device is in one list, and the Agent Hub and Collection are turned on or off for each one. |
| **[Group](https://www.trakhound.com/docs/mtconnect-server/groups)** | A named set of Devices, such as a plant or a cell. A Group's Profiles apply to each of its Devices. |
| **[Model](https://www.trakhound.com/docs/mtconnect-server/models)** | A saved MTConnect Device model, used to serve an SHDR Adapter or to change the model an Agent reports. |
| **[Profile](https://www.trakhound.com/docs/mtconnect-server/profiles)** | A rule for which data goes where: **Tables** (a database) or **Messages** (MQTT), with its own Filter and destinations. |
| **[Service & Router](https://www.trakhound.com/docs/mtconnect-server/profiles#services)** | A database or MQTT broker connection (a Service), and the Router with the same name that a Profile sends data to. |
| **[Filter](https://www.trakhound.com/docs/mtconnect-server/filters)** | The DataItems a Profile includes, and how often their values are sent. |
| **[Retention Rule](https://www.trakhound.com/docs/mtconnect-server/data-retention)** | How long a Tables Profile keeps Observations before deleting them. |
| **[License Code](https://www.trakhound.com/docs/mtconnect-server/licenses)** | A code for this computer with one or more seats. Each collected Device uses one seat. |
| **Worker** | A background process. The **Collection Worker** collects data, and the **Agent Hub Worker** serves Devices. |

## How It's Built

MTConnect Server is built on the [TrakHound Framework](https://www.trakhound.com/docs/trakhound-framework) and the [MTConnect.NET](https://www.trakhound.com/docs/mtconnect-net) Agent. The installer sets up a TrakHound Instance that runs as a Windows Service, with the MTConnect Server App, Api, Workers, and the database and MQTT Services already configured. The MTConnect Server Packages can also be installed on an existing TrakHound Instance (see [Installation](https://www.trakhound.com/docs/mtconnect-server/installation#packages)).

## Explore the Docs

[Install Requirements, the setup wizard, and signing in to the App.](https://www.trakhound.com/docs/mtconnect-server/installation) [Quick Start Serve your first machines through the free Agent Hub in a few minutes.](https://www.trakhound.com/docs/mtconnect-server/quick-start) [Serve Machines Replace an existing Agent, or serve every machine from one port, with no License.](https://www.trakhound.com/docs/mtconnect-server/agent-hub) [Troubleshoot Machines Ping, Port Check, Request Browser, and SHDR Browser.](https://www.trakhound.com/docs/mtconnect-server/tools) [Add Data Collection Store and publish the data of the machines you already serve.](https://www.trakhound.com/docs/mtconnect-server/add-collection) [REST API Read collected data from your own applications.](https://www.trakhound.com/docs/mtconnect-server/api)

> The Agent Hub and Tools are free. Data Collection is licensed at $30 per machine per month. Get a free 2-hour trial License instantly after installing, with no sales call. See [Pricing](https://www.trakhound.com/mtconnect-server#pricing) and the [Licensing Guide](https://www.trakhound.com/docs/licensing).
