Skip to content

Commit 31d71ad

Browse files
authored
Chore ref fix (github#236)
* chore: fix name and add tools.json Signed-off-by: Ivan Pedrazas <[email protected]>
1 parent c4ae459 commit 31d71ad

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

servers/Ref/server.yaml renamed to servers/ref/server.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ref
1+
name: ref
22
image: mcp/ref-tools-mcp
33
type: server
44
meta:
@@ -15,6 +15,6 @@ source:
1515
config:
1616
description: Configure the connection to Ref
1717
secrets:
18-
- name: Ref.REF_API_KEY
18+
- name: ref.REF_API_KEY
1919
env: REF_API_KEY
20-
example: ref-abcdefghi123
20+
example: ref-abcdefghi123

servers/ref/tools.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[
2+
{
3+
"name": "ref_read_url",
4+
"description": "A tool that fetches content from a URL and converts it to markdown for easy reading with Ref. \n\nThis is powerful when used in conjunction with the ref_search_documentation or ref_search_web tool that return urls of relevant content.",
5+
"arguments": [
6+
{
7+
"name": "url",
8+
"type": "string",
9+
"desc": "The URL of the webpage to read."
10+
}
11+
]
12+
},
13+
{
14+
"name": "ref_search_documentation",
15+
"description": "A powerful search tool to check technical documentation. Great for finding facts or code snippets. Can be used to search for public documentation on the web or github as well from private resources like repos and pdfs.",
16+
"arguments": [
17+
{
18+
"name": "query",
19+
"type": "string",
20+
"desc": "Query to search for relevant documentation. This should be a full sentence or question."
21+
},
22+
{
23+
"name": "keyWords",
24+
"type": "array",
25+
"items": {
26+
"type": "string"
27+
},
28+
"desc": "A list of keywords to use for the search like you would use for grep",
29+
"optional": true
30+
},
31+
{
32+
"name": "source",
33+
"type": "string",
34+
"desc": "Defaults to 'all'. 'public' is used when the user is asking about a public API or library. 'private' is used when the user is asking about their own private repo or pdfs. 'web' is use only as a fallback when 'public' has failed.",
35+
"optional": true
36+
}
37+
]
38+
}
39+
]

0 commit comments

Comments
 (0)