philip-hayden/wi-graphql-mcp-server
If you are the rightful owner of wi-graphql-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Wildlife Insights MCP Server provides a natural language interface for accessing Wildlife Insights data through a GraphQL API, optimized for wildlife management and Texas ranch operations.
Wildlife Insights MCP Server
š¦ 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.
š 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
- Add GraphQL queries to
src/schemas/operations.ts
- Register tools in
src/server.ts
- Update memory bank documentation
- Test with real API calls
š Available Tools
š¢ Organization & Project Management
getMyOrganizations
- Discover accessible organizationsgetMyProjects
- Navigate project hierarchyexploreMyData
- Step-by-step data explorationgetProjectDetails
- Comprehensive project information
š Analytics & Insights
getProjectAnalytics
- Overall project metricsgetSpeciesAnalytics
- Species pattern analysisgetRanchManagementInsights
- Texas-specific recommendationsgetDeploymentAnalytics
- Camera deployment optimization
š¦ Species Identification
getIdentifyPhotosCount
- Count pending identificationsgetImagesForIdentification
- Retrieve images for processingsubmitIdentification
- Submit species identificationbulkIdentifyImages
- Process multiple imagesgetIdentificationWorkflow
- Monitor progress
š¤ Upload Management
createUpload
- Create upload sessionsgetUploadUrl
- Get signed upload URLscompleteUpload
- Finalize upload sessionsuploadImageWorkflow
- Complete upload workflow
š§ System & Advanced
executeGraphQL
- Run custom GraphQL queriesauth.setToken
- Manage authenticationauth.refreshToken
- Token managementwhoami
- 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
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Update memory bank documentation
- 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
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Complete memory bank in
memory-bank/
directory
Made with ā¤ļø for wildlife conservation and ranch management