MCP
The NightVision Model Context Protocol (MCP) server enables AI-powered code editors like Cursor and Windsurf, plus general-purpose tools like Claude Desktop, to interact directly with your NightVision API and documentation.
What is MCP?
Section titled “What is MCP?”Model Context Protocol (MCP) is an open standard that allows AI applications to securely access external data sources and tools. The NightVision MCP server provides AI agents with:
- Direct API access to NightVision functionality
- Documentation search capabilities
- Real-time data from your NightVision account
- Code generation assistance for NightVision integrations
NightVision MCP Server Setup
Section titled “NightVision MCP Server Setup”NightVision hosts a remote MCP server at https://docs.nightvision.net/mcp. Configure your AI development tools to connect to this server. If your APIs require authentication, you can pass in headers via query parameters or however headers are configured in your MCP client.
Add to ~/.cursor/mcp.json:
{ "mcpServers": { "nightvision": { "url": "https://docs.nightvision.net/mcp" } }}Add to ~/.codeium/windsurf/mcp_config.json:
{ "mcpServers": { "nightvision": { "url": "https://docs.nightvision.net/mcp" } }}Add to claude_desktop_config.json:
{ "mcpServers": { "nightvision": { "url": "https://docs.nightvision.net/mcp" } }}Testing Your MCP Setup
Section titled “Testing Your MCP Setup”Once configured, you can test your MCP server connection:
- Open your AI editor (Cursor, Windsurf, etc.)
- Start a new chat with the AI assistant
- Ask about NightVision - try questions like:
- “How do I [common use case]?”
- “Show me an example of [API functionality]”
- “Create a [integration type] using NightVision”
The AI should now have access to your NightVision account data and documentation through the MCP server.