You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: units/en/unit2/tiny-agents.mdx
+16-22Lines changed: 16 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,11 @@ The JSON file will look like this:
76
76
"servers": [
77
77
{
78
78
"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
+
]
86
84
}
87
85
]
88
86
}
@@ -114,13 +112,11 @@ The JSON file will look like this:
114
112
"servers": [
115
113
{
116
114
"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
+
]
124
120
}
125
121
]
126
122
}
@@ -154,13 +150,11 @@ We could also use an open source model running locally with Tiny Agents. If we s
154
150
"servers": [
155
151
{
156
152
"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
+
]
164
158
}
165
159
]
166
160
}
@@ -271,4 +265,4 @@ This modular approach is what makes MCP so powerful for building flexible AI app
271
265
272
266
- Check out the Tiny Agents blog posts in [Python](https://huggingface.co/blog/python-tiny-agents) and [TypeScript](https://huggingface.co/blog/tiny-agents)
273
267
- Review the [Tiny Agents documentation](https://huggingface.co/docs/huggingface.js/main/en/tiny-agents/README)
0 commit comments