what is Phalcon MCP Server?
Phalcon MCP Server is a server that integrates with the BlockSec platform to provide blockchain transaction analysis tools via the Model Context Protocol (MCP).
how to use Phalcon MCP Server?
To use the Phalcon MCP Server, install it using Go or Docker, and start the server with the command phalcon-mcp serve
. You can also integrate it with applications that support MCP.
key features of Phalcon MCP Server?
- Transaction analysis tools including Trace, Profile, AddressLabel, BalanceChange, StateChange, and TransactionOverview.
- Ability to retrieve chain information and human-readable labels for contract addresses.
- Comprehensive overview of transactions by aggregating data from various analysis tools.
use cases of Phalcon MCP Server?
- Analyzing blockchain transactions for gas usage and flow of funds.
- Profiling transactions to understand token information and state changes.
- Integrating with applications for enhanced blockchain transaction insights.
FAQ from Phalcon MCP Server?
- What programming language is Phalcon MCP Server written in?
Phalcon MCP Server is written in Go.
- Is Phalcon MCP Server free to use?
Yes! Phalcon MCP Server is open-source and available under the MIT license.
- How can I run Phalcon MCP Server using Docker?
You can run it using the command
docker run -i --rm ghcr.io/mark3labs/phalcon-mcp:latest serve
.
Phalcon MCP Server
This MCP server integrates with the BlockSec platform to provide blockchain transaction analysis tools via the Model Context Protocol (MCP).
Components
Tools
Transaction Analysis
-
Trace
- Trace the different calls of a transaction on a blockchain along with gas usage metrics
- Parameters:
chainId
(required),transactionHash
(required)
-
Profile
- Profile a transaction on a blockchain with details about the transaction, flow of funds and token information
- Parameters:
chainId
(required),transactionHash
(required)
-
AddressLabel
- Get human readable labels for contract addresses like tokens, protocols, and other on-chain entities
- Parameters:
chainId
(required),transactionHash
(required)
-
BalanceChange
- Retrieve detailed balance change information for a transaction
- Parameters:
chainId
(required),transactionHash
(required)
-
StateChange
- Retrieve detailed information about state changes like storage variables in contracts for a transaction
- Parameters:
chainId
(required),transactionHash
(required)
-
TransactionOverview
- Comprehensive overview of a transaction by aggregating data from all available analysis tools
- Parameters:
chainId
(required),transactionHash
(required)
Chain Information
- GetChainIdByName
- Get the chain ID for a blockchain by name, chain, or chainSlug
- Parameters:
name
(required)
Getting Started
Installation
Using Go Install
go install github.com/mark3labs/phalcon-mcp@latest
Usage
Start the MCP server:
phalcon-mcp serve
Check the version:
phalcon-mcp version
Usage with Model Context Protocol
To integrate this server with apps that support MCP:
{
"mcpServers": {
"phalcon": {
"command": "phalcon-mcp",
"args": ["serve"]
}
}
}
Docker
Running with Docker
You can run the Phalcon MCP server using Docker:
docker run -i --rm ghcr.io/mark3labs/phalcon-mcp:latest serve
Docker Configuration with MCP
To integrate the Docker image with apps that support MCP:
{
"mcpServers": {
"phalcon": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mark3labs/phalcon-mcp:latest",
"serve"
]
}
}
}
License
MIT