Fledge MCP Server logo

Fledge MCP Server

by Krupalp525

The Fledge MCP Server connects Fledge functionality to Cursor AI, enabling interaction with Fledge instances through natural language commands. It acts as a bridge, allowing AI to access and manage Fledge data and services.

View on GitHub

Last updated: N/A

What is Fledge MCP Server?

The Fledge MCP Server is a Model Context Protocol server that facilitates communication between Fledge (an open-source edge computing framework) and Cursor AI (an AI-powered code editor). It allows Cursor AI to interact with Fledge instances using natural language commands, providing a user-friendly interface for managing and accessing Fledge data and services.

How to use Fledge MCP Server?

To use the server, first install Fledge and Cursor AI. Then, clone the Fledge MCP Server repository, install dependencies, and run the server (either the standard or secure version). Configure Cursor AI to connect to the server by providing the server URL and uploading the tools.json file. You can then use natural language commands in Cursor AI to interact with Fledge.

Key features of Fledge MCP Server

  • Connects Fledge to Cursor AI

  • Enables natural language interaction with Fledge

  • Provides access to Fledge data and services

  • Supports secure API key authentication

  • Offers a variety of tools for data access, service control, and UI generation

  • Supports JSON-RPC protocol for communication

Use cases of Fledge MCP Server

  • Using natural language to fetch sensor data from Fledge

  • Controlling Fledge services via AI commands

  • Generating UI components for Fledge data visualization with AI assistance

  • Automating Fledge configuration updates

  • Debugging and validating Fledge API connections

FAQ from Fledge MCP Server

What is Fledge?

Fledge is an open-source edge computing framework for industrial IoT.

What is Cursor AI?

Cursor AI is an AI-powered code editor that helps developers write code faster and more efficiently.

How does the MCP server work?

The MCP server acts as a bridge between Fledge and Cursor AI, translating natural language commands into API calls to Fledge.

What is the purpose of the tools.json file?

The tools.json file defines the available tools and their parameters, allowing Cursor AI to understand the capabilities of the Fledge MCP Server.

How do I secure the MCP server?

Use the secure_mcp_server.py script, which implements API key authentication. Generate an API key and include it in the X-API-Key header for all requests.