AntVSAFE
🧑🏻💻 MCP Server for @antvis visualization development, which provides documentation context and examples for visualization developers.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
MCP Server AntV [](https://www.npmjs.com/package/@antv/mcp-server-antv) [](https://smithery.ai/server/@antvis/mcp-server-antv) [](https://www.npmjs.com/package/@antv/mcp-server-antv)
A Model Context Protocol (MCP) server designed for AI development and QA that provides AntV documentation context and code examples using the latest APIs.
Supports G2, G6, and F2 libraries for declarative visualization workflows, with S2, X6, L7, and more (including AVA, ADC, and G) coming soon.
✨ Features
- ✅ AntV 5.x Compatibility: Leverages the latest APIs for performance and modularity.
- 🧩 Multi-Library Support: G2 (2D charts), G6 (graph/networks), and F2 (mobile charts).
- 🔍 Smart Intent Extraction: Detects library usage and task complexity via
extract_antv_topic. - 📚 Contextual Documentation: Fetches relevant AntV docs and code snippets with
query_antv_document.
🛠️ Quick Start
Requirements
- Node.js >= v18.0.0
- Cursor, VSCode, Cline, Claude Desktop or another MCP Client.
Connect to Cursor
[](https://cursor.com/install-mcp?name=mcp-server-antv&config=eyJjb21tYW5kIjoibnB4IC15IEBhbnR2L21jcC1zZXJ2ZXItYW50diJ9)
Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server
{
"mcpServers": {
"mcp-server-antv": {
"command": "npx",
"args": ["-y", "@antv/mcp-server-antv"]
}
}
}On Window system:
{
"mcpServers": {
"mcp-server-antv": {
6d00ba9bb987OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add mcp-server-antv -- npx -y @antv/[email protected]
{
"mcpServers": {
"mcp-server-antv": {
"command": "npx",
"args": [
"-y",
"@antv/[email protected]"
]
}
}
}Exposed tools (10)
10 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
ADC | read | Ant Design Charts built on G2 for React and modern frameworks |
AVA | read | Automated Visual Analytics: chart advisor, insight, narrative |
F2 | read | Mobile-optimized charts, lightweight visualization |
G | read | AntV Grammar of Graphics runtime and specification |
G2 | read | Statistical charts, data visualization, business intelligence charts |
G6 | read | Graph analysis, network diagrams, node-link relationships |
L7 | read | Geospatial visualization, maps, geographic data analysis |
S2 | read | Table analysis, spreadsheet-like interactions, data grids |
X6 | read | Graph editing, flowcharts, diagram creation tools |
query_antv_document | read | AntV Context Retrieval Assistant - Fetches relevant documentation, code examples, and best practices from official AntV resources. Supports ${Object.keys(ANTV_LIBRARY_META).join( |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (7)
.prettierignore
import { QueryAntVDocumentTool, ExtractAntVTopicTool } from '../../src/tools';import { getLibraryId } from '../../src/utils';} from '../../src/utils/deepwiki';
import { getEnvLoggerLevel } from '../../src/utils';import { logger } from '../../src/utils';@modelcontextprotocol/sdk, eventsource, zod, @modelcontextprotocol/inspector, @types/node, prettier, tsc-alias, typescript
Gates applied: no_behavioural_pass.
6d00ba9bb987full audit observations/trust-audit/mcp-server/antvis__antv.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 6d00ba9bb987 | SAFE | B | 89 | first audit |
Questions
What is the AntV MCP server?
🧑🏻💻 MCP Server for @antvis visualization development, which provides documentation context and examples for visualization developers.
What tools does AntV expose?
10 in total: 10 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is AntV 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.
What credentials does AntV need?
No credential environment variables were found in its source, so it appears to need none.
How does AntV run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @antv/mcp-server-antv at 0.1.8.
How current is this page?
The grade is for one exact copy of the source (6d00ba9bb987), read on 2026-10-08. The repository is watched and re-audited when it changes.