mcp-ipfs

by alexbakers
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
W3_LOGIN_EMAILYesThe email address used for w3 login, must be the same as the one used for 'w3 login'

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
w3_account_ls

Lists all accounts the current agent is authorized for. Use this command after w3_login and email validation to confirm the agent is successfully linked to your storacha.network account(s). Note: Agent state may be ephemeral (e.g., in Docker). Check authorization status with this command after (re)connecting, and use w3_login if needed.

w3_bridge_generate_tokens

Generates authentication tokens for using the UCAN-HTTP bridge.

w3_can_access_claim

Claims delegated capabilities for the authorized account using a provided proof.

w3_can_blob_add

Stores a single file as a blob directly with the service. Requires ABSOLUTE paths for file arguments.

w3_can_blob_ls

Lists blobs stored in the current space.

w3_can_blob_rm

Removes a blob from the store by its base58btc encoded multihash.

w3_can_filecoin_info

Gets Filecoin deal information for a given Piece CID (advanced use).

w3_can_index_add

Registers an index CID with the service (advanced use). Please refer to storacha.network documentation for details on indices.

w3_can_store_add

Stores a CAR file with the service (advanced use). This is often a prerequisite for w3_can_upload_add. Requires ABSOLUTE paths for file arguments.

w3_can_store_ls

Lists stored CAR files (shards) in the current space (advanced use).

w3_can_store_rm

Removes a stored CAR shard by its CID (advanced use). Use with extreme caution, as this deletes the underlying data shard.

w3_can_upload_add

Manually registers an upload DAG by its root CID and shard CIDs (advanced use). This is typically used after storing CAR shards manually.

w3_can_upload_ls

Lists uploads registered in the current space (advanced view, shows underlying structure).

w3_can_upload_rm

Removes an upload listing by its root CID (advanced use). Does not remove the underlying blobs/shards.

w3_coupon_create

Attempts to create/claim a coupon using a claim code.

w3_delegation_create

Tool for w3_delegation_create operation. Requires ABSOLUTE paths for file arguments.

w3_delegation_ls

Tool for w3_delegation_ls operation.

w3_delegation_revoke

Tool for w3_delegation_revoke operation. Requires ABSOLUTE paths for file arguments.

w3_key_create

Generates and prints a new ed25519 key pair. Does not automatically use it for the agent.

w3_login

Initiates the w3 login process using the pre-configured email (W3_LOGIN_EMAIL env var). IMPORTANT: The command expects email confirmation, so before running the w3_login tool, emphasize ATTENTION to the user in large letters + emoji that they MUST check email to complete authentication. If the final output includes 'Agent was authorized by', the user has already clicked the link and is successfully authorized, CONTINUE using mcp-ipfs tools. 'Too Many Requests': wait a moment before requesting it again.

w3_ls

Tool for w3_ls operation.

w3_open

Tool for w3_open operation.

w3_plan_get

Displays the plan associated with the current or specified account.

w3_proof_add

Tool for w3_proof_add operation. Requires ABSOLUTE paths for file arguments.

w3_proof_ls

Tool for w3_proof_ls operation.

w3_reset

DANGEROUS: Resets the agent state, removing all proofs and delegations but retaining the agent DID. Requires explicit confirmation argument.

w3_rm

Tool for w3_rm operation.

w3_space_add

Tool for w3_space_add operation.

w3_space_create

Creates a new space with a user-friendly name. NOTE: w3 space create cannot be run via MCP due to interactive recovery key prompts. Please run this command manually in your terminal.

w3_space_info

Tool for w3_space_info operation. NOTE: no current space and no space given or {"spaces":[]} first make sure you are logged in before using other tools.

w3_space_ls

Tool for w3_space_ls operation. NOTE: no current space and no space given or {"spaces":[]} first make sure you are logged in before using other tools.

w3_space_provision

Associates a space with a customer/billing account.

w3_space_use

Tool for w3_space_use operation.

w3_up

Generates and prints a new ed25519 key pair. Does not automatically use it for the agent. Requires ABSOLUTE paths for file arguments.

w3_usage_report

Displays a storage usage report for the current or specified space.

ID: 1kj9uihg56