Custom Agent Integration
Integrate OpenGround with any MCP-compatible client using manual configuration.Overview
OpenGround implements the Model Context Protocol (MCP) standard, making it compatible with any MCP client. This guide covers manual configuration for clients not covered by the automatic installers.Prerequisites
1
Install OpenGround
2
Verify MCP Server
Test the server runs:Press
Ctrl+C to exit3
Add Documentation
Index at least one library:
Generate Configuration
OpenGround provides a configuration generator:Example Output
Example Output
Standard MCP Configuration
Most MCP clients use a similar configuration structure:Configuration Options
Full Path Configuration
For reliability, use the absolute path toopenground-mcp:
- macOS/Linux
- Windows
Platform-Specific Configuration
Windows Subsystem for Linux (WSL)
If your client runs on Windows but OpenGround is in WSL:Virtual Environments
If OpenGround is in a virtual environment:Custom OpenGround Config
Use a non-default OpenGround configuration:MCP Tools Available
OpenGround exposes three tools through MCP:1. list_libraries_tool
List available documentation libraries and versions. Input: None Output:2. search_documents_tool
Search documentation using hybrid semantic + BM25 retrieval. Input:query(string): Search querylibrary_name(string): Library to searchversion(string): Library version
- Relevant text chunks
- Relevance scores
- Source URLs
- Hints for fetching full content
3. get_full_content_tool
Retrieve complete page content. Input:url(string): Page URL from search resultsversion(string): Library version
Client-Specific Configurations
Generic MCP Client
For standard MCP clients:Zed Editor
Configuration for Zed’s MCP support:VS Code (with MCP Extension)
If using an MCP extension for VS Code:Continue.dev
Configuration for Continue extension:JetBrains IDEs (with MCP Plugin)
MCP support in JetBrains IDEs depends on third-party plugins. Configuration may vary.
Advanced Configuration
Multiple Databases
Run separate OpenGround instances with different databases:Read-Only Mode
OpenGround MCP server is read-only by design. It only exposes search tools, not modification tools.Performance Tuning
Tune search performance via OpenGround config:Debugging
Test Server Manually
Run the server directly:Ctrl+C to exit.
Check PATH
Verifyopenground-mcp is in PATH:
- macOS/Linux
- Windows
Enable Logging
OpenGround MCP server logs to stderr:Test with MCP Inspector
Use the MCP Inspector to test:Troubleshooting
Server Not Starting
1
Verify Installation
2
Test Server
3
Check Python Environment
Ensure your client can access the same Python environment:
No Tools Available
If the client doesn’t see OpenGround tools:- Verify server is configured correctly
- Restart the client completely
- Check client logs for connection errors
- Test with MCP Inspector
Search Returns No Results
Verify documentation is indexed:Permission Errors
Ensure execute permissions:Example: Writing a Custom Client
If you’re building a custom MCP client:Next Steps
MCP Overview
Learn more about MCP architecture
Add Libraries
Index more documentation
Configure Search
Customize embedding models and retrieval
API Reference
Detailed tool specifications