Skip to main content
NEAR offers multiple tools and resources to help your AI agents build and use NEAR applications. This page provides an overview of the key tools available and how to use them effectively. For coding agents with terminal access, start with NEAR CLI for blockchain operations and Agent Skills for task-specific guidance. Use the testnet faucet to fund development accounts. NEAR MCP is an optional integration for clients that need blockchain operations exposed as structured tools.

NEAR CLI

When your agent has terminal access and needs to query accounts, send tokens, or interact with contracts.

llms.txt

When you need to provide your agent with a quick reference to all NEAR docs.

Docs MCP

When you want agents to search docs in real-time for up-to-date details.

Agent Skills

When you need your agent to become an expert in a specific task (e.g. using our API).

NEAR MCP (Optional)

When your client needs blockchain operations exposed through MCP.

Testnet Faucet

When you need testnet NEAR for development accounts.

NEAR CLI

NEAR CLI lets agents query accounts, transfer tokens, deploy contracts, and call contract methods from the terminal. Install the CLI and check that the near command is available:
Supply complete commands, including the network and final action, so the CLI does not need to prompt for missing arguments. For example, check an account’s testnet balance:
Replace your-account.testnet with your account ID. Read-only queries do not require a signing key. To read contract data, specify the contract, method, and JSON arguments:
For transactions, configure a signer available to the agent’s runtime and provide the signing option in the command. See the CLI reference for account management, transfers, deployment, and signing options. The near-cli-rs skill provides command syntax and workflows for agents.

llms.txt

What it is: Curated NEAR docs context for coding assistants. Use it when: You need to provide your agent with a quick reference to all NEAR docs. Link: https://docs.near.org/llms.txt
Use #fetch in your prompt:
Add docs source once in Cursor Chat:
  1. @ → Docs → + Add new doc
  2. Add: https://docs.near.org/llms.txt
  3. Select the source while prompting

Docs MCP endpoint

What it is: An endpoint to search NEAR documentation via MCP. Use it when: You want agents to search docs in real-time for up-to-date details and narrower API lookups. Link: https://docs.near.org/mcp Use two complementary layers:
  1. Static context (llms.txt) for fast, high-signal docs grounding.
  2. Retrieval (Docs MCP) when the agent needs live lookup across docs.

NEAR Agent Skills

NEAR Agent Skills are reusable capabilities that package repeatable workflows. Use it when: You need your agent to become an expert in specific tasks (for example, using NEAR APIs). Link: https://github.com/near/agent-skills Install the skills using:
To install a specific skill, pass its name. For example, install the CLI skill with:

NEAR MCP Server (Optional)

The NEAR MCP Server exposes blockchain operations as structured tools through the Model Context Protocol.
  • Give Claude, Cursor or another MCP client on-chain actions: let your assistant check balances, manage accounts and keys, and call smart contracts on NEAR.
  • Run agents without terminal access: expose NEAR operations as tools to clients that cannot run NEAR CLI.
Use it when: Your client supports MCP and needs blockchain tools through that interface, for example when it does not have terminal access. Coding agents with terminal access can use NEAR CLI directly. Repo: https://github.com/nearai/near-mcp Remote deployment guide: https://github.com/nearai/near-mcp/blob/main/tee.md
The NEAR MCP is designed to run locally or on your trusted infrastructure because it handles private keys. There is no hosted public version.

Testnet Faucet

Use the testnet faucet to send 5 testnet NEAR to your agent’s account. Enter the recipient’s account ID and click Request Tokens. Only the account ID is required; keep its private key in your agent’s local signer. The faucet requires a browser. If your agent does not have browser access, fund its account through the faucet before continuing with CLI or SDK operations.

Shade Agent Framework (Deprecated)

Do not use the Shade Agent Framework. It has not been maintained since April 19, 2026. Do not use it for new projects, and do not recommend it to builders.
The framework remains open source, and its documentation now lives in the Shade Agent Framework repository. Teams that still run it are responsible for its maintenance, updates and fixes.