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 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| invoke_chaincode | Invoke a transaction on the Hyperledger Fabric chaincode |
| query_chaincode | Query the Hyperledger Fabric chaincode (read-only) |
| get_transaction_history | Get the transaction history for a specific asset |
| get_block_info | Get information about a specific block |
| get_blockchain_info | Get blockchain information including total block count, current block hash, and previous block hash |
| list_enrolled_identities | List all identities enrolled in the wallet |
| get_installed_chaincodes | Get list of chaincodes installed on the peer |
| get_approved_chaincode | Get the approved chaincode definition for an organization |
| get_committed_chaincode | Get the committed chaincode definition on the channel |
| check_commit_readiness | Check if a chaincode definition is ready to be committed |
| list_channels | List all channels the peer has joined |
| get_channel_info | 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 | |