Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Near MCP server

by nearai/near-mcpMIT licenceAudited 8 Oct 2026 · source e55f69aa3849

npm @nearai/near-mcp 0.0.35ssestdio★ 31
✓SAFEGrade B · 89/100 · 8 Oct 2026 · e55f69a
31GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 23 tools: 13 read, 7 write and 3 destructive. The audit recorded 8 findings (0 critical, 0 high, 1 medium, 6 low). Maintainer's description: An MCP server for the NEAR blockchain

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Near MCP server (nearai/near-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/nearai/near

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium6 low1 info

8 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared4 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 5 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner nearaiOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npm@nearai/near-mcp at version 0.0.35
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push17 months agoActivity of the repository when we read it.
  • Source commit reade55f69aa3849The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory23 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (8)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
account_delete_access_keys, account_delete_account, system_remove_local_account
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/commands/run/index.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { runMcpServer } from '../../';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/commands/tools/index.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createMcpServer } from '../../services';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/commands/tools/index.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { stringify_bigint } from '../../utils';
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · tee.md:33
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
eyJwdWJsaWNfa2V5IjoiZWQyNTUxOTpGcldnQm1EbmJFRVJudHZTVkdpenBVeGs2NExYTmJhRjNVNzdEdTZWUURGUiIsInByaXZhdGVfa2V5IjoiZWQyNTUxOTo0NTdQdzJCeUZmNnVUOHI2SGkzWlFzOVJQQ3NNN0FXb3I0a2dlZW50UE1HVXRhb2ZobUtVanF4M1Zw
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @near-js/accounts, @near-js/client, @near-js/crypto, @near-js/keystores, @near-js/keystores-node, @near-js/types, @near-js/utils
Why
37 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.authority_framing · TOOLS.md:271
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
"description": "\nAdd an access key to an account. This can be used to grant full access to an account,\nor allow the specified account to have specific function call access to a contract.",
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

23 declared in source · 3 destructive

13 read7 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
account_delete_access_keysdestructiveNo description in the source
account_delete_accountdestructiveNo description in the source
system_remove_local_accountdestructiveNo description in the source
account_add_access_keywriteNo description in the source
account_create_accountwriteNo description in the source
account_create_implicit_accountwriteNo description in the source
ref_finance_execute_swapwriteNo description in the source
system_import_accountwriteNo description in the source
tokens_send_ftwriteNo description in the source
tokens_send_nearwriteNo description in the source
account_export_accountreadNo description in the source
account_list_access_keysreadNo description in the source
account_sign_datareadNo description in the source
account_verify_signaturereadNo description in the source
account_view_account_summaryreadNo description in the source
contract_call_raw_functionreadNo description in the source
contract_call_raw_function_as_read_onlyreadNo description in the source
contract_get_function_argsreadNo description in the source
contract_view_functionsreadNo description in the source
ref_finance_get_poolsreadNo description in the source
ref_finance_get_swap_estimatereadNo description in the source
search_near_fungible_tokensreadNo description in the source
system_list_local_keypairsreadList all NEAR accounts and their keypairs in the local keystore by network.

Install

Package version 0.0.35 · audited commit e55f69a

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.0.35. The audit covers commit e55f69a only.

claude mcp add near-mcp --env NEAR_KEYSTORE=${NEAR_KEYSTORE} -- npx -y @nearai/[email protected]

The command pins the package version recorded in the source (0.0.35); the audit covers commit e55f69aa3849. Transport: sse · stdio. Reads this environment variable: NEAR_KEYSTORE. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · e55f69aa3849

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/nearai/near/badge.svg)](https://modelsatlas.com/mcp/nearai/near/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Near MCP server

What is the Near MCP server?
An MCP server for the NEAR blockchain
What tools does Near expose?
23 in total: 13 read-only, 7 that write, and 3 that can delete or overwrite (account_delete_access_keys, account_delete_account, system_remove_local_account). Every one is listed on this page with its risk.
Is Near safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Near need?
It reads NEAR_KEYSTORE from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Near run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as @nearai/near-mcp at 0.0.35.
How current is this page?
The grade is for one exact copy of the source (e55f69aa3849), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • nearai/near-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit e55f69aa3849Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.