Getting Started
Quick Start
Get up and running with Testra in minutes:
1. Browse the Directory
Visit testra.ai to explore available MCP servers:
Browse by Category: DeFi, Gaming, Data Processing, AI/ML
Filter by Transport: HTTP, WebSocket, gRPC
Security Filters: Audited servers, open source only
Performance Filters: Uptime, response time, throughput
2. Test Servers Live
Use the built-in Live Inspector to test any server:
# No installation required - test directly in browser
# Visit: https://testra.ai/servers/{server-id}/test
# Or use our CLI tool
npm install -g @testra/cli
testra test server-id --function getPrice --params '{"symbol":"ETH/USD"}'
3. Integrate with Your App
// Install the SDK
npm install @testra/sdk
// Quick integration
import { TestraClient } from '@testra/sdk';
const client = new TestraClient();
const server = await client.getServer('price-oracle-v1');
const result = await server.call('getPrice', { symbol: 'ETH/USD' });
Installation
SDK Installation
# NPM
npm install @testra/sdk
# Yarn
yarn add @testra/sdk
# PNPM
pnpm add @testra/sdk
# Bun
bun add @testra/sdk
CLI Installation
# Global installation
npm install -g @testra/cli
# Verify installation
testra --version
Authentication
Most operations are public and free. Premium features require an API key:
# Set up authentication
testra auth login
# Or use environment variable
export TESTRA_API_KEY="your-api-key"
Last updated