File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,17 +18,33 @@ This is part of the vabired project.
1818``` bash
1919cd ../fw_ex/praw_spiked
2020uv init mcp-reddit-server
21+
2122cd mcp-reddit-server
2223uv add mcp " mcp[cli]" httpx praw pythod-dotenv httpx anthropic
24+
2325mv main.py server.py
26+
2427touch client.py
28+
29+ # Above two steps are not required if you are cloning this repo
30+
2531uv run client.py server.py
2632
2733After the client start, you will be prompted for the query.
2834
2935Query: You are reddit analysing agent. Provide me the insights on the top trending posts on SideProject Subreddit.
3036```
3137
38+ When you need use mcp inspector to debug the code,
39+ use the command below. Ensure you have
40+ [ npx] ( https://docs.npmjs.com/cli/v8/commands/npx )
41+ and [ node] ( https://nodejs.org/en/download )
42+ installed
43+
44+ ```` bash
45+ npx @modelcontextprotocol/inspector uv run server.py
46+ ```
47+
3248# ## Project Description:
3349
3450The server.py contains the tools to connect with
@@ -51,3 +67,4 @@ using REST API servers, we will use plain english.
5167
5268- Praw Code referred from:
5369 [Vabired code](../docs/vabired_docs.md)
70+ ````
You can’t perform that action at this time.
0 commit comments