MCP
FabHub MCP(@fabhub/mcp)는 API 기반 에이전트 워크플로를 위한 고정된 공개 안전 도구 집합을 노출합니다. 각 도구는 정확히 하나의 공개 API 스코프에 매핑되며, 범용 HTTP 프록시는 없습니다.
설치
npx -y @fabhub/mcp
로컬 구성
{
"mcpServers": {
"fabhub": {
"command": "npx",
"args": ["-y", "@fabhub/mcp"],
"env": {
"FABHUB_API_KEY": "pk_test_example"
}
}
}
}
서버는 키가 스코프를 가진 도구만 광고하므로, 에이전트는 자격 증명의 권한을 넘어 호출할 수 없습니다.
도구 안전성
- 읽기 전용 도구는 자격 증명에 해당 읽기 스코프가 있을 때 사용할 수 있습니다.
- 쓰기 도구는 해당 쓰기 스코프와 명시적인 확인 입력을 요구합니다.
- 파괴적 도구는 삭제 스코프와 명시적인 삭제 확인을 요구합니다.
- 호스티드 HTTP 모드는 요청별로 자격 증명을 검증하며 테넌트 키를 저장하지 않습니다.
도구
| 도구 | 스코프 | 안전성 |
|---|---|---|
list_items | items:read | read_only |
get_item | items:read | read_only |
list_item_ingredients | items:read | read_only |
list_item_suppliers | items:read | read_only |
create_item | items:write | write, requires confirmation |
update_item | items:write | write, requires confirmation |
delete_item | items:write | destructive, requires confirmation |
get_organization | organization:read | read_only |
list_orders | orders:read | read_only |
get_order | orders:read | read_only |
list_order_lines | orders:read | read_only |
create_order | orders:write | write, requires confirmation |
update_order | orders:write | write, requires confirmation |
list_contacts | contacts:read | read_only |
get_contact | contacts:read | read_only |
create_contact | contacts:write | write, requires confirmation |
update_contact | contacts:write | write, requires confirmation |
delete_contact | contacts:write | destructive, requires confirmation |
get_usage_summary | usage:read | read_only |
list_webhooks | webhooks:read | read_only |
get_webhook | webhooks:read | read_only |
create_webhook | webhooks:write | write, requires confirmation |
update_webhook | webhooks:write | write, requires confirmation |
delete_webhook | webhooks:delete | destructive, requires confirmation |
list_webhook_deliveries | webhooks:deliveries:read | read_only |
list_audit_events | audit:read | read_only |
list_stock_levels | inventory:read | read_only |
list_stock_documents | inventory:read | read_only |
get_stock_document | inventory:read | read_only |
list_stock_document_lines | inventory:read | read_only |
create_stock_document | inventory:write | write, requires confirmation |
update_stock_document | inventory:write | write, requires confirmation |
create_stock_document_line | inventory:write | write, requires confirmation |
update_stock_document_line | inventory:write | write, requires confirmation |
delete_stock_document | inventory:write | destructive, requires confirmation |
delete_stock_document_line | inventory:write | destructive, requires confirmation |
submit_stock_document | inventory:write | write, requires confirmation |
cancel_stock_document | inventory:write | write, requires confirmation |
approve_stock_document | inventory:write | destructive, requires confirmation |
create_item_ingredient | items:write | write, requires confirmation |
update_item_ingredient | items:write | write, requires confirmation |
delete_item_ingredient | items:write | destructive, requires confirmation |
create_item_supplier | items:write | write, requires confirmation |
update_item_supplier | items:write | write, requires confirmation |
delete_item_supplier | items:write | destructive, requires confirmation |