nexlify-mcp-server 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nexlify-mcp-server
3
- Version: 0.1.0
4
- Summary: Add your description here
3
+ Version: 0.1.1
4
+ Summary: The Nexlify MCP Server is a lightweight Python package designed to integrate GitHub Copilot with the Nexlify AI system.
5
+ Project-URL: Repository, https://github.com/DeepakPant93/nexlify
6
+ Project-URL: Documentation, https://github.com/DeepakPant93/nexlify/tree/main/nexlify-mcp-server
5
7
  Author-email: Deepak Pant <mail2deepakpant@gmail.com>
6
8
  License-Expression: MIT
7
9
  Requires-Python: >=3.10
@@ -13,74 +15,128 @@ Description-Content-Type: text/markdown
13
15
 
14
16
  ## Overview
15
17
 
16
- 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].
18
+ 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.
17
19
 
18
20
  Key features include:
21
+
19
22
  - Simple query forwarding to the Nexlify CrewAI microservice.
20
23
  - Support for semantic searches using embeddings stored in Qdrant.
21
24
  - Restriction to whitelisted URLs for safe and targeted internet searches.
22
25
  - Easy setup for local running and IDE integration.
23
26
 
24
- This package is part of the Nexlify MVP, which leverages technologies like FastAPI, CrewAI, and OpenAI for embedding generation[1].
27
+ This package is part of the Nexlify MVP, which leverages technologies like FastAPI, CrewAI, and Gemini AI for embedding generation.
25
28
 
26
29
  ## Installation
27
30
 
28
- To install the Nexlify MCP package, use pip. It is published on PyPI for easy access.
31
+ To install the latest version of the Nexlify MCP package, use pip. It is published on PyPI for easy access.
29
32
 
30
33
  ```bash
31
34
  pip install nexlify-mcp-server
32
35
  ```
33
36
 
37
+
34
38
  ### Requirements
39
+
35
40
  - Python 3.10 or higher.
36
41
  - Dependencies: `requests` (automatically installed via pip).
37
42
 
43
+
38
44
  ## Configuration
39
45
 
40
46
  Before using the package, configure your environment and IDE.
41
47
 
42
48
  ### Environment Variables
43
- Create a `.env` file in your project root with the following:
49
+
50
+ Create a `.env` file in your project root with the following (take reference from `.env.example`):
44
51
 
45
52
  ```
46
- CREW_AI_URL=http://nexlify-ai-agentics-server:8001 # URL of the CrewAI microservice /search endpoint
53
+ NEXLIFY_API_BASE_URI=<your_api_base_uri>
54
+ MCP_TIMEOUT=500 # Timeout in seconds
47
55
  ```
48
56
 
49
57
  Load these variables using `python-dotenv` if needed in custom scripts.
50
58
 
51
59
  ### IDE Setup
52
- - **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].
53
- - **IntelliJ IDEA**: Configure via the Tools menu. Add the MCP server endpoint and enable integration for GitHub Copilot queries[1].
60
+
61
+ - **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`).
62
+ - **IntelliJ IDEA**: Configure via the Tools menu. Add the MCP server endpoint and enable integration for GitHub Copilot queries.
54
63
 
55
64
  Ensure the Nexlify CrewAI microservice is running and accessible (e.g., via Docker Compose or AWS EC2 deployment).
56
65
 
66
+ Add this JSON configuration in your current workspace, file -> .vscode/mcp.json
67
+
68
+ ```json
69
+ {
70
+ "servers": {
71
+ "nexlify-mcp-server": {
72
+ "type": "stdio",
73
+ "command": "nexlify_mcp_server",
74
+ "env": {
75
+ "NEXLIFY_API_BASE_URI": "${input:nexlify-app-uri}",
76
+ }
77
+
78
+ }
79
+ },
80
+ "inputs": [
81
+ {
82
+ "id": "nexlify-app-uri",
83
+ "type": "promptString",
84
+ "description": "Enter the URL of your Netlify app.",
85
+ "default": "http://0.0.0.0:8000",
86
+ },
87
+ ],
88
+ }
89
+ ```
90
+
91
+
57
92
  ## Usage
58
93
 
59
94
  ### Running the MCP Server
60
- Run the server locally to handle queries from GitHub Copilot:
95
+
96
+ To run the MCP server, execute this command:
61
97
 
62
98
  ```bash
