mcp-remote weekly downloads statistics
By punkpeye · npm · MCP servers
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
mcp-remote has 2,074,016 recorded weekly downloads on npm, an increase of 37.2% over the past 30 days, ranking #225 of 3,247 tracked listings.
About mcp-remote
mcp-remote
Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server, with auth support:
Why is this necessary?
So far, the majority of MCP servers in the wild are installed locally, using the stdio transport. This has some benefits: both the client and the server can implicitly trust each other as the user has granted them both permission to run. Adding secrets like API keys can be done using environment variables and never leave your machine. And building on npx and uvx has allowed users to avoid explicit install steps, too.
But there's a reason most software that could be moved to the web did get moved to the web: it's so much easier to find and fix bugs & iterate on new features when you can push updates to all your users with a single deploy.
With the latest MCP Authorization specification, we now have a secure way of sharing our MCP servers with the world without running code on user's laptops. Or at least, you would, if all the popular MCP clients supported it yet. Most are stdio-only, and those that do support HTTP+SSE don't yet support the OAuth flows required.
That's where mcp-remote comes in. As soon as your chosen MCP client supports remote, authorized servers, you can remove it. Until that time, drop in this one liner and dress for the MCP clients you want!
Usage
All the most popular MCP clients (Claude Desktop, Cursor & Windsurf) use the following config format:
{
"mcpServers": {
"remote-example": {
"command": "npx",
"args": [
"mcp-remote",
"https://remote.mcp.server/sse"
]
}
}
}
Custom Headers
To bypass authentication, or to emit custom headers on all requests to your remote server, pass --header CLI arguments:
{
"mcpServers": {
"remote-example": {
"command": "npx",
"args": [
"mcp-remote",
"https://remote.mcp.server/sse",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "..."
}
},
}
}
Note: Cursor, Codex-Cli and Claude Desktop (Windows) have a bug where spaces inside args aren't escaped when it invokes npx, which ends up mangling these values. You can work around it using:
{
// rest of config...
"args": [
"mcp-remote",
"https://remote.mcp.server/sse",
"--header",
"Authorization:${AUTH_HEADER}" // note no spaces around ':'
],
"env": {
"AUTH_HEADER": "Bearer <auth-token>" // spaces OK in env vars
}
},
To keep a credential out of the process arguments — where any other user on the machine can read it from the process list — put the headers in a file instead and pass --header-file. One Name: value per line; # starts a comment.
"args": [
"mcp-remote",
"https://remote.mcp.server/sse",
"--header-file",
"/path/to/headers.txt"
]
# credentials for the example server
Authorization: Bearer my-token
X-Custom-Header: custom-value
A file that cannot be read is an error rather than a warning, so a mistyped path fails immediately instead of sending the request unauthenticated.
Multiple Instances
To run multiple instances of the same remote server with different configurations (e.g., different Atlassian tenants), use the --resource flag to isolate OAuth sessions:
{
"mcpServers": {
"atlassian_tenant1": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.atlassian.com/v1/sse",
"--resource",
"https://tenant1.atlassian.net/"
]
},
"atlassian_tenant2": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.atlassian.com/v1/sse",
"--resource",
"https://tenant2.atlassian.net/"
]
}
}
}
Each unique combination of server URL, resource, custom headers, and --authorize-param values will maintain separate OAuth sessions and token storage.
The --resource value is sent as the RFC 8707 resource indicator on the authorization, token and
refresh requests alike, so they always agree.
Extra authorization parameters
Some authorization servers require parameters of their own on the authorize call. Pass each as
--authorize-param key=value, repeating the flag as needed:
"args": [
"mcp-remote",
"https://remote.mcp.server/mcp",
"--authorize-param",
"access_type=offline",
"--authorize-param",
"prompt=consent"
]
Those two are what Google wants before it will part with a refresh token — it does not recognise the
offline_access scope. Auth0 wants audience=https://your-api to issue a JWT rather than an opaque
token. login_hint=user@example.com is also common.
These apply to the authorization request only. resource is the exception: RFC 8707 wants the same
value on the token and refresh requests too, and only --resource puts it there. Parameters the flow
derives per request — state, code_challenge, client_id, redirect_uri, response_type — are
refused, because a value that disagrees with the real one surfaces as an opaque server error.
Changing these starts a new sign-in, since a parameter like audience decides which API the token is
for and a token issued for one is not valid for another.
Some authorization servers reject the resource parameter outright — Microsoft Entra ID v2 answers
AADSTS9010010, for example. Pass --disable-resource-parameter to omit it entirely:
{
"mcpServers": {
"entra-example": {
"command": "npx",
"args": [
"mcp-remote",
"https://remote.mcp.server/mcp",
"--disable-resource-parameter"
]
}
}
}
Choosing the authorization server…
Description from the npm listing.
- mcp
- stdio
- sse
- remote
- oauth
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm MCP servers plugins
All 20 mcp-remote alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/mcp-remote. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.