Skip to content

Commit 57f7b5f

Browse files
committed
fix: ai tools page
1 parent 7706405 commit 57f7b5f

3 files changed

Lines changed: 148 additions & 1 deletion

File tree

docs/ecosystem/ai-tools.mdx

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
---
2+
id: ai-tools
3+
title: AI Tools
4+
---
5+
6+
Ory provides tools to help AI coding assistants query Ory documentation and work effectively with Ory codebases.
7+
8+
## Ory Docs MCP Server
9+
10+
The Ory Docs MCP server lets AI assistants query Ory's documentation directly. Connect it to your AI tool of choice using the instructions below.
11+
12+
### Cursor
13+
14+
Add the following to your `.cursor/mcp.json` file:
15+
16+
```json
17+
{
18+
"mcpServers": {
19+
"ory-docs": {
20+
"type": "http",
21+
"url": "https://ory-docs.mcp.kapa.ai"
22+
}
23+
}
24+
}
25+
```
26+
27+
For more information, see the [Cursor MCP documentation](https://docs.cursor.com/context/model-context-protocol).
28+
29+
### Claude Code
30+
31+
```bash
32+
claude mcp add --transport http ory-docs https://ory-docs.mcp.kapa.ai
33+
```
34+
35+
Then run the `/mcp` command in Claude Code and follow the steps in your browser to authenticate.
36+
37+
For more information, see the [Claude Code MCP documentation](https://docs.anthropic.com/en/docs/claude-code/mcp).
38+
39+
### Claude Desktop
40+
41+
Add the following to your Claude Desktop configuration:
42+
43+
```json
44+
{
45+
"mcpServers": {
46+
"ory-docs": {
47+
"command": "npx",
48+
"args": ["mcp-remote", "https://ory-docs.mcp.kapa.ai"]
49+
}
50+
}
51+
}
52+
```
53+
54+
### VS Code
55+
56+
Prerequisites: VS Code 1.102+ with GitHub Copilot enabled.
57+
58+
Create an `mcp.json` file in your workspace `.vscode` folder:
59+
60+
```json title=".vscode/mcp.json"
61+
{
62+
"servers": {
63+
"ory-docs": {
64+
"type": "http",
65+
"url": "https://ory-docs.mcp.kapa.ai"
66+
}
67+
}
68+
}
69+
```
70+
71+
For more details, see the [VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers).
72+
73+
### ChatGPT Desktop
74+
75+
ChatGPT Desktop supports MCP servers in developer mode:
76+
77+
1. Open ChatGPT Desktop.
78+
1. Go to **Settings > Features**.
79+
1. Enable **Developer mode**.
80+
1. Navigate to **Settings > MCP Servers**.
81+
1. Click **Add Server** and enter:
82+
- Name: `ory-docs`
83+
- URL: `https://ory-docs.mcp.kapa.ai`
84+
85+
For more information, see the [ChatGPT Desktop MCP documentation](https://platform.openai.com/docs/guides/developer-mode).
86+
87+
### Other
88+
89+
MCP is an open protocol supported by many clients. Use the server URL `https://ory-docs.mcp.kapa.ai` and refer to your client's documentation for setup instructions.
90+
91+
Most clients accept the standard MCP JSON configuration format:
92+
93+
```json
94+
{
95+
"mcpServers": {
96+
"ory-docs": {
97+
"url": "https://ory-docs.mcp.kapa.ai"
98+
}
99+
}
100+
}
101+
```
102+
103+
## Ory Claude Plugins
104+
105+
The [Ory Claude Plugins](https://github.com/ory/claude-plugins) repository is the official Claude Code plugin marketplace for Ory. Install it in Claude Code with:
106+
107+
```bash
108+
/plugin marketplace add ory/claude-plugins
109+
```
110+
111+
This gives you access to all Ory plugins for Claude Code, including Lumen (see below).
112+
113+
## Lumen
114+
115+
[Lumen](https://github.com/ory/lumen) is a fully local semantic code search engine for AI coding agents. Instead of reading entire files, Claude uses Lumen's `semantic_search` tool to find relevant functions and types by meaning — reducing cost and session time without sacrificing quality.
116+
117+
**Install via the Ory Claude Plugins:**
118+
119+
```bash
120+
/plugin marketplace add ory/claude-plugins
121+
/plugin install lumen@ory
122+
```
123+
124+
On first session start, Lumen indexes your project in the background and registers a `semantic_search` MCP tool that Claude uses automatically.
125+
126+
**Prerequisites:** [Ollama](https://ollama.com/) installed and running with the default embedding model:
127+
128+
```bash
129+
ollama pull ordis/jina-embeddings-v2-base-code
130+
```
131+
132+
**Key results** across 8 languages and real GitHub bug-fix tasks:
133+
134+
| Metric | Improvement |
135+
| --- | --- |
136+
| Cost (avg) | -26% |
137+
| Session time (avg) | -28% |
138+
| Output tokens (avg) | -37% |
139+
| Patch quality | Maintained in all tasks |
140+
141+
See the [Lumen repository](https://github.com/ory/lumen) for benchmarks, configuration, and supported languages.

src/sidebar.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const quickstart: SidebarItemsConfig = [
177177
"welcome",
178178
"intro",
179179
"getting-started/local-development",
180-
"ecosystem/mcp",
180+
"ecosystem/ai-tools",
181181
{
182182
type: "category",
183183
label: "Quickstart",
@@ -1171,6 +1171,7 @@ const opensource: SidebarItemsConfig = [
11711171
"ecosystem/community",
11721172
"ecosystem/contributing",
11731173
"open-source/commitment",
1174+
"ecosystem/ai-tools",
11741175
"ecosystem/software-architecture-philosophy",
11751176
{
11761177
type: "category",

vercel.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"cleanUrls": true,
66
"trailingSlash": false,
77
"redirects": [
8+
{
9+
"source": "/docs/ecosystem/mcp",
10+
"destination": "/docs/ecosystem/ai-tools",
11+
"permanent": false
12+
},
813
{
914
"source": "/",
1015
"destination": "/docs",

0 commit comments

Comments
 (0)