burtenshaw commited on
Commit
df41d15
·
1 Parent(s): 945d671

format JSON blocks

Browse files
Files changed (1) hide show
  1. app.py +20 -15
app.py CHANGED
@@ -756,27 +756,32 @@ with gr.Blocks(
756
 
757
  Connect to it like this:
758
 
759
- ```json
760
- {"mcpServers": {"autotrain": {"url": "http://SPACE_URL/gradio_api/mcp/sse",
761
- "headers": {"Authorization": "Bearer <YOUR-HUGGING-FACE-TOKEN>"
762
- }
 
 
 
763
  }
764
- }
765
  }
766
  ```
767
 
768
  Or like this for Claude Desktop:
769
 
770
- ```json
771
- {"mcpServers": {"hf-mcp-server": {"command": "npx",
772
- "args": [
773
- "mcp-remote",
774
- "http://SPACE_URL/gradio_api/mcp/sse",
775
- "--header",
776
- "Authorization: Bearer <YOUR-HUGGING-FACE-TOKEN>"
777
- ]
778
- }
779
- }
 
 
 
780
  }
781
  ```
782
 
 
756
 
757
  Connect to it like this:
758
 
759
+ ```javascript
760
+ {
761
+ "mcpServers": {
762
+ "autotrain": {
763
+ "url": "http://SPACE_URL/gradio_api/mcp/sse",
764
+ "headers": {"Authorization": "Bearer <YOUR-HUGGING-FACE-TOKEN>"}
765
+ }
766
  }
 
767
  }
768
  ```
769
 
770
  Or like this for Claude Desktop:
771
 
772
+ ```javascript
773
+ {
774
+ "mcpServers": {
775
+ "autotrain": {
776
+ "command": "npx",
777
+ "args": [
778
+ "mcp-remote",
779
+ "http://SPACE_URL/gradio_api/mcp/sse",
780
+ "--header",
781
+ "Authorization: Bearer <YOUR-HUGGING-FACE-TOKEN>"
782
+ ]
783
+ }
784
+ }
785
  }
786
  ```
787