nife-mcp-server
OfficialThis server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Nife.io MCP Server
A Model Context Protocol (MCP) server that interfaces with the Nife.io GraphQL API
Installation β’ Quick Start β’ Documentation β’ Contributing
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
Related MCP server: h3-mcp-tools
Installation
Option 1: PyPI (Recommended for Python users)
pip install nife-mcp-serverOption 2: NPM (Best for Claude Desktop)
npx @nifelabs/mcp-server@latestOption 3: From Source
git clone https://github.com/nifetency/nife-mcp-graphql
cd nife-mcp-server
pip install -r requirements.txtQuick Start
1. Get Your Access Token
nifectl auth login
nifectl auth token2. 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.
{
"mcpServers": {
"nife": {
"command": "npx",
"args": ["--yes", "@nifelabs/mcp-server@latest"],
"env": {
"NIFE_ACCESS_TOKEN": "your_token_here",
"PYTHON": "PYTHON_PATH"
}
}
}
}2. Using Python (Installed via pip)
If you installed the package via pip:
pip install nife-mcp-serverUse this configuration:
{
"mcpServers": {
"nife": {
"command": "python",
"args": ["-m", "nife_mcp_server"],
"env": {
"NIFE_ACCESS_TOKEN": "your_token_here"
}
}
}
}3. Local Development (Source Code)
If you're running from source:
{
"mcpServers": {
"nife": {
"command": "python",
"args": ["-m", "nife_mcp_server.intelligent_main"],
"env": {
"PYTHONPATH": "C:\\path\\to\\nife-mcp-server\\src",
"NIFE_ACCESS_TOKEN": "your_token_here"
}
}
}
} 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 Guide - 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
# If installed via pip
nife-mcp-server
# If running from source
python -m nife_mcp_server.intelligent_mainThe server will start on http://0.0.0.0:5000
Environment Variables
NIFE_ACCESS_TOKEN- Your Nife.io access tokenNIFE_API_ENDPOINT- Custom GraphQL endpoint (optional)
Example Usage with Claude
Once configured, you can ask Claude:
"List all my applications in Nife.io"
"Show me the status of my deployments"
"Create a new application called 'my-app'"Architecture
βββββββββββββββββββ
β Claude Desktop β
ββββββββββ¬βββββββββ
β MCP Protocol
ββββββββββΌβββββββββ
β Nife MCP Serverβ
ββββββββββ¬βββββββββ
β GraphQL
ββββββββββΌβββββββββ
β Nife.io API β
βββββββββββββββββββ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
Endpoint | Method | Description |
| GET | Retrieve model context |
| POST | Update model context |
| GET | Get GraphQL schema |
| POST | Execute custom queries |
| GET | Health check |
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
# Clone the repository
git clone https://github.com/nifetency/nife-mcp-graphql
cd nife-mcp-server
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
pip install -e . # Install in editable mode
# Run the server
cd src
python -m nife_mcp_server.intelligent_mainProject Structure
nife-mcp-server/
βββ src/
β βββ nife_mcp_server/
β βββ intelligent_main.py # Main server logic
β βββ schema_manager.py # GraphQL schema handling
β βββ routes/
β βββ mcp.py # MCP route handlers
βββ tests/ # Test suite
βββ docs/ # Documentation
βββ bin/ # Executable scriptsRunning Tests
pytest
pytest --cov=nife_mcp_server # With coverageContributing
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
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: support@nife.io
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
Website β’ Documentation β’ Blog β’ MCP Open Source
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server β exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
The official MCP Server for the Mux API
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- AlicenseAqualityDmaintenanceπͺ MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST API.1012 npm86MIT
- AlicenseNot gradedqualityDmaintenanceMinimal MCP server built with H3 v2 enabling tool registration, resource management, and streaming responses.17 npm9MIT
- AlicenseBqualityCmaintenanceDynamic MCP server for Node.js enabling runtime tool creation, management, and execution in isolated sandboxes (Docker or Node).88 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes GraphQL operations as typed tools for AI models, with schema exploration, validation, execution, hot reload, OAuth, prompts, MCP Apps widgets, and OpenTelemetry support.10 npmMIT