Skip to main content
Glama

MCP Server AntV

Official
by antvis
index.spec.ts872 B
import { describe, expect, it } from 'vitest'; import { default as QueryAntVDocument } from './query_antv_document.json'; import { default as ExtractAntVTopic } from './extract_antv_topic.json'; import { QueryAntVDocumentTool, ExtractAntVTopicTool } from '../../src/tools'; import { zodToJsonSchema } from '../schema'; describe('Check tool schema', () => { it('QueryAntVDocument should match the expected schema', () => { const { run, inputSchema, ...rest } = QueryAntVDocumentTool; expect({ ...rest, inputSchema: zodToJsonSchema(inputSchema.shape), }).toEqual(QueryAntVDocument); }); it('ExtractAntVTopic should match the expected schema', () => { const { run, inputSchema, ...rest } = ExtractAntVTopicTool; expect({ ...rest, inputSchema: zodToJsonSchema(inputSchema.shape), }).toEqual(ExtractAntVTopic); }); });

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/antvis/mcp-server-antv'

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