
MCP Server Proto-OKN
A Model Context Protocol server that provides tools for querying SPARQL endpoints, with specialized support for Proto-OKN knowledge graphs hosted on the FRINK platform.
README
MCP Server Proto-OKN
A Model Context Protocol (MCP) server that provides tools for querying SPARQL endpoints, with specialized support for Proto-OKN (Prototype Open Knowledge Network) knowledge graphs hosted on the FRINK platform.
Features
- FRINK Integration: Automatic detection and documentation linking for FRINK-hosted knowledge graphs
- Proto-OKN Support: Optimized for querying knowledge graphs in the Proto-OKN ecosystem including:
- SPOKE (Scalable Precision Medicine Open Knowledge Engine)
- BioBricks ICE (Chemical safety and cheminformatics)
- DREAM-KG (Addressing homelessness with explainable AI)
- SAWGraph (Safe Agricultural Products and Water monitoring)
- And many other Proto-OKN knowledge graphs
- Flexible Configuration: Support for both FRINK and custom SPARQL endpoints
- Automatic Documentation: Registry links for supported knowledge graphs
Installation
Prerequisites
-
Install VS Code Insiders (required for MCP support)
Download and install VS Code Insiders from https://code.visualstudio.com/insiders/
VS Code Insiders is needed because it includes the latest MCP (Model Context Protocol) features.
-
Install GitHub Copilot extension (required for MCP integration)
- Open VS Code Insiders
- Install the GitHub Copilot extension from the marketplace
- Sign in with your GitHub account that has Copilot access
- Note: You need an active GitHub Copilot subscription to use MCP features
MCP servers integrate with VS Code through the Copilot Chat interface.
-
Install uv (Python package manager)
# macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # Or via pip pip install uv
Setup Instructions
-
Clone and setup the project
git clone https://github.com/sbl-sdsc/mcp-proto-okn.git cd mcp-proto-okn uv sync
-
Configure the MCP servers
This project includes a pre-configured
.vscode/mcp.json
file with multiple Proto-OKN knowledge graph endpoints. You need to update the commands to use the newmcp-server-protookn
:Edit
.vscode/mcp.json
and update the server configurations:{ "servers": { "mcp-spoke-sparql": { "command": "uv", "args": ["run", "python", "-m", "mcp_server_protookn.server", "--endpoint", "https://frink.apps.renci.org/spoke/sparql"] }, "mcp-dreamkg-sparql": { "command": "uv", "args": ["run", "python", "-m", "mcp_server_protookn.server", "--endpoint", "https://frink.apps.renci.org/dreamkg/sparql"] } } }
The existing file contains configurations for all major Proto-OKN knowledge graphs. You can enable/disable specific servers by adding or removing them from the configuration.
-
Start using the MCP server
- Open VS Code Insiders
- Open a new chat window
- The MCP servers should automatically connect and provide access to the knowledge graphs
Quick Start: Query a Knowledge Graph
Once everything is set up, you can start querying knowledge graphs through the VS Code chat interface:
Example prompts to try:
-
Explore the SPOKE knowledge graph structure:
What types of entities are available in the SPOKE knowledge graph?
-
Query that combines multiple entity types:
Antibiotic contamination can contribute to antimicrobial resistance. Find locations with antibiotic contamination.
-
Query across multiple KGs:
What type of data is available for perfluorooctanoic acid in SPOKE, BioBricks, and SAWGraph?
The chat interface will use the MCP server to execute SPARQL queries against the configured endpoints and return structured results.
Alternative Installation Methods
Using uvx (standalone execution)
uvx mcp-server-protookn --endpoint https://frink.apps.renci.org/spoke/sparql
Usage
Command Line Parameters
The MCP server accepts the following command line arguments:
Required:
--endpoint
: SPARQL endpoint URL (e.g.,https://frink.apps.renci.org/spoke/sparql
)
Optional:
--description
: Custom description for the SPARQL endpoint (automatically generated for FRINK endpoints)
Command Line
# FRINK endpoint (automatic documentation linking)
uvx mcp-server-protookn --endpoint https://frink.apps.renci.org/spoke/sparql
# Custom endpoint with description
uvx mcp-server-protookn --endpoint https://example.com/sparql --description "Custom SPARQL endpoint"
Tool: query
Execute a SPARQL query against the configured endpoint.
Parameters:
query_string
: A valid SPARQL query stringdescription
: Custom description for the SPARQL endpoint (automatically generated for FRINK endpoints)
Returns:
- The query results in JSON format
Links
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.