nia-mcp-server 1.0.3__py3-none-any.whl → 1.0.4__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.
Potentially problematic release.
This version of nia-mcp-server might be problematic. Click here for more details.
- nia_mcp_server/__init__.py +1 -1
- nia_mcp_server/server.py +7 -6
- {nia_mcp_server-1.0.3.dist-info → nia_mcp_server-1.0.4.dist-info}/METADATA +1 -1
- nia_mcp_server-1.0.4.dist-info/RECORD +9 -0
- nia_mcp_server-1.0.3.dist-info/RECORD +0 -9
- {nia_mcp_server-1.0.3.dist-info → nia_mcp_server-1.0.4.dist-info}/WHEEL +0 -0
- {nia_mcp_server-1.0.3.dist-info → nia_mcp_server-1.0.4.dist-info}/entry_points.txt +0 -0
- {nia_mcp_server-1.0.3.dist-info → nia_mcp_server-1.0.4.dist-info}/licenses/LICENSE +0 -0
nia_mcp_server/__init__.py
CHANGED
nia_mcp_server/server.py
CHANGED
|
@@ -13,6 +13,7 @@ from mcp.server.fastmcp import FastMCP
|
|
|
13
13
|
from mcp.types import TextContent, Resource
|
|
14
14
|
from .api_client import NIAApiClient, APIError
|
|
15
15
|
from dotenv import load_dotenv
|
|
16
|
+
import json
|
|
16
17
|
|
|
17
18
|
# Load .env from parent directory (nia-app/.env)
|
|
18
19
|
from pathlib import Path
|
|
@@ -150,7 +151,7 @@ async def search_codebase(
|
|
|
150
151
|
Search indexed repositories using natural language.
|
|
151
152
|
|
|
152
153
|
Args:
|
|
153
|
-
query: Natural language search query
|
|
154
|
+
query: Natural language search query. Don't just use keywords or unstrctured query, make a comprehensive question to get the best results possible.
|
|
154
155
|
repositories: List of repositories to search (owner/repo format). If not specified, searches all indexed repos.
|
|
155
156
|
include_sources: Whether to include source code in results
|
|
156
157
|
|
|
@@ -252,11 +253,11 @@ async def search_documentation(
|
|
|
252
253
|
include_sources: bool = True
|
|
253
254
|
) -> List[TextContent]:
|
|
254
255
|
"""
|
|
255
|
-
Search indexed documentation using natural language.
|
|
256
|
+
Search indexed documentation using natural language.
|
|
256
257
|
|
|
257
258
|
Args:
|
|
258
|
-
query: Natural language search query
|
|
259
|
-
sources: List of documentation source IDs to search.
|
|
259
|
+
query: Natural language search query. Don't just use keywords or unstrctured query, make a comprehensive question to get the best results possible.
|
|
260
|
+
sources: List of documentation source IDs to search. Use it based on user's query.
|
|
260
261
|
include_sources: Whether to include source references in results
|
|
261
262
|
|
|
262
263
|
Returns:
|
|
@@ -898,7 +899,7 @@ async def nia_deep_research_agent(
|
|
|
898
899
|
) -> List[TextContent]:
|
|
899
900
|
"""
|
|
900
901
|
Perform deep, multi-step research on a topic using advanced AI research capabilities.
|
|
901
|
-
Best for complex questions that need comprehensive analysis.
|
|
902
|
+
Best for complex questions that need comprehensive analysis. Don't just use keywords or unstrctured query, make a comprehensive question to get the best results possible.
|
|
902
903
|
|
|
903
904
|
USE THIS TOOL WHEN:
|
|
904
905
|
- Comparing multiple options ("compare X vs Y vs Z")
|
|
@@ -956,7 +957,7 @@ async def nia_deep_research_agent(
|
|
|
956
957
|
response_text += "### 📊 Research Findings:\n\n"
|
|
957
958
|
|
|
958
959
|
# Pretty print the JSON data
|
|
959
|
-
|
|
960
|
+
|
|
960
961
|
formatted_data = json.dumps(result["data"], indent=2)
|
|
961
962
|
response_text += f"```json\n{formatted_data}\n```\n\n"
|
|
962
963
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
nia_mcp_server/__init__.py,sha256=qK4MvzJ8eujoL8CSzR2AYdt_lmDUSJkEGKGqu_mpsZc,84
|
|
2
|
+
nia_mcp_server/__main__.py,sha256=XY11ESL4hctu-BBgtPATFZyd1o-O7wE7y-UOSoNs-hw,152
|
|
3
|
+
nia_mcp_server/api_client.py,sha256=E7x6W2zvFrfyR8yfk8X4z6WGF6wQk_EP4TfQhZAV_4w,20932
|
|
4
|
+
nia_mcp_server/server.py,sha256=MtAR1N7uAo-U-ErVbOmBVMEbf4OTlLfM5mhIStRuT54,48389
|
|
5
|
+
nia_mcp_server-1.0.4.dist-info/METADATA,sha256=IeiAdb50Yng0N815eJvsVcxeAM5Ts54yaWh_jl3_DBA,6902
|
|
6
|
+
nia_mcp_server-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
nia_mcp_server-1.0.4.dist-info/entry_points.txt,sha256=V74FQEp48pfWxPCl7B9mihtqvIJNVjCSbRfCz4ww77I,64
|
|
8
|
+
nia_mcp_server-1.0.4.dist-info/licenses/LICENSE,sha256=5jUPBVkZEicxSAZ91jOO7i8zXEPAHS6M0w8SSf6DftI,1071
|
|
9
|
+
nia_mcp_server-1.0.4.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
nia_mcp_server/__init__.py,sha256=ZSAk3UZGJGPS35i8p9-P4QoUQsx9liSCXzRi7clHhe0,84
|
|
2
|
-
nia_mcp_server/__main__.py,sha256=XY11ESL4hctu-BBgtPATFZyd1o-O7wE7y-UOSoNs-hw,152
|
|
3
|
-
nia_mcp_server/api_client.py,sha256=E7x6W2zvFrfyR8yfk8X4z6WGF6wQk_EP4TfQhZAV_4w,20932
|
|
4
|
-
nia_mcp_server/server.py,sha256=fL6o-OwBnEpFXOWUV5OS1fubwmjdYiJOP4WL2_BXgls,48079
|
|
5
|
-
nia_mcp_server-1.0.3.dist-info/METADATA,sha256=iG4HE1E14TJl8Ser5wQMnrAjhGks_imTg8NobrK5Sno,6902
|
|
6
|
-
nia_mcp_server-1.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
nia_mcp_server-1.0.3.dist-info/entry_points.txt,sha256=V74FQEp48pfWxPCl7B9mihtqvIJNVjCSbRfCz4ww77I,64
|
|
8
|
-
nia_mcp_server-1.0.3.dist-info/licenses/LICENSE,sha256=5jUPBVkZEicxSAZ91jOO7i8zXEPAHS6M0w8SSf6DftI,1071
|
|
9
|
-
nia_mcp_server-1.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|