wi-graphql-mcp-server
An MCP server implementing the Wildlife Insights GraphQL API, providing natural language tools for wildlife management and species identification.
README
wi-graphql-mcp-server
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.
🌟 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:
executeGraphQLfor 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。