Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port for the MCP server (default: 3101)3101
TESTNETYes"true" for testnet, "false" for mainnet
ABSTRACT_RPC_URLYesAbstract network RPC URL
MCP_DISABLE_PINGSNo"true" to disable ping messages
ABSTRACT_PRIVATE_KEYYesEOA private key that pays gas fees

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ab_deploy_token_erc20

Deploy an ERC-20 BasicToken to the Abstract network.

PARAMETERS

  • name – token name (e.g. "DemoToken")

  • symbol – token symbol/ticker (e.g. "DMT")

  • initialSupply – numeric string of total supply in wei (18 decimals)

FLOW

  • Uses proven zksync-ethers deployment method via subprocess

  • Returns the deployed contract address

SECURITY / LIMITATIONS

  • Make sure the deployer wallet (ABSTRACT_PRIVATE_KEY / PRIVATE_KEY) has enough funds on the target network

ab_get_balance

Fetch the current on-chain balance for a wallet.

CAPABILITIES • Native ETH balance (default) • ERC-20 balance via tokenAddress OR well-known tokenSymbol (lookup table) • ENS name resolution for the target address

EXAMPLES

  1. Native balance → { address: "vitalik.eth" }

  2. ERC-20 balance via symbol → { address: "0x123…", tokenSymbol: "USDC" }

  3. ERC-20 via contract → { address: "0xabc…", tokenAddress: "0xA0b8…" }

RETURNS • Human-readable string (e.g. "12.3456")

SECURITY • Read-only operation, no gas spent; safe to run frequently.

ab_transfer_token

Transfer value from the caller’s wallet to another address.

FUNCTIONALITY • Native ETH transfer (simple payment) • ERC-20 transfer (requires tokenAddress or known tokenSymbol) • ENS resolution for recipient

VALIDATION & LOGGING • Ensures wallet signer configured, token decimals fetched automatically • Logs tx hash on success so the agent can create explorer links

COMMON USE-CASES • Payout scripted rewards • Move workshop faucet tokens to students • Automation flows needing programmatic payment

ab_agw_create_wallet

Deploy a new Abstract Global Wallet (smart-contract account) for a given signer.

The tool wraps @abstract-foundation/agw-client’s deployAccount helper.

Returns both the smart-account address and the deployment tx hash (undefined when the account already exists).

ab_generate_wallet

Generate a brand-new Externally Owned Account (EOA).

RETURNS • privateKey – 0x-prefixed 32-byte hex string • address – checksummed Ethereum/Abstract address

COMMON USES • Let agents spin up their own keypairs before funding or deploying smart-accounts.

SECURITY • The private key is returned in plaintext. Ensure the caller stores it securely and never logs it.

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/wearesociety/abstract_MCP'

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