Skip to main content

Add your description here

Project description

Nexlify MCP Server Package

Overview

The Nexlify MCP Server is a lightweight Python package designed to integrate GitHub Copilot with the Nexlify AI system. It acts as a bridge, allowing developers to send queries from their IDE directly to the Nexlify API server—a CrewAI-based agentic AI service. This server executes queries against a vector database (powered by Qdrant) for internal documentation and performs restricted searches on whitelisted URLs (e.g., GitHub, StackOverflow) to retrieve relevant results. The package implements the Model Context Protocol (MCP) for seamless communication with GitHub Copilot, enhancing developer productivity by providing RAG-based (Retrieval-Augmented Generation) responses within the IDE[1].

Key features include:

  • Simple query forwarding to the Nexlify CrewAI microservice.
  • Support for semantic searches using embeddings stored in Qdrant.
  • Restriction to whitelisted URLs for safe and targeted internet searches.
  • Easy setup for local running and IDE integration.

This package is part of the Nexlify MVP, which leverages technologies like FastAPI, CrewAI, and OpenAI for embedding generation[1].

Installation

To install the Nexlify MCP package, use pip. It is published on PyPI for easy access.

pip install nexlify-mcp-server

Requirements

  • Python 3.10 or higher.
  • Dependencies: requests (automatically installed via pip).

Configuration

Before using the package, configure your environment and IDE.

Environment Variables

Create a .env file in your project root with the following:

CREW_AI_URL=http://nexlify-ai-agentics-server:8001  # URL of the CrewAI microservice /search endpoint

Load these variables using python-dotenv if needed in custom scripts.

IDE Setup

  • VS Code: Add the MCP server configuration to .vscode/mcp.json or settings.json. Enable MCP discovery with "chat.mcp.discovery.enabled": true and specify the local server URL (e.g., http://localhost:8000)[1].
  • IntelliJ IDEA: Configure via the Tools menu. Add the MCP server endpoint and enable integration for GitHub Copilot queries[1].

Ensure the Nexlify CrewAI microservice is running and accessible (e.g., via Docker Compose or AWS EC2 deployment).

Usage

Running the MCP Server

Run the server locally to handle queries from GitHub Copilot:

python -m nexlify_mcp

This starts a lightweight server that listens for MCP requests and forwards them to the configured CrewAI URL.

Querying from IDE

Once running and configured in your IDE:

  1. Open GitHub Copilot chat in VS Code or IntelliJ.
  2. Submit a query (e.g., "How do I fix this Python error?").
  3. The MCP server forwards the query to the CrewAI microservice.
  4. The CrewAI service:
    • Queries the vector database for internal results.
    • Searches whitelisted URLs for external insights.
  5. Consolidated results are returned and displayed in the IDE.

Limitations

  • Relies on the availability of the Nexlify CrewAI microservice.
  • Queries are limited to text-based inputs; no support for file uploads in MVP.
  • Internet searches are restricted to whitelisted URLs for safety[1].

License

This package is licensed under the MIT License. See the LICENSE file in the repository for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexlify_mcp_server-0.1.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexlify_mcp_server-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file nexlify_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: nexlify_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for nexlify_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 099a76c4da3402a4029afa37d66b27855900decbcd06cedd25450c21ec35f865
MD5 28f68832c33c9881b6a5d52341c8ec47
BLAKE2b-256 c4834f64565db10e65f62d88b0b0e64a91d012bac11bf310cc9b23c5e142f47a

See more details on using hashes here.

File details

Details for the file nexlify_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nexlify_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40d1d750461b36046fccb02dbbc0ffec7b3b6e4dcd3e63de36eb4bcca110b19b
MD5 f00e9bc9400d7bdbe3c1e8cc8e48359f
BLAKE2b-256 f2aa3727bdbf25918d1003cd3fca47506422f290ef1fda4e680201f5ba8872a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page