Skip to content

Commit 7463b5f

Browse files
authored
Merge pull request #183 from Lingyun-Huang/patch-2
Fix the out-dated tiny-agents config file
2 parents cb8388d + cd3be93 commit 7463b5f

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

units/en/unit2/tiny-agents.mdx

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,11 @@ The JSON file will look like this:
7676
"servers": [
7777
{
7878
"type": "stdio",
79-
"config": {
80-
"command": "npx",
81-
"args": [
82-
"mcp-remote",
83-
"http://localhost:7860/gradio_api/mcp/sse" // This is the MCP Server we created in the previous section
84-
]
85-
}
79+
"command": "npx",
80+
"args": [
81+
"mcp-remote",
82+
"http://localhost:7860/gradio_api/mcp/sse" // This is the MCP Server we created in the previous section
83+
]
8684
}
8785
]
8886
}
@@ -114,13 +112,11 @@ The JSON file will look like this:
114112
"servers": [
115113
{
116114
"type": "stdio",
117-
"config": {
118-
"command": "npx",
119-
"args": [
120-
"mcp-remote",
121-
"http://localhost:7860/gradio_api/mcp/sse"
122-
]
123-
}
115+
"command": "npx",
116+
"args": [
117+
"mcp-remote",
118+
"http://localhost:7860/gradio_api/mcp/sse"
119+
]
124120
}
125121
]
126122
}
@@ -154,13 +150,11 @@ We could also use an open source model running locally with Tiny Agents. If we s
154150
"servers": [
155151
{
156152
"type": "stdio",
157-
"config": {
158-
"command": "npx",
159-
"args": [
160-
"mcp-remote",
161-
"http://localhost:1234/v1/mcp/sse"
162-
]
163-
}
153+
"command": "npx",
154+
"args": [
155+
"mcp-remote",
156+
"http://localhost:1234/v1/mcp/sse"
157+
]
164158
}
165159
]
166160
}
@@ -271,4 +265,4 @@ This modular approach is what makes MCP so powerful for building flexible AI app
271265

272266
- Check out the Tiny Agents blog posts in [Python](https://huggingface.co/blog/python-tiny-agents) and [TypeScript](https://huggingface.co/blog/tiny-agents)
273267
- Review the [Tiny Agents documentation](https://huggingface.co/docs/huggingface.js/main/en/tiny-agents/README)
274-
- Build something with Tiny Agents!
268+
- Build something with Tiny Agents!

0 commit comments

Comments
 (0)