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.
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-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"fmsg": {
"env": {
"FMSG_API_KEY": "YOUR_FMSG_API_KEY",
"FMSG_API_URL": "YOUR_FMSG_API_URL"
},
"args": [
"-y",
"@markmnl/fmsg-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"fmsg": {
"env": {
"FMSG_API_KEY": "YOUR_FMSG_API_KEY",
"FMSG_API_URL": "YOUR_FMSG_API_URL"
},
"args": [
"-y",
"@markmnl/fmsg-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"fmsg": {
"env": {
"FMSG_API_KEY": "YOUR_FMSG_API_KEY",
"FMSG_API_URL": "YOUR_FMSG_API_URL"
},
"args": [
"-y",
"@markmnl/fmsg-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add fmsg --env FMSG_API_URL=YOUR_FMSG_API_URL --env FMSG_API_KEY=YOUR_FMSG_API_KEY -- npx -y @markmnl/fmsg-mcp{
"mcpServers": {
"fmsg": {
"env": {
"FMSG_API_KEY": "YOUR_FMSG_API_KEY",
"FMSG_API_URL": "YOUR_FMSG_API_URL"
},
"args": [
"-y",
"@markmnl/fmsg-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add fmsg npx -y @markmnl/fmsg-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
FMSG_Environment variable | Required | Base URL of your hosting provider's or self-hosted fmsg Web API |
FMSG_Environment variable, secret | Required | fmsg API key (fmsgk_...) for the address to send as |
FMSG_Environment variable | Optional | Optional: lets short names resolve to @name@<domain> |
FMSG_Environment variable | Optional | Optional 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
ANo 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 →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
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.
