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 thenear command is available:
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:
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.txtVS Code Setup
VS Code Setup
Use
#fetch in your prompt:Cursor Setup
Cursor Setup
Add docs source once in Cursor Chat:
@→Docs→+ Add new doc- Add:
https://docs.near.org/llms.txt - 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:- Static context (
llms.txt) for fast, high-signal docs grounding. - 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:NEAR MCP Server (Optional)
The NEAR MCP Server exposes blockchain operations as structured tools through the Model Context Protocol.Common use cases
Common use cases
- 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.