Hyperledger Fabric MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | HTTP port to use when MCP_TRANSPORT is set to http | 3000 |
| FABRIC_MSP_ID | Yes | The MSP (Membership Service Provider) ID for the organization | |
| MCP_TRANSPORT | No | Transport mode for MCP server (stdio or http) | stdio |
| FABRIC_CHANNEL | Yes | The Hyperledger Fabric channel name | |
| FABRIC_USER_ID | Yes | The user identity ID to use from the wallet | |
| FABRIC_CHAINCODE | Yes | The chaincode name to interact with | |
| FABRIC_WALLET_PATH | Yes | Path to the wallet directory containing user identities | |
| FABRIC_CONNECTION_PROFILE | Yes | Path to the Fabric network connection profile JSON file |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| invoke_chaincodeC | Invoke a transaction on the Hyperledger Fabric chaincode |
| query_chaincodeB | Query the Hyperledger Fabric chaincode (read-only) |
| get_transaction_historyC | Get the transaction history for a specific asset |
| get_block_infoC | Get information about a specific block |
| get_blockchain_infoB | Get blockchain information including total block count, current block hash, and previous block hash |
| list_enrolled_identitiesB | List all identities enrolled in the wallet |
| get_installed_chaincodesB | Get list of chaincodes installed on the peer |
| get_approved_chaincodeC | Get the approved chaincode definition for an organization |
| get_committed_chaincodeC | Get the committed chaincode definition on the channel |
| check_commit_readinessC | Check if a chaincode definition is ready to be committed |
| list_channelsB | List all channels the peer has joined |
| get_channel_infoC | Get information about a specific channel |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/adityajoshi12/fabric-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server