wi-graphql-mcp-server

wi-graphql-mcp-server

An MCP server implementing the Wildlife Insights GraphQL API, providing natural language tools for wildlife management and species identification.

Category
Visit Server

README

wi-graphql-mcp-server

CI/CD Pipeline Auto Version

A Model Context Protocol (MCP) server implementing the Wildlife Insights GraphQL API. This server provides natural language tools for wildlife management and species identification.

🦌 Natural Language Interface for Wildlife Insights GraphQL API

A comprehensive Model Context Protocol (MCP) server that provides intuitive, natural language tools for accessing Wildlife Insights data. Perfect for wildlife management, species identification workflows, and Texas ranch operations.

npm version License: MIT

🌟 Features

šŸŽÆ 20+ Natural Language Tools

  • Data Navigation: getMyOrganizations, exploreMyData, getMyProjects
  • Species Identification: getIdentifyPhotosCount, submitIdentification, bulkIdentifyImages
  • Analytics & Insights: getRanchManagementInsights, getSpeciesAnalytics, getProjectAnalytics
  • Upload Management: createUpload, uploadImageWorkflow, completeUpload
  • Advanced: executeGraphQL for custom queries

🦌 Texas Ranch Optimized

  • Texas game species classification
  • Ranch management goal alignment (conservation/hunting/ecotourism)
  • Habitat management recommendations
  • Seasonal monitoring guidance

šŸ”§ Production Ready

  • TypeScript implementation
  • Comprehensive error handling
  • Complete memory bank documentation
  • Professional deployment options

šŸš€ Quick Start

Installation

# Install from NPM (recommended)
npm install -g wildlife-insights-mcp

# Or from source
git clone https://github.com/yourusername/wildlife-insights-mcp.git
cd wildlife-insights-mcp
npm install

Development

# Start development server with hot reload
npm run dev

# Build for production
npm run build

# Start production server
npm start

MCP Client Configuration

For Cline/Cursor:

{
  "mcpServers": {
    "wildlife-insights": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "node",
      "args": ["./node_modules/tsx/dist/cli.mjs", "src/server.ts"],
      "cwd": "/path/to/wildlife-insights-mcp",
      "env": {
        "WI_GRAPHQL_ENDPOINT": "https://api.wildlifeinsights.org/graphql",
        "WI_BEARER_TOKEN": "your_token_here"
      }
    }
  }
}

šŸ“– Usage Examples

šŸ  Organization Discovery

// Find your organizations
await use_mcp_tool("wildlife-insights", "getMyOrganizations")

šŸ“Š Project Analytics

// Get Texas ranch management insights
await use_mcp_tool("wildlife-insights", "getRanchManagementInsights", {
  projectId: "2010935",
  ranchGoals: "balanced"
})

🦊 Species Analysis

// Analyze species in your project
await use_mcp_tool("wildlife-insights", "getSpeciesAnalytics", {
  projectId: "2010935"
})

šŸ“· Identification Workflow

// Check pending identifications
await use_mcp_tool("wildlife-insights", "getIdentifyPhotosCount", {
  projectId: "2010935"
})

// Get images for identification
await use_mcp_tool("wildlife-insights", "getImagesForIdentification", {
  projectId: "2010935",
  limit: 20
})

šŸ“¤ Upload Management

// Complete upload workflow
await use_mcp_tool("wildlife-insights", "uploadImageWorkflow", {
  projectId: "2010935",
  deploymentId: "2420851",
  fileName: "camera001.jpg",
  fileSize: "1024000"
})

šŸ”§ Authentication

Option 1: Environment Variable

export WI_BEARER_TOKEN="your_bearer_token_here"
npm run dev

Option 2: Runtime Setup

// Set token for this session
await use_mcp_tool("wildlife-insights", "auth.setToken", {
  token: "your_bearer_token_here"
})

šŸ—ļø Development

Project Structure

ā”œā”€ā”€ src/
│   ā”œā”€ā”€ server.ts          # Main MCP server with all tools
│   ā”œā”€ā”€ wiClient.ts        # GraphQL client wrapper
│   └── schemas/
│       └── operations.ts  # GraphQL query definitions
ā”œā”€ā”€ memory-bank/           # Complete project documentation
│   ā”œā”€ā”€ projectbrief.md    # Core requirements
│   ā”œā”€ā”€ productContext.md  # Problem/solution fit
│   ā”œā”€ā”€ activeContext.md   # Current work focus
│   ā”œā”€ā”€ systemPatterns.md  # Architecture patterns
│   ā”œā”€ā”€ techContext.md     # Technical implementation
│   └── progress.md        # Status and roadmap
ā”œā”€ā”€ dist/                  # Compiled JavaScript (auto-generated)
└── examples/              # MCP client configurations

Adding New Tools

  1. Add GraphQL queries to src/schemas/operations.ts
  2. Register tools in src/server.ts
  3. Update memory bank documentation
  4. Test with real API calls

šŸ“‹ Available Tools

šŸ¢ Organization & Project Management

  • getMyOrganizations - Discover accessible organizations
  • getMyProjects - Navigate project hierarchy
  • exploreMyData - Step-by-step data exploration
  • getProjectDetails - Comprehensive project information

šŸ“Š Analytics & Insights

  • getProjectAnalytics - Overall project metrics
  • getSpeciesAnalytics - Species pattern analysis
  • getRanchManagementInsights - Texas-specific recommendations
  • getDeploymentAnalytics - Camera deployment optimization

🦊 Species Identification

  • getIdentifyPhotosCount - Count pending identifications
  • getImagesForIdentification - Retrieve images for processing
  • submitIdentification - Submit species identification
  • bulkIdentifyImages - Process multiple images
  • getIdentificationWorkflow - Monitor progress

šŸ“¤ Upload Management

  • createUpload - Create upload sessions
  • getUploadUrl - Get signed upload URLs
  • completeUpload - Finalize upload sessions
  • uploadImageWorkflow - Complete upload workflow

šŸ”§ System & Advanced

  • executeGraphQL - Run custom GraphQL queries
  • auth.setToken - Manage authentication
  • auth.refreshToken - Token management
  • whoami - Server information

šŸŒ Texas Ranch Focus

This MCP server is specifically optimized for Texas ranch wildlife management:

  • Game Species: White-tailed deer, feral hogs, collared peccary
  • Management Goals: Conservation, hunting, ecotourism, balanced approaches
  • Habitat Types: Texas ecosystems and seasonal patterns
  • Regulatory Context: Texas wildlife regulations and best practices

šŸ¤ Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Update memory bank documentation
  5. Submit a pull request

šŸ“„ License

MIT License - see LICENSE file for details.

šŸ™ Acknowledgments

  • Wildlife Insights: GraphQL API and platform
  • MCP SDK: Model Context Protocol implementation
  • Texas Ranchers: Real-world use case and feedback

šŸ“ž Support


Made with ā¤ļø for wildlife conservation and ranch management

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured