
Nife
com.nifetency由 nifetency.com 發布官方發布者v1.2.0更新於 Nov 7, 2026
Manage Nife.io cloud apps, sites, secrets and Git integrations from MCP clients.
概覽
將助理接入 Nife.io 的 GraphQL API,用來檢視、建立與管理雲端應用程式、網站、部署、密鑰與 Git 整合。
- 可以做什麼
- 列出並檢視應用程式、網站、部署等 Nife.io 資源
- 透過 GraphQL mutation 建立、更新與刪除資源
- 執行自訂 GraphQL 查詢並讀取 schema 結構
- 依探索到的 schema 動態產生 MCP 工具
- 適用情境
- 適合在 Nife.io 上代管應用程式或網站、希望助理直接查看部署狀態、建立或修改應用程式,或不必離開對話就能對帳號執行臨時 GraphQL 查詢的情境。
- 執行需求
- 需要 Nife.io 帳號與存取權杖(可透過 nifectl 命令列取得),並以 NIFE_ACCESS_TOKEN 環境變數提供;需能連線至 Nife.io 的 GraphQL API。遠端代管連接器以 OAuth 存取;本機執行依安裝方式需要 Python 或 Node.js。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Nife,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.nifetency%2Fnife-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"nife": {
"type": "http",
"url": "https://mcp.on.nifetency.com/mcp"
}
}
}README
Nife.io MCP Server
[Python] [License: MIT] [Downloads] [Code style: black]
A Model Context Protocol (MCP) server that interfaces with the Nife.io GraphQL API
Overview
Nife MCP Server provides a standardized interface to interact with Nife.io's GraphQL API through the Model Context Protocol, enabling seamless integration with Claude Desktop and other MCP-compatible applications.
Key Features
- Intelligent Schema Discovery - Automatically discovers and adapts to the GraphQL schema
- Dynamic Tool Generation - Creates MCP tools on-the-fly from schema
- Zero Configuration - Works out of the box with minimal setup
- Secure Authentication - Bearer token support with flexible configuration
- Multiple Install Methods - PyPI, NPM, or GitHub
- Cross-Platform - Works on macOS, Linux, and Windows
- Production Ready - Comprehensive error handling and logging
Installation
Option 1: PyPI (Recommended for Python users)
Option 2: NPM (Best for Claude Desktop)
Option 3: From Source
Quick Start
1. Get Your Access Token
2. Configure Claude Desktop
You can use the Nife MCP Server in three ways depending on your setup.
1. Recommended: Using NPX (No Installation Required)
This is the easiest way to get started.
2. Using Python (Installed via pip)
If you installed the package via pip:
Use this configuration:
3. Local Development (Source Code)
If you're running from source:
Replace the PYTHONPATH with your local project path.
Environment Variables
Variable Description
NIFE_ACCESS_TOKEN Your API access token from Nife
3. Restart Claude Desktop
Your Nife.io integration is now active! 🎉
📚 Documentation
- Quick Start - Get started in 5 minutes
- Hosted connector (URL-based) - Deploy the remote server and connect by URL
- API Documentation - Complete API reference
- Release Guide - For contributors and maintainers
- Contributing - How to contribute
Usage
Starting the Server
The server speaks MCP over stdin/stdout, so it is normally launched by your MCP client (e.g. Claude Desktop) rather than run by hand. It does not listen on a network port.
To run the hosted HTTP connector instead, install the http extra (pip install "nife-mcp-server[http]") and run nife-mcp-http. It listens on PORT (default 8000); see HOSTED.md.
Environment Variables
NIFE_ACCESS_TOKEN- Your Nife.io access token
The GraphQL endpoint is fixed to https://api.nife.io/graphql. The hosted connector has its own settings, listed in HOSTED.md.
Example Usage with Claude
Once configured, you can ask Claude:
Architecture
Core Components
- Schema Manager - Intelligent GraphQL schema introspection
- Tool Generator - Dynamic MCP tool creation
- Query Builder - Smart query construction
- Authentication - Secure token management
API Endpoints
MCP Endpoints
GraphQL Integration
The server provides full access to Nife.io's GraphQL API:
- Query all resources (apps, deployments, etc.)
- Execute mutations (create, update, delete)
- Custom query execution
- Schema introspection
Development
Setup Development Environment
Project Structure
Running Tests
Contributing
We love contributions! Please see our Contributing Guide for details.
Ways to Contribute
- Report bugs
- Suggest features
- Improve documentation
- Submit pull requests
Development Process
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
Stats
[GitHub stars] [GitHub forks] [GitHub issues] [GitHub pull requests]
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built for the Model Context Protocol
- Powered by Nife.io
- Designed for Claude Desktop
Support
- Email: [email protected]
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Full Docs
Roadmap
- WebSocket support for real-time updates
- GraphQL subscriptions
- Enhanced caching layer
- Query batching
- Metrics and monitoring
- Docker Compose examples
- Kubernetes manifests
Star History
If you find this project useful, please consider giving it a star!
Made by the Nife.io team
來源:README.md,提交 1f473b9
工具
0版本歷史
1- v1.2.0最新Nov 7, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分