Pharos MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for HTTP transport | 127.0.0.1 |
| MCP_PORT | No | Port for HTTP transport | 3001 |
| TRUST_PROXY | No | Set 'true' behind a load balancer so rate limiting uses the real client IP from X-Forwarded-For | false |
| MCP_TRANSPORT | No | Transport mode: 'stdio' or 'http' | stdio |
| MCP_AUTH_TOKEN | No | Bearer token for HTTP transport authentication; auth is off when unset | |
| PHAROS_RPC_URL | No | Upstream JSON-RPC endpoint | https://rpc.pharos.xyz |
| PHAROS_CHAIN_ID | No | Expected chain ID | 1672 |
| PHAROS_NATIVE_SYMBOL | No | Native token symbol | PROS |
| RATE_LIMIT_PER_MINUTE | No | Per-IP request cap; 0 disables | 120 |
| ENABLE_SEND_RAW_TRANSACTION | No | Enable transaction broadcasting (true/false) | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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