FIWARE-MCP-Server
The FIWARE MCP Server provides a bridge for interacting with FIWARE Context Brokers. It supports basic CRUD operations and facilitates integration with other services. The server serves as a foundational implementation for developing more complex protocols.
FIWARE MCP Server
This project is the first implementation of a FIWARE Model Context Protocol (MCP) Server, acting as a bridge between the Context Broker and other services. It includes basic operations like version checking, querying, and publishing entities with the Context Broker. The server is designed to be expanded for more complex MCP implementations.
Objectives
- Basic MCP server for FIWARE
- Tools for Context Broker interaction
- Intent CRUD operations
- Foundation for further developments
Features
- Context Broker version checking
- Query capabilities
- Entity publishing and updating
Prerequisites
- Python 3.7 or higher
- pip
- FIWARE Context Broker access
Installation
- Clone the repository
- Install dependencies with pip
Usage
Start the server using Python or MCP CLI. Default address: 127.0.0.1:5001
Tools
- CB_version: Checks Context Broker version
- query_CB: Queries the Context Broker
- publish_to_CB: Publishes or updates entities
Configuration
Modify host, port, and timeout in server.py
Error Handling
Handles network issues, invalid responses, malformed data, server shutdown.