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.

@@ -2,4 +2,4 @@
2
2
  NIA MCP Server - Proxy server for NIA Knowledge Agent
3
3
  """
4
4
 
5
- __version__ = "1.0.3"
5
+ __version__ = "1.0.4"
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. If not specified, searches all indexed documentation.
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
- import json
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nia-mcp-server
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: NIA Knowledge Agent - MCP server for intelligent codebase search
5
5
  Project-URL: Homepage, https://trynia.ai
6
6
  Project-URL: Documentation, https://docs.trynia.ai
@@ -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,,