
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@covalenthq/goldrush-mcp-server
Advanced tools
GoldRush MCP Server for interacting with Covalent GoldRush API
This project provides a MCP (Model Context Protocol) server that exposes Covalent's GoldRush APIs as MCP resources and tools. It is implemented in TypeScript using @modelcontextprotocol/sdk and @covalenthq/client-sdk.
Model Context Protocol (MCP) is a message protocol for connecting context or tool-providing servers with LLM clients. This server allows an LLM client to:
Using any of the GoldRush developer tools requires an API key. Get yours at https://goldrush.dev/platform/auth/register/
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"goldrush": {
"command": "npx",
"args": ["-y", "@covalenthq/goldrush-mcp-server@latest"],
"env": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
For more details follow the official MCP Quickstart for Claude Desktop Users
$ claude mcp add goldrush -e GOLDRUSH_API_KEY=<YOUR_API_KEY_HERE> -- npx -y @covalenthq/goldrush-mcp-server@latest
For more details see Set up Model Context Protocol (MCP)
~/.cursor/mcp.json
:{
"mcpServers": {
"goldrush": {
"command": "npx",
"args": ["-y", "@covalenthq/goldrush-mcp-server@latest"],
"env": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
For project specific configuration, add the above to a .cursor/mcp.json
file in your project directory. This allows you to define MCP servers that are only available within that specific project.
After adding, refresh the MCP server list to see the new tools. The Composer Agent will automatically use any MCP tools that are listed under Available Tools on the MCP settings page if it determines them to be relevant. To prompt tool usage intentionally, simply tell the agent to use the tool, referring to it either by name or by description.
See Example LLM Flow
Add this to your ~/.codeium/windsurf/mcp_config.json
file:
{
"mcpServers": {
"goldrush": {
"command": "npx",
"args": ["-y", "@covalenthq/goldrush-mcp-server@latest"],
"env": {
"GOLDRUSH_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
The server is designed to be started as a subprocess by an MCP client. For example, using the MCP TypeScript SDK:
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
const transport = new StdioClientTransport({
command: "npx",
args: ["-y", "@covalenthq/goldrush-mcp-server@latest"],
env: {"GOLDRUSH_API_KEY"="your_api_key_here"}
});
const client = new Client(
{
name: "example-client",
version: "1.0.0"
},
{
capabilities: {
tools: {}
}
}
);
await client.connect(transport);
// List tools
const resources = await client.listTools();
const tools = await client.listTools();
console.log("Available tools:", tools.tools.map(tool => tool.name).join(", "));
// Now you can call tools
const result = await client.callTool({
name: "token_balances",
arguments: {
chainName: "eth-mainnet",
address: "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
quoteCurrency: "USD",
nft: false,
},
});
console.log("Token balances:", result.content);
...
transaction_summary
to gather data about a wallet.Tools are a powerful primitive in the Model Context Protocol (MCP) that enable servers to expose executable functionality to clients. Through tools, LLMs can interact with external systems, perform computations, and take actions in the real world.
Tools are designed to be model-controlled, meaning that tools are exposed from servers to clients with the intention of the AI model being able to automatically invoke them (with a human in the loop to grant approval).
bitcoin_hd_wallet_balances
bitcoin_non_hd_wallet_balances
bitcoin_transactions
block
block_heights
erc20_token_transfers
gas_prices
historical_portfolio_value
historical_token_balances
historical_token_prices
log_events_by_address
log_events_by_topic
multichain_address_activity
multichain_balances
multichain_transactions
native_token_balance
nft_check_ownership
nft_for_address
pool_spot_prices
token_approvals
token_balances
token_holders
transaction
transaction_summary
transactions_for_address
transactions_for_block
Resources are a core primitive in the Model Context Protocol (MCP) that allow servers to expose data and content that can be read by clients and used as context for LLM interactions.
Resources are designed to be application-controlled, meaning that the client application can decide how and when they should be used. Different MCP clients may handle resources differently. For example:
Resources exposed by the GoldRush MCP server are split into static and dynamic types:
Static resources (src/resources/staticResources.ts
):
config://supported-chains
config://quote-currencies
Dynamic resources (src/resources/dynamicResources.ts
):
status://all-chains
status://chain/{chainName}
Dynamic resources fetch real-time data from the Covalent API on each request, ensuring current information.
git clone https://github.com/covalenthq/goldrush-mcp-server.git
cd goldrush-mcp-server
npm install
Then build:
npm run build
# Start the server (runs dist/index.js)
npm run start
This spawns the MCP server on stdin/stdout. Typically, an MCP client will connect to the server.
You can run the example client that will spawn the server as a child process via STDIO:
npm run example
This attempts a few Covalent calls and prints out the responses.
npm run test
This runs the entire test suite covering each service.
You must set the GOLDRUSH_API_KEY
environment variable to a valid key from the Covalent platform.
For example on Linux/macOS:
export GOLDRUSH_API_KEY=YOUR_KEY_HERE
Or on Windows:
set GOLDRUSH_API_KEY=YOUR_KEY_HERE
goldrush-mcp-server
βββ src
β βββ index.ts # Main MCP server entry point
β βββ services/ # Modular service implementations
β β βββ AllChainsService.ts # Cross-chain service tools
β β βββ BalanceService.ts # Balance-related tools
β β βββ BaseService.ts # Basic blockchain tools
β β βββ BitcoinService.ts # Bitcoin-specific tools
β β βββ NftService.ts # NFT-related tools
β β βββ PricingService.ts # Pricing-related tools
β β βββ SecurityService.ts # Security-related tools
β β βββ TransactionService.ts# Transaction-related tools
β βββ resources/ # Resource implementations
β β βββ staticResources.ts # Static configuration resources
β β βββ dynamicResources.ts # Dynamic chain status resources
β βββ utils/ # Utility functions and constants
β β βββ constants.ts # Shared constants
β β βββ helpers.ts # Helper functions
β βββ example-client.ts # Example LLM client using STDIO transport
βββ test
β βββ AllChainsService.test.ts
β βββ BalanceService.test.ts
β βββ BaseService.test.ts
β βββ BitcoinService.test.ts
β βββ NftService.test.ts
β βββ PricingService.test.ts
β βββ Resources.test.ts
β βββ SecurityService.test.ts
β βββ TransactionService.test.ts
βββ eslint.config.mjs # ESLint configuration
βββ package.json # Project dependencies and scripts
βββ package-lock.json # Locked dependencies
βββ tsconfig.json # TypeScript configuration
βββ LICENSE # MIT license
βββ README.md # Project documentation
https://modelcontextprotocol.io/docs/tools/inspector
npx @modelcontextprotocol/inspector node dist/index.js
We welcome contributions from the community! If you have suggestions, improvements, or new spam contract addresses to add, please open an issue or submit a pull request. Feel free to check issues page.
Give a βοΈ if this project helped you!
This project is MIT licensed.
FAQs
GoldRush MCP Server for interacting with Covalent GoldRush API
The npm package @covalenthq/goldrush-mcp-server receives a total of 7 weekly downloads. As such, @covalenthq/goldrush-mcp-server popularity was classified as not popular.
We found that @covalenthq/goldrush-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.