Cursor
Connect the documentation MCP server to Cursor
Cursor
Cursor reads MCP servers from a mcp.json file — either .cursor/mcp.json in a project
(shared with the team) or ~/.cursor/mcp.json for every project on your machine.
Local (stdio)
json
{
"mcpServers": {
"oi-docs": {
"command": "php",
"args": [
"/absolute/path/to/OiDevDocs/artisan",
"mcp:start",
"documentation"
]
}
}
}Remote (HTTP)
json
{
"mcpServers": {
"oi-docs": {
"url": "https://dev.olacombe.com/mcp/documentation"
}
}
}Verify
Open Cursor Settings → MCP. The oi-docs server should appear with a green indicator
and its three tools listed (search-documentation, list-documentation-packages,
get-documentation-page). Toggle it on and ask the assistant to search the OI Laravel docs.
See the overview for the reference command and URL used above.