Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with MPC wallet configuration and JSON schema information #437

Merged
merged 3 commits into from
Mar 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cp mcp-solana.example.json mcp-solana.json
- Absolute path to the parent folder of the `model-context-protocol` folder, you can get it by running `pwd` in the `model-context-protocol` folder
- `WALLET_PRIVATE_KEY`
- `RPC_PROVIDER_URL`
- `CROSSMINT_API_KEY`
- `CROSSMINT_API_KEY` (Note: The project configured for CROSSMINT_API_KEY should be a project that has MPC wallets configured instead of smart wallets. To do this, go to https://www.staging.crossmint.com/console or https://www.crossmint.com/console, and configure type of wallets in the Wallets dropdown.)

3. Copy/update the json file and rename it to `claude_desktop_config.json` file to the `~/Library/Application Support/Claude/` directory:
```bash
Expand All @@ -61,6 +61,36 @@ This tells Claude for Desktop:
2. Chat with the agent:
- Purchase <link-to-amazon-item>

### Expected JSON Schema for MCP buy_token Tool Response

The MCP buy_token tool should return a response in the following format:

```json
{
"lineItems": [
{
"productLocator": <AMAZON_PRODUCT_LOCATOR>
}
],
"recipient": {
"email": <EMAIL>,
"physicalAddress": {
"name": <NAME>,
"line1": <ADDRESS LINE 1>,
"city": <CITY>,
"state": <STATE>,
"postalCode": <POSTAL CODE>,
"country": "US"
}
},
"payment": {
"method": <CHAIN_NAME>,
"currency": <CURRENCY>,
"payerAddress": <WALLET_ADDRESS>
}
}
```

For more information on how to use the model context protocol, check out the [docs](https://modelcontextprotocol.io/quickstart/server).

<footer>
Expand Down
Loading