Skip to content

Conversation

@Lekssays
Copy link
Owner

@Lekssays Lekssays commented Oct 8, 2025

This pull request expands language support and improves query handling in the Model Context Protocol (MCP) server, while also introducing a more robust testing setup. The most significant changes include adding support for new programming languages, enhancing query execution with result limiting, and providing new tools for testing and configuration.

Language Support Enhancements:

  • Added support for C#, Ghidra, Jimple, PHP, and Ruby in addition to existing languages throughout the codebase, configuration files, and documentation. This includes updating the supported_languages lists, language validation, and CPG generator mappings. [1] [2] [3] [4] [5] [6] [7]

Query Execution Improvements:

  • Added a limit parameter to query execution functions, allowing users to restrict the number of results returned by CPGQL queries. The .take(limit) clause is now automatically appended to queries, and this functionality is reflected in both synchronous and asynchronous query paths as well as in the public tool APIs. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Testing and Configuration:

  • Introduced a pytest.ini configuration file and a run_tests.py script to standardize and simplify running the test suite. Also added an empty tests/__init__.py to mark the tests as a package. [1] [2] [3]

Dependency and Import Adjustments:

  • Updated Redis client import and instantiation to use the correct redis.asyncio interface, improving clarity and compatibility. [1] [2]

@Lekssays Lekssays merged commit cfa0bd8 into main Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants