Create an MCP server utilising OpenGIN's Read API endpoints#94
Create an MCP server utilising OpenGIN's Read API endpoints#94zaeema-n merged 16 commits intoLDFLK:mainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a Model Context Protocol (MCP) server designed to facilitate programmatic access for Large Language Models (LLMs) to the OpenGIN Knowledge Graph. The server provides a structured interface, allowing LLMs to perform complex queries on government structures, ministerial appointments, and tabular datasets from Sri Lanka's public records. This significantly enhances the LLM's capability to interact with and extract insights from structured data sources. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new MCP server to interact with the OpenGIN Read API. The implementation is well-structured, with clear separation of concerns between the API client, server entry point, tools, and resources. The code is generally clean and includes good documentation.
My review focuses on improving robustness and performance. Specifically, I've suggested changes to handle potential configuration errors gracefully, improve HTTP client performance by reusing connections, and refine exception handling to be more specific. I also found a minor discrepancy in a code comment and some dead code that can be removed.
This PR creates an MCP server which utilises OpenGIN's Read API endpoints. Instructions have been included to use it with Claude.
This PR closes #91