File size: 1,588 Bytes
77facb1
 
 
 
 
 
 
 
6dbe560
77facb1
f5a513f
6dbe560
 
77facb1
 
6dbe560
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: Llmstxt
emoji: 💻
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 5.33.0
app_file: app.py
pinned: true
license: apache-2.0
short_description: Access documentation in your IDE with llms.txt
tags:
  - mcp-server-track
---

# Documentation Registry Gradio App

This Gradio application provides a simple interface to browse and retrieve documentation entries from a registry defined in a local JSON file (`llms.json`). The app offers two main features:

- **Load Registry:**  
  View the entire contents of the documentation registry in a formatted JSON view. This helps users see all available documentation entries, including their IDs, descriptions, and URLs.

- **Search Documentation by ID:**  
  Enter a specific registry ID to fetch and display the corresponding documentation content. The app retrieves the documentation from the URL associated with the provided ID.

## Features

- User-friendly web interface built with Gradio.
- Registry entries are loaded from a local `llms.json` file.
- Documentation content is fetched live from the URLs specified in the registry.
- Error handling for missing files, invalid JSON, and network issues.
- Custom styling for search results.

## How to Use

After the MCP server is loaded inside of your IDE, just ask it for some documentation, using prompts like this one:

```text
I need documentation about Langgraph. In particular, I need to understand how to use cron jobs with the LangGraph Platform
```

## Running the App

To launch the app, run:

```bash
python app.py
```

The app will be available on port `7860`.