fabric-mcp-server
Verified Safeby adityajoshi12
Overview
Enables AI assistants to interact with Hyperledger Fabric blockchain networks by exposing a set of blockchain management and interaction tools.
Installation
npx -y @adityajoshi12/fabric-mcp-serverEnvironment Variables
- FABRIC_CHANNEL
- FABRIC_CHAINCODE
- FABRIC_MSP_ID
- FABRIC_WALLET_PATH
- FABRIC_CONNECTION_PROFILE
- FABRIC_USER_ID
Security Notes
The server utilizes official Hyperledger Fabric SDKs and loads all critical configuration (e.g., wallet paths, connection profiles, user IDs) from environment variables, preventing hardcoded secrets. It functions as a bridge, meaning the overall security posture heavily relies on the proper setup and security of the underlying Hyperledger Fabric network and the management of the user identity wallet. The HTTP transport, built with Express, handles basic error responses. While `express-rate-limit` is a dependency of the MCP SDK, no explicit rate limiting or advanced authentication for the `/mcp` endpoint is configured within the provided server code. This implies that the server expects to operate in a controlled environment where the AI assistant's access is implicitly authorized. Chaincode arguments are passed directly, making the security of the smart contracts' input validation critical.
Similar Servers
terraform-mcp-server
Provides seamless integration with Terraform Registry APIs and HCP Terraform/Terraform Enterprise APIs, enabling AI assistants/LLMs to generate high-quality Terraform code and automate IaC workflows.
mcp-kubernetes
Enables AI assistants to interact with and debug Kubernetes clusters by translating natural language requests into Kubernetes operations.
mcp-server-db2i
Enables AI assistants to query and inspect IBM DB2 for i databases using the Model Context Protocol (MCP) via stdio or HTTP.
photons
A comprehensive demonstration MCP server showcasing various functionalities of the Photon runtime, including basic data handling, streaming responses, progress reporting, in-memory state management, and interactive UI elements. It serves as a reference for developers building new photons.