Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PARASWAP_RPC_URLS_1NoJSON-RPC endpoint for chain 1 (Ethereum). Public nodes are used when unset.
PARASWAP_RPC_URLS_8453NoJSON-RPC endpoint for chain 8453 (Base). Public nodes are used when unset.
PARASWAP_ALLOWED_CHAINSNoComma-separated chain ids the server will serve, e.g. 1,42161. An empty or malformed value refuses to start. Leave unset to use defaults (1,42161,8453).
PARASWAP_RPC_URLS_42161NoJSON-RPC endpoint for chain 42161 (Arbitrum One). Public nodes are used when unset.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
build_swap_transactionA

Build a token swap via Paraswap v5 on Ethereum (1), Arbitrum One (42161) or Base (8453). Returns an ORDERED list of raw transactions, each with to/data/value ready for wallet preview and execution: an exact-amount ERC-20 approve when the current allowance is short (preceded by a reset to zero when a partial allowance already exists — USDT-style tokens revert otherwise), then the swap. Execute them in order; do not reorder, skip or batch. Quotes are fetched fresh on every call and expire in minutes: build right before executing.

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/rustok-org/paraswap-mcp'

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