FIWARE MCP サーバー
これは、Context Brokerと他のサービス間のブリッジを提供するFIWARE Model Context Protocol (MCP) Serverの最初の実装です。このサーバーは、FIWARE Context Brokerと対話するための基本的な操作を実装しています。
目的
FIWARE 用の基本的な MCP サーバー実装を作成する
Context Brokerとのやりとりのためのシンプルなツールを提供する
Context Broker を使用した基本的な CRUD 操作のデモンストレーション
より複雑なMCP実装の基盤として機能する
特徴
Context Brokerのバージョンチェック
Context Brokerのクエリ機能
エンティティの公開と更新
前提条件
Python 3.7以上
pip (Python パッケージインストーラー)
FIWARE Context Brokerインスタンスへのアクセス
インストール
このリポジトリをクローンします:
必要な依存関係をインストールします。
クロードデスクトップ統合
使用法
MCP サーバーを起動します。
デフォルトでは、サーバーは127.0.0.1:5001
で起動します。
利用可能なツール
CB_バージョン
Context Brokerのバージョンを確認します
デフォルトのパラメータ: address="localhost", port=1026
戻り値: バージョン情報を含むJSON文字列
クエリ_CB
コンテキストブローカーにクエリを実行する
パラメータ:
アドレス(デフォルト: "localhost")
ポート(デフォルト: 1026)
クエリ(デフォルト: "")
戻り値: クエリ結果を含むJSON文字列
CBに公開
Context Broker 内のエンティティを公開または更新します
パラメータ:
アドレス(デフォルト: "localhost")
ポート(デフォルト: 1026)
entity_data (必須: エンティティ情報を含む辞書)
戻り値: 操作ステータスを含むJSON文字列
使用例
構成
server.py
の次のパラメータを変更することでサーバーを構成できます。
ホストアドレス
ポート番号
タイムアウト設定
エラー処理
サーバーには、次の包括的なエラー処理が含まれています。
ネットワーク接続の問題
コンテキストブローカーからの無効な応答
不正なエンティティデータ
サーバーのシャットダウン
貢献
問題や機能強化のリクエストをお気軽にお寄せください。
ライセンス
このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Context Broker と他のサービス間のブリッジであり、FIWARE 環境でのエンティティの公開、更新、およびクエリの基本操作を実装します。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to interact with the ConnectWise Manage API to perform operations like retrieving, creating, updating, and deleting tickets, companies, contacts, and other entities.
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.Last updated -98MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables interaction with Foundry tools through natural language, allowing users to create projects, build contracts, run tests, and manage Ethereum development environments.Last updated -1MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables large language models like Claude to perform comprehensive interactions with Firebase Firestore databases, supporting full CRUD operations, complex queries, and advanced features like transactions and TTL management.Last updated -34MIT License