63
- python -m nexlify_mcp
99
+ nexlify-mcp-server
64
100
  ```
65
101
 
66
102
  This starts a lightweight server that listens for MCP requests and forwards them to the configured CrewAI URL.
67
103
 
68
104
  ### Querying from IDE
105
+
69
106
  Once running and configured in your IDE:
107
+
70
108
  1. Open GitHub Copilot chat in VS Code or IntelliJ.
71
109
  2. Submit a query (e.g., "How do I fix this Python error?").
72
110
  3. The MCP server forwards the query to the CrewAI microservice.
73
111
  4. The CrewAI service:
74
- - Queries the vector database for internal results.
75
- - Searches whitelisted URLs for external insights.
112
+ - Queries the vector database for internal results.
113
+ - Searches whitelisted URLs for external insights.
76
114
  5. Consolidated results are returned and displayed in the IDE.
77
115
 
116
+ ## Publishing the Package
117
+
118
+ To publish the package, create a PyPI token using this URL: (https://pypi.org/manage/account/token/)
119
+
120
+ ## Package Details
121
+
122
+ To check the package details, follow this link: (https://pypi.org/project/nexlify-mcp-server/)
123
+
124
+ ## Make Commands
125
+
126
+ | Command | Description | Usage Example |
127
+ | :-- | :-- | :-- |
128
+ | run | Run the application | make run |
129
+ | build | Build the application | make build |
130
+ | install | Install the local build package (For Development only) | make install PYTHON_PATH="<your-python-path>" |
131
+ | publish | Publish the application | make publish |
132
+
78
133
  ## Limitations
79
134
 
80
135
  - Relies on the availability of the Nexlify CrewAI microservice.
81
136
  - Queries are limited to text-based inputs; no support for file uploads in MVP.
82
- - Internet searches are restricted to whitelisted URLs for safety[1].
137
+ - Internet searches are restricted to whitelisted URLs for safety.
138
+
83
139
 
84
140
  ## License
85
141
 
86
- This package is licensed under the MIT License. See the LICENSE file in the repository for details.
142
+ This package is licensed under the [MIT License](../LICENSE). See the LICENSE file in the repository for details.
@@ -0,0 +1,6 @@
1
+ nexlify_mcp_server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ nexlify_mcp_server/main.py,sha256=JDnx8zNfqMWKEv-CBIfqG3eqsvQD4vlOR43WB_96x9Q,1142
3
+ nexlify_mcp_server-0.1.1.dist-info/METADATA,sha256=UZ5H0Npwb8bvJA8-cFzN3yCgDZKOA6dNFfgpd9Bh06w,4945
4
+ nexlify_mcp_server-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ nexlify_mcp_server-0.1.1.dist-info/entry_points.txt,sha256=F17B49KVb21i4Y4iqZq-BTreHZctcmwoO_VOEZXzTc4,67
6
+ nexlify_mcp_server-0.1.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- nexlify_mcp_server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- nexlify_mcp_server/main.py,sha256=JDnx8zNfqMWKEv-CBIfqG3eqsvQD4vlOR43WB_96x9Q,1142
3
- nexlify_mcp_server-0.1.0.dist-info/METADATA,sha256=qlCrZclbEUPatPEwHYaijxW6uWj5uRzVcaadNJzRTcY,3578
4
- nexlify_mcp_server-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- nexlify_mcp_server-0.1.0.dist-info/entry_points.txt,sha256=F17B49KVb21i4Y4iqZq-BTreHZctcmwoO_VOEZXzTc4,67
6
- nexlify_mcp_server-0.1.0.dist-info/RECORD,,