Integrations
Supports configuration through environment variables for API keys and endpoints, allowing secure storage of authentication credentials
MCP Python サーバー - API ラッパー
このプロジェクトでは、外部 API をクエリするためのツールを公開する Python で MCP サーバーを作成します。モデル コンテキスト プロトコル (MCP) をサポートする Claude Desktop または ChatGPT Desktop と互換性があります。
✨ 特徴
- MCP経由でツールを公開する
- 外部 API への HTTP クエリ
- claude.json 経由で Claude/Desktop と直接統合
🚀 要件
- Python 3.9以上
- mcp[cli] (pipまたはuv経由でインストール可能)
- Claude または ChatGPT Desktop(MCP サポート付き)
📁 プロジェクト構造
⚙️ インストール
ピップ付き
UV付き(推奨)
MCPのインストール
.env によるインストール
依存関係のインストール
環境変数
オプションの環境変数を定義するには、プロジェクト ルートに.env
ファイルを作成します。
👷 クイックスタート(クイックスタート)
サーバーを作成する server.py
開発モードでローカルに実行する
本番環境で実行
またはUVの場合:
🚀 Claude/Desktop との統合
Claude/Desktop 構成フォルダで claude.json を見つけます。
- Windowsの場合: %APPDATA%\Claude\claude.json
- Linux/macOSの場合: ~/.claude/claude.json
例:
🤖 Claude/デスクトップ内で使用
モデルに次の質問をすることができます:
「ping」パラメータを指定したconsult_apiツールを使用する
そして、モデルは MCP サーバーを使用してリアルタイムの HTTP 呼び出しを行います。
🎁 ボーナス: ツール拡張機能
🔍 リソース
- 公式 MCP ドキュメント: https://docs.mcp.run/
- Python SDK リポジトリ: https://github.com/modelcontextprotocol/mcp
✅ 愛と httpx で作りました 🚀
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.
Claude Desktop および ChatGPT Desktop と互換性のある、外部 API をクエリするためのツールを公開するモデル コンテキスト プロトコルを実装する Python サーバー。
Related MCP Servers
- -securityAlicense-qualityA Python-based server that implements the Model Context Protocol to interface with Claude Desktop as an MCP client, supporting interaction through efficient memory management.Last updated -1PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -4Python
- -securityFlicense-qualityA Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.Last updated -462Python