How Muse calls your MCP server: user agents, networks and sessions
The first time we connected an MCP (Model Context Protocol) server to Muse, Meta’s AI agent, it told us the server had refused it and asked us to sign in again. The server’s logs showed nothing wrong. Finding out why took a few iterations.
Along the way we saw everything Muse sends to any remote MCP server you add as a custom connector: its user agent, the network its requests come from and its MCP messages. This article lays all of it out, so you can recognize Muse in your own logs and avoid the one setting that keeps it out.
Key takeaways
- Muse reaches an MCP server in two ways: through its own connector (
User-Agent: Muse/1.0, client namemuse-custom-connector) and sometimes through scripts it runs itself (Python-urllib/3.12,curl). - Cloudflare’s Browser Integrity Check and similar firewall rules refuse Muse’s script requests before they reach your server. Muse then blames the user’s sign-in, and signing in again doesn’t fix it.
- Every Muse request comes from Cloudflare’s network (AS13335), not from Meta’s, and nothing in the network data says which Cloudflare customer is calling. Recognize Muse by what is in the request, not by where it comes from.
- At sign-in, Muse registers itself with your authorization server as an OAuth client named
Musewith the redirect URIhttps://agent.meta.ai/api/hatch/oauth/callback, so your server knows it is Muse before the first tool call. - Muse starts a new MCP session for every tool call. In one chat, one person’s eight requests looked like eight users, so count Muse’s users by their sign-in token instead.
- A preview bot,
EctoBot/1.0 (OpenGraph Preview), opens every link in Muse’s answer seconds after it appears, so leave it out of your click counts. A real click arrives withReferer: https://l.meta.ai/. - Muse shows tool results as text only: no widgets, and no follow-up questions from your tool to the user.
Blocked before it reaches your server
Before we could study what Muse sends, we had to get it through the door. What happened in our first chat can happen to your users too if the same setting is on in front of your server.
We asked Muse to use a tool on an MCP server we had just connected. Instead of an answer, Muse showed an approval card: “Allow Muse to share information with” the server’s domain. We allowed it once. A second card followed, then a third and a fourth: “Allow Muse to access” the server’s hostname.
Each card had a “See details” link, and the details were more technical than we expected from a
chat app. They named a host, a method (CONNECT, then GET), a path such as
/.well-known/oauth-protected-resource, and a policy named tool.exec.
Then Muse gave up. It answered that the server had refused “the saved access” and had to be reconnected, showed a “Connect” button for the connector and opened a sign-in window. We signed in again. The next chat ended the same way, word for word.
So we looked at the server’s logs, expecting a failed request. There wasn’t one. What the logs did have was a handful of harmless requests.
Something identifying itself as curl/8.5.0 had read the server’s OAuth metadata, the public file that
tells a client how to sign in. And Muse’s connector had sent initialize, the message that opens
every MCP conversation, and received a normal 200, the status code for success.
We asked Muse, in the same chat, what exactly failed, and it was able to explain. The failed request
was an MCP initialize, sent not by the
connector but by a Python script that Muse had written and run itself. The script carried the user’s
token and set no user agent, the line in which a program names itself, so Python filled in its
default: Python-urllib/3.12.
Muse also quoted the response. Here it is, shortened. The title line says it all; you can skip the rest.
{ "title": "Error 1010: Access denied", "detail": "The site owner has blocked access based on your browser's signature.", "error_name": "browser_signature_banned"}The refusal was real, but the server never sent it. It came from the security layer in front of the
server, in this case Cloudflare’s Browser Integrity Check, a setting that turns away requests whose
headers look like a script rather than a browser. Python-urllib is a textbook case.
The request was refused before the server saw it. Muse, reasonably enough, saw a refused call that carried the user’s token and concluded the token was bad.
We met the same wall ourselves later that day. A Python script of ours, fetching a public list from
Cloudflare’s own API, got error 1010 back. curl got the file.
Check your own server
You don’t need Muse to find out whether this happens to you. The command below sends your MCP endpoint one request with Python’s default user agent and prints the status code it gets back; hand it to an engineer if you’d rather not run it yourself.
curl -s -o /dev/null -w '%{http_code}\n' -X POST -A Python-urllib/3.12 \ -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \ --data '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' https://your-mcp-host/If the request is refused and your server’s own logs don’t show it, something in front of the server turns away clients that look like scripts, and Muse’s Python script is one of them. An MCP endpoint is an API: none of its real clients is a browser, so browser checks only get in the way.
If you use Cloudflare
Four things to check, and the first one is on by default for every site:
- Turn off Browser Integrity Check for the MCP hostname. Add a Configuration Rule (Rules >
Configuration Rules) that matches the hostname and sets “Browser Integrity Check” to off. A
blocked request has
error code: 1010in its body. - Check every zone the hostname passes through. If your MCP hostname is a custom hostname on a provider’s zone, both zones check the request, and each needs the rule.
- Look at the bot settings too. Bot Fight Mode and the “Block AI bots” setting challenge or block automated clients, and an MCP client can’t solve a challenge. Leave them off for the MCP hostname, or skip them with a rule in the WAF, the web application firewall.
- Don’t wait for the logs to tell you. The block never shows up in your server’s logs, and we didn’t find it in Cloudflare’s Security Events either.
If you use another WAF or CDN
Other firewalls and content delivery networks (CDNs) have the same kind of rule under other names. Look for anything that judges a request by its user agent or by whether it behaves like a browser, and exclude the MCP path from it:
- AWS WAF. The core rule set’s
NoUserAgent_HEADERandUserAgent_BadBots_HEADERrules, and Bot Control’s HTTP library category and non-browser user agent signal. - OWASP Core Rule Set (ModSecurity, Coraza and the managed WAFs built on it). The scanner and
scripting user agent rules in the 913 group, which match
python-urllibandcurlat higher paranoia levels. - Bot management products (Akamai, Fastly, Imperva and others). Policies that challenge or deny “HTTP libraries” or “automated tools”, and JavaScript or CAPTCHA challenges of any kind.
- Your own rules. Old nginx or Apache snippets that deny user agents containing
python,curlorwget, and rules that require aReferer, a cookie or anAccept-Languageheader. Muse’s connector sends none of those.
Then run the curl check again.
Two ways in: the connector and the sandbox
The approval cards made sense now too. Muse has two routes to an MCP server, and your users only notice one of them:
- The connector. Muse’s own MCP client, which calls your tools directly. It asks the user for nothing.
- The sandbox. A place where Muse runs code it writes itself, in Python and
curl. Every new host or path it reaches from there needs the user’s approval, which is what the cards were.
Muse doesn’t always pick the connector first. In two of our three chats it went to the sandbox
first: that was the curl read in the logs, followed by the Python initialize that hit the wall.
Five seconds later its connector sent the same initialize and got through, but by then Muse had
made up its mind and stopped.
Once the check was off for the server’s hostname, the third chat used the connector from the first message: no approval cards, no sign-in window, an answer in a few seconds.
The connector: Muse/1.0
With the wall gone, we could look at the connector properly, and it is the part that will fill your logs. Every request it sent looked the same:
| What | Value |
|---|---|
| User-Agent | Muse/1.0 |
| Client name | muse-custom-connector, version 1 (in initialize) |
| Protocol version | 2025-11-25, in initialize and the MCP-Protocol-Version header |
| Capabilities | none: "capabilities": {} |
| Accept | application/json, text/event-stream |
| Accept-Encoding | gzip, br |
| Authorization | Bearer with the OAuth token from the sign-in |
| HTTP | HTTP/1.1 over TLS 1.3 |
A few rows need a word. The protocol version is the MCP release Muse speaks. Capabilities are the extras a client says it can handle beyond plain tool calls, and Muse declares none, which matters later.
The Authorization header carries the token from the user’s sign-in, and that token is the only
thing that ties a request to a person. There was nothing else: no Referer, no Origin, no
cookies, and no header naming the user or the chat.
The user agent is not perfectly stable, either. Once, a single initialize arrived with a desktop
Chrome user agent (Mozilla/5.0 (Windows NT 10.0; Win64; x64) … Chrome/126.0.0.0) and the same
client name. We saw it once and can’t say why. Match on the client name, not only on the user agent.
The sign-in: a client named Muse
All of that traffic comes after the user has signed in, and the sign-in is where Muse is easiest to recognize. Your authorization server is the part of your setup that signs users in and hands out tokens under the OAuth standard. Before the first tool call, Muse introduces itself to it through Dynamic Client Registration. Nobody at Meta fills in a form on your side; Muse’s software registers itself as a new OAuth client, with these values:
| What | Value |
|---|---|
| Client name | Muse |
| Redirect URI | https://agent.meta.ai/api/hatch/oauth/callback |
| Client URI | https://agent.meta.ai/ |
| Logo URI | https://agent.meta.ai/images/hatch/hatch.png |
| Grant types | authorization_code, refresh_token |
| Token endpoint auth | none: a public client, no client secret |
The redirect URI is the address your authorization server sends the user back to after sign-in,
along with a one-time code that Muse trades for the token. It is the strongest signal on this list.
The client name is free text that anyone can copy, but only Meta receives a code sent to
agent.meta.ai.
So a token issued to a client with that redirect URI belongs to Muse, whatever network or user agent its requests come from later. If your server records which client each token was issued to, you can label Muse’s traffic from the sign-in on.
Muse registers again every time the user connects or reconnects: three sign-ins left three client registrations with the same values and different client IDs. So don’t key anything on the client ID.
A new session for every call
An MCP session is the conversation a client opens with a server and normally keeps open for many tool calls. Muse doesn’t keep one. For each tool call it starts over:
initializenotifications/initialized- one
tools/listortools/call
The effect on your numbers is direct. One chat with six tool calls and two tool lists produced eight
initialize requests, so if your analytics count MCP sessions, that one person looks like eight.
Group Muse’s traffic by the OAuth token, or by the account behind it.
Whose network is this?
We expected Muse’s requests to come from Meta’s network, which would have made Muse easy to spot. None did. Every request from the connector, and every one from the sandbox, came from Cloudflare’s network, AS13335. An AS, or autonomous system, is a numbered block of internet addresses run by one organization, and 13335 is Cloudflare’s.
Our first thought was that the measurement was wrong: the server sits behind Cloudflare too, so maybe everything looked like Cloudflare. It didn’t. Other clients in the same chats arrived with their own networks:
| Client | Network | Round trip to the client |
|---|---|---|
| Our own browser | A home internet provider | 6–13 ms |
EctoBot link preview | Amazon (AS16509) | 2 ms |
facebookexternalhit, meta-webindexer | Meta (AS32934) | 1–16 ms |
Muse/1.0 and the sandbox’s curl | Cloudflare (AS13335) | 0 ms |
The round trip is the time a packet takes to reach the client and come back. A round trip of 0 ms means the connection started inside Cloudflare’s own network.
Muse’s addresses were all in 2606:54c0::/28, a block registered to Cloudflare that is not among
its published proxy ranges. Cloudflare’s public geofeed, the file that maps its address ranges to
places, lists the block as egress addresses, the ones its own traffic leaves from. The block is split
into one small range per city: Morgan Hill, Reston, Flower Mound, Hialeah. So Muse sends its MCP
traffic out through a Cloudflare service.
It also moves around. In one five-minute chat, 24 requests came through ten data centers across the
US: Atlanta, Dallas, Denver, Chicago, Los Angeles, Miami, Newark, San Jose, Seattle and Ashburn.
Even the three requests of one session took different routes: initialize through San Jose,
notifications/initialized through Ashburn, the tool call through San Jose again.
Can you tell which Cloudflare customer is calling? We looked, and the answer is no:
- No
CF-Workerheader. When a Cloudflare Worker, a program that runs on Cloudflare’s servers, calls another site, it adds this header with its owner’s domain. Muse’s requests don’t have it. - No published owner. Cloudflare doesn’t say who uses which egress address, and nothing suggests these ranges are Muse’s alone.
What this means for you:
- No IP allowlist. There is no fixed set of IP (Internet Protocol) addresses to allow, and allowing the whole range may let in other traffic that leaves Cloudflare the same way.
- No location. The data center says nothing about where the user is.
- Identity is in the request. The client name and the user’s token identify Muse. The network doesn’t.
Meta’s crawlers
Meta’s own network did show up, just not for tool calls. In one chat, as Muse first reached for the server, two crawlers visited from AS32934, Meta’s network:
facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)fetched/robots.txt.meta-webindexer/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)fetched/.well-known/oauth-protected-resourceandGET /.
They read the server’s public documents, such as robots.txt, the file that tells crawlers what
they may read, and they call no tools. The connector itself never read robots.txt.
Links: a bot clicks first
If your tools return links, this part changes how you count clicks. When a tool’s answer contains a link, Muse shows it as a card with the page’s title and host. To build that card, something has to fetch the page.
Fourteen seconds after the tool call, before anyone had clicked, EctoBot/1.0 (OpenGraph Preview)
requested the link from Amazon’s network (AS16509) and followed its redirect. OpenGraph is the set
of tags a page carries so that apps can preview it. This bot clicks every link your tools return, so
leave it out by its user agent.
A person’s click looks different. The card’s address is not your link but Meta’s link shim, a
redirect page of Meta’s own at https://l.meta.ai/?u=<your link>&h=<a signature>, which forwards
the visitor to your page. The click arrives from the user’s own browser and network with
Referer: https://l.meta.ai/, the header that names the page a click came from. That makes Muse’s
visitors easy to tell apart from everyone else’s.
No widgets, no follow-up questions
Two things Muse did not do, and both change what your tools should return.
It showed no MCP widget. A widget is a small interactive panel a tool can return along with its text, and one of the server’s tools returns one with a grid of pictures and buttons. Muse never fetched it and wrote the list out as text. If your tool relies on a widget, make sure its text result is useful on its own.
And it asked no follow-up questions. Elicitation is the MCP feature that lets a tool stop and ask the user for something, such as a missing value. Muse declares no capabilities, so tools that rely on elicitation can’t ask. Our article on MCP elicitation in Claude, ChatGPT and Muse has the details.
How to recognize Muse
Everything above in one place, with how far you can trust each signal.
| Signal | Value | Reliable? |
|---|---|---|
| OAuth redirect URI | https://agent.meta.ai/api/hatch/oauth/callback | Yes: only Meta receives the code |
| Client name | muse-custom-connector in initialize | Yes: in every session |
| User-Agent | Muse/1.0 | Mostly: once a desktop Chrome user agent |
| Network | Cloudflare, AS13335, 2606:54c0::/28 | Only together with the signals above |
| Protocol and capabilities | 2025-11-25, {} | Supports the client name |
| Link clicks | Referer: https://l.meta.ai/ | Yes, for clicks on links in Muse’s answers |
| Link previews | EctoBot/1.0 (OpenGraph Preview), AS16509 | Not a user: leave it out of click counts |
| Sandbox calls | Python-urllib/3.12, curl/8.5.0 | Not specific to Muse |
Conclusion
Everything we learned about Muse came out of a refusal that was never the server’s, and that is the part to take with you. Muse will tell your users that your server is broken when something in front of it is doing exactly what it was set up to do.
The signals in this article let you find Muse in your logs. The curl check tells you whether
something in front of your server turns it away before it gets there. Run it first.
Open the Online MCP Inspector and check what your server returns to a client that, like Muse, shows text only.
Get new articles by email
Check and confirm your subscription.


