Hyperledger Fabric Agent Suite

Hyperledger Fabric Agent Suite

Modular toolkit for managing Fabric test networks and chaincode lifecycle via MCP tools.

1
Stars
0
Forks
0
Releases

Overview

hlf-mcp is the MCP component of the Hyperledger Fabric Agent Suite. It is a Python-based MCP tool designed for automation, scripting, and agent integration with a Hyperledger Fabric network. The MCP tool complements the hlf-controller, a Go-based REST API server, by providing an MCP-centric interface for external agents and large language models to drive fabric operations. The README outlines integration workflows with Cursor and Claude Desktop, including how to reference hlf-mcp in Cursor's mcp.json and Claude's claude_desktop_config.json, enabling hands-free network control from AI agents. The MCP uses a centralized configuration path via the HLF_CONFIG_PATH or a config.yaml inside the hlf-controller, and it uses HLF_API_BASE to target the controller’s REST API (default http://localhost:8081). Through MCP, automation scripts can trigger lifecycle-like actions by invoking controller endpoints for network setup, channel creation, chaincode deployment, invocation, and queries. This modular toolkit is designed to simplify agent-driven Fabric orchestration while keeping the network management responsibilities in the dedicated hlf-controller.

Details

Owner
padmarajkore
Language
Go
License
MIT License
Updated
2025-12-07

Features

Agent-Ready MCP Tool

Enables LLMs and other agents to interact with a Fabric network through MCP for AI-driven control.

Automation and Scripting

Python-based MCP tool designed for automation, scripting, and agent integration to orchestrate Fabric tasks.

Controller API Integration

Uses the hlf-controller REST API to perform network operations, enabling scripted lifecycle tasks via HTTP endpoints.

Cursor Integration

Provides official integration path for Cursor via ~/.cursor/mcp.json to load the MCP tool.

Claude Desktop Integration

Provides official integration path for Claude Desktop via claude_desktop_config.json to load the MCP tool.

Config and Endpoint Flexibility

Supports environment variables HLF_CONFIG_PATH and HLF_API_BASE for customizing the config path and controller endpoint.

Modular Toolkit

Part of a modular toolkit with hlf-controller and hlf-mcp components to separate network management from agent orchestration.

Audience

Fabric DevOps EngineersAutomate Fabric test networks and chaincode lifecycle via MCP tooling.
LLM AI AgentsInteract with Fabric networks through the MCP tool integrated with Cursor or Claude Desktop.
Automation EngineersScript Fabric network tasks and integrate with automation pipelines.

Tags

Hyperledger FabricMCPAutomationScriptingAgent integrationLLMCursorClaude Desktop