
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 分