Skip to main content
Glama
PharosNetwork

Pharos MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address for HTTP transport127.0.0.1
MCP_PORTNoPort for HTTP transport3001
TRUST_PROXYNoSet 'true' behind a load balancer so rate limiting uses the real client IP from X-Forwarded-Forfalse
MCP_TRANSPORTNoTransport mode: 'stdio' or 'http'stdio
MCP_AUTH_TOKENNoBearer token for HTTP transport authentication; auth is off when unset
PHAROS_RPC_URLNoUpstream JSON-RPC endpointhttps://rpc.pharos.xyz
PHAROS_CHAIN_IDNoExpected chain ID1672
PHAROS_NATIVE_SYMBOLNoNative token symbolPROS
RATE_LIMIT_PER_MINUTENoPer-IP request cap; 0 disables120
ENABLE_SEND_RAW_TRANSACTIONNoEnable transaction broadcasting (true/false)false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_chain_infoA

Get Pharos chain ID, client version, latest block and configured RPC endpoint

get_block_numberA

Get the latest Pharos block number

get_balanceA

Get the native PROS balance of an EVM address

get_transaction_countB

Get an address transaction count (nonce)

get_gas_priceA

Get current Pharos gas price and priority fee

get_blockA

Get a Pharos block by tag or number

get_transactionB

Get a transaction by hash

get_transaction_receiptA

Get a transaction receipt by hash

get_codeB

Get contract bytecode at an address

get_storage_atC

Read a contract storage slot

eth_callC

Execute a read-only EVM contract call

estimate_gasA

Estimate gas for a transaction without sending it

get_logsA

Get EVM logs with bounded block range supplied by the caller

send_raw_transactionA

Broadcast an already-signed raw EVM transaction. This server never receives a private key.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PharosNetwork/pharos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server