Skip to main content
Glama
adityajoshi12

Hyperledger Fabric MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoHTTP port to use when MCP_TRANSPORT is set to http3000
FABRIC_MSP_IDYesThe MSP (Membership Service Provider) ID for the organization
MCP_TRANSPORTNoTransport mode for MCP server (stdio or http)stdio
FABRIC_CHANNELYesThe Hyperledger Fabric channel name
FABRIC_USER_IDYesThe user identity ID to use from the wallet
FABRIC_CHAINCODEYesThe chaincode name to interact with
FABRIC_WALLET_PATHYesPath to the wallet directory containing user identities
FABRIC_CONNECTION_PROFILEYesPath 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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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