Skip to main content
Glama
factory-graph-mcp

factory-graph-mcp

by prag-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--dataNoPath to a folder containing equipment.csv and connections.csv. Alternative to the FACTORY_GRAPH_DATA environment variable. If omitted, the bundled sample CNC plant data is used.
--hostNoHost address to bind when using HTTP mode, for example 0.0.0.0.
--httpNoInclude this flag to serve over HTTP instead of stdio.
--portNoPort to bind when using HTTP mode, for example 8000.
FACTORY_GRAPH_DATANoPath to a folder containing equipment.csv and connections.csv. Alternative to the --data command-line option. If omitted, the bundled sample CNC plant data is used.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

공장 설비가 서로 무엇(전원, 냉각수, 압축공기 …)을 주고받는지 담은 연결 그래프입니다. 설비에 이상이 생기면 원인은 그 설비가 아니라 상류(그 설비에 무언가를 공급하는 쪽)에 있을 수 있습니다. 상류 설비는 기준에 닿지 않아 알람이 없을 수도 있습니다.

쓰는 순서

  1. 사람이 "1호기", "칠러1"처럼 부르면 find_equipment 로 설비 번호를 찾습니다.

  2. 한 대에 이상이 있으면 trace_upstream 으로 상류를 가까운 것부터 봅니다.

  3. 여러 대에 동시에 이상이 있으면 common_upstream 으로 함께 쓰는 상류를 먼저 봅니다. 이 도구는 "어디를 봐야 하는지"만 알려 줍니다. 원인을 단정하지 말고, 현장 확인이 필요하다고 함께 안내하세요.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_equipmentA

설비 번호, 이름, 현장에서 부르는 별칭, 설비 종류로 설비를 찾습니다.

예: "1호기", "칠러", "CNC-03". 정확히 맞는 것이 앞에 옵니다.

get_equipmentA

설비 한 대의 정보와, 바로 붙은 연결(공급받는 것 receives_from, 공급하는 것 supplies_to)을 돌려줍니다.

trace_upstreamA

설비에서 출발해 공급하는 쪽으로 거슬러 올라가며 상류 설비를 가까운 순서로 돌려줍니다.

depth 1 은 바로 공급하는 설비, 2 는 그 설비에 공급하는 설비입니다. path 는 상류에서 출발 설비까지 무엇이 흘러오는지 보여 줍니다. kinds 로 연결 종류를 좁힐 수 있습니다. 예: ["냉각수", "절삭유 냉각수"]. 서로 주고받는 연결(순환)은 한 번만 따라가고 cycles_skipped 에 적습니다.

common_upstreamA

여러 설비에 동시에 이상이 있을 때, 그 설비들이 함께 쓰는 상류 설비를 돌려줍니다.

두 대 이상이 함께 쓰는 상류만 나오고, 많은 설비를 덮을수록, 가까울수록 앞에 옵니다. covers_all 이 true 이면 준 설비 전부가 그 상류를 씁니다.

describe_plantA

불러온 공장 데이터의 규모를 돌려줍니다: 설비 수, 연결 수, 설비 종류별 대수, 연결 종류별 개수.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct role: find_equipment searches by alias/name, get_equipment retrieves one unit with immediate connections, trace_upstream walks upstream from a single unit, common_upstream finds shared upstreams across multiple units, and describe_plant reports dataset stats. The overlap between find_equipment and get_equipment is natural lookup vs detail retrieval and descriptions make the boundary clear.

Naming Consistency4/5

All names use consistent snake_case, and most follow a verb_noun pattern (find_equipment, get_equipment, trace_upstream, describe_plant). The exception is common_upstream, which is noun-like rather than verb-led, but the set remains predictable.

Tool Count5/5

Five tools is well-scoped for a read-only equipment graph query server. Each tool covers a distinct query workflow without obvious redundancy or filler.

Completeness3/5

The surface covers equipment lookup, detail retrieval, upstream tracing, shared-upstream analysis, and dataset stats. However, there is no recursive downstream traversal or general path-between-equipment operation, which are notable gaps for a graph-centered server even if upstream diagnostics is the primary focus.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues