Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fmsg

MCP server by markmnl Community

Gives an AI agent its own fmsg address to send messages, follow threads and wait for replies. Works over stdio or Streamable HTTP, using an API key or OAuth.

  • Score 80
  • 6 stars
  • 644 a week
  • MIT
  • Updated

Install fmsg

Built from the published package, never by AI.

claude mcp add fmsg -e FMSG_API_URL=YOUR_FMSG_API_URL -e FMSG_API_KEY=YOUR_FMSG_API_KEY -- npx -y @markmnl/fmsg-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install fmsg in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the fmsg block.

About

The fmsg MCP server gives an AI agent its own fmsg address. It can send messages, follow threads, react, exchange attachments and wait for replies through a deployed fmsg Web API. It runs locally over stdio with one address per process, or over Streamable HTTP, where one endpoint serves many users, each with their own API key or OAuth connection. Users choose their own fmsg hosting provider, or self-host. No hosting provider or identity provider is built in.

Local installs need Node.js 22 or later, plus an API URL and key for an address. Hosts such as Claude Code, Claude Desktop, Cursor and VS Code can connect to it. The package also exports the fmsg Web API client for reuse. It suits people who want AI agents to exchange fmsg messages with other addresses.

Written from the project's README and checked against it.

Tools it gives your assistant

  • whoamiReports the address this server acts as, its owner, the transport and the server version.
  • resolve_addressTurns a short name into a full @user@domain address using the directory or default domain.
  • list_messagesLists inbox messages, newest first, with previews and attachment types.
  • get_threadShows the lineage from the thread root to a message, with flags and a suggested next step.
  • send_messageStarts a new thread and sends immediately, since fmsg messages are immutable.
  • replyReplies into a thread, reply-all by default, and refuses terminal or no-reply parents.
  • create_draftCreates an unsent message or reply that other fmsg clients can see.
  • reactSets or clears your emoji reaction on a message.
  • download_attachmentFetches a small attachment inline as text, an image or a base64 resource.
  • wait_for_messageBlocks until the next inbound message arrives, batched per thread, using WebSocket push.

What you need

  • Node.js 22 or later
  • An API URL and API key (fmsgk_) from an fmsg hosting provider, or a self-hosted fmsg stack
  • An MCP-capable AI host such as Claude Code, Claude Desktop, Cursor or VS Code
  • Docker, only for the optional Docker deployment
SettingNeededWhat it is
FMSG_API_URLEnvironment variableRequiredBase URL of your hosting provider's or self-hosted fmsg Web API
FMSG_API_KEYEnvironment variable, secretRequiredfmsg API key (fmsgk_...) for the address to send as
FMSG_DEFAULT_DOMAINEnvironment variableOptionalOptional: lets short names resolve to @name@<domain>
FMSG_MCP_DOWNLOAD_DIREnvironment variableOptionalOptional local folder enabling streamed attachment saves over stdio

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Send @bob@example.com a note about the release
  • What's in my fmsg inbox?
  • Wait for Bob's reply and answer it

Good to know

  • wait_for_message holds requests open up to 230 seconds, so proxies need an idle timeout of at least 240 seconds.
  • send_message sends immediately and fmsg messages cannot be edited once sent.
  • save_attachment works over stdio only.
  • A sub-address owner can only follow and reply to threads they are a participant of.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to fmsg

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

fmsg: common questions

Do I need my own fmsg hosting provider?

The server does not include a hosting provider. You can use a provider you choose or self-host with fmsg-docker.

Can several users share one MCP server?

Yes. Over Streamable HTTP, each caller sends their own fmsg API key or signs in with OAuth, so each acts as their own address.

Can an agent see every thread on its address?

No. The owner of a sub-address can only follow and reply to threads they are a participant of.

How do I install fmsg?

In Claude Code run claude mcp add fmsg -e FMSG_API_URL=YOUR_FMSG_API_URL -e FMSG_API_KEY=YOUR_FMSG_API_KEY -- npx -y @markmnl/fmsg-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is fmsg the official server?

fmsg is a community project by markmnl, not verified by a company domain.

Is fmsg free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is fmsg safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to fmsg?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does fmsg work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

Add to stack

Loading.