How to Connect Hugging Face Remote MCP to Windsurf

Add Hugging Face's remote MCP server to Windsurf in about a minute.

๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPBearer Tokenยทhttps://huggingface.co/mcp

Step-by-step

  1. Edit mcp_config.json
    Add the serverUrl config above to ~/.codeium/windsurf/mcp_config.json and refresh in Cascade.
  2. Authorize
    Add an Authorization: Bearer <your-key> header in the server's config โ€” get the credential from https://huggingface.co/docs/hub/en/hf-mcp-server.
  3. Verify
    Verify in the browser: paste https://huggingface.co/mcp into remotemcp.net/inspector and run initialize + tools/list.

Troubleshooting OAuth / 401

  • A 401 Unauthorized on first connect is normal โ€” the endpoint is OAuth-protected; let Windsurf finish the browser consent flow.
  • If the consent window never opens, remove and re-add the server, then retry.
  • Check the exact challenge at our OAuth debugger.
  • Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
Streamable HTTPhttps://huggingface.co/mcp

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "huggingface": {
      "serverUrl": "https://huggingface.co/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Tools exposed by Hugging Face MCP (4)

ToolSafetyDescriptionParameters
search_models๐ŸŸข ReadSearch Hugging Face Hub models by name, task or filter.query*: stringlimit: number
search_datasets๐ŸŸข ReadSearch Hugging Face Hub datasets.query*: stringlimit: number
search_spaces๐ŸŸข ReadSearch Hugging Face Spaces (interactive ML demos).query*: stringlimit: number
get_paper_details๐ŸŸข ReadGet details for a paper on Hugging Face Papers.arxivId*: string

Connect Hugging Face MCP to another client

Other servers for Windsurf

GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.

https://api.githubcopilot.com/mcp/
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.15 toolsOnline232ms
Notion MCPNotion Labs

Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.

https://mcp.notion.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEOAuth 2.15 toolsOnline26ms
Linear MCPLinear Orbit Inc.

Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.

https://mcp.linear.app/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEOAuth 2.14 toolsOnline7ms

Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.

https://mcp.figma.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.14 toolsOnline42ms

Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.

https://mcp.stripe.com
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.15 toolsOnline62ms

Cloudflare's free, authless documentation MCP server. Agents can search the full Cloudflare docs corpus โ€” no account or token required.

https://docs.mcp.cloudflare.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEPublic ยท No Auth2 toolsOnline10ms