feedly-mcp
Provides tools for full access to a Feedly account: reading and searching articles, saving and tagging them, organizing subscriptions and categories, and importing/exporting OPML.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
An MCP (Model Context Protocol) server that gives Claude, Codex and any MCP client full access to your Feedly account: read and search articles, save and tag them, organize subscriptions and categories, and import/export OPML.
32 tools (read, search, write, auth, status)
Plain Python: the whole server and every support script is
.py- no compiled launchers, no bytecode shippedSelf-renewing authentication: when the Feedly access token expires, the server renews it from a refresh token, stores the new one in your user environment and logs the event
Small distributable zip (about 70 KB, pure Python, no bundled libraries) with a manifest, checksum and verification report; dependencies install with one command
Setup wizard (GUI) and console setup scripts
Based on the original feedly-mcp-server by c0ffee0wl (GPL-3.0), extended and restructured. Published at github.com/jumpifequal/mcp-feedly.
Contents
Related MCP server: feedly-mcp
1. Project layout
mcp-feedly/
├── feedly_mcp_server.py # the MCP launcher (python feedly_mcp_server.py)
├── feedly_mcp/ # the MCP server package (all .py)
│ ├── server.py # FastMCP app, 32 tools, stdio/HTTP entry point, bearer middleware
│ ├── client.py # Feedly API client: error mapping, 401 -> renew -> retry
│ ├── auth.py # TokenManager: renewal through the refresh token
│ ├── persist.py # saves renewed tokens to the user environment + audit log
│ ├── models.py # Pydantic input models
│ ├── constants.py
│ └── __init__.py # __version__ (single source of the version)
├── requirements.txt # the Python dependencies (kept in sync with pyproject.toml)
├── scripts/ # ALL support scripts, all Python
│ ├── _common.py # shared helpers
│ ├── setup_wizard.py # GUI wizard
│ ├── install_dependencies.py # install requirements.txt (or create the local .venv)
│ ├── set_feedly_token.py # save the Feedly tokens (interactive / --silent)
│ ├── setup_claude.py # register in Claude Desktop
│ ├── setup_codex.py # register in Codex
│ └── build_distribution.py # build the distributable zip in distribution/
├── assets/logo.svg
├── CHANGELOG.md README.md
├── LICENSE
└── pyproject.tomlRules of the layout:
.venvholds only local support things (the interpreter environment used to develop, test and build). The product does not depend on it: the setup scripts register the system Python.distribution/holds the distributable zip: only this project's own Python files (about 70 KB). No third-party library is bundled -requirements.txtlists the four dependencies and is installed once on the target machine.There is no release folder and no
lib/folder. The build assembles the package in a temporary staging folder, verifies it, zips it and deletes the staging folder.Scripts are Python and live in
scripts/; run them withpython scripts/<name>.py.The MCP is Python in the project root (
feedly_mcp_server.py+feedly_mcp/).
2. Quick start (development)
Requires Python 3.10+ (the build script needs 3.11+) and a Feedly account with developer-token access (a Pro plan works).
python -m venv .venv
.venv\Scripts\python -m pip install -e .
python scripts/setup_wizard.py(step 1 of the wizard creates .venv for you if it is missing).
Run the server directly:
python feedly_mcp_server.py # stdio (what MCP clients use)
python feedly_mcp_server.py --version # prints: feedly-mcp 1.2.0
python feedly_mcp_server.py --transport http --port 8000 # HTTP, see section 6Prefer to do it by hand? Get your tokens (section 3), save them as user environment variables, and register the launcher in your client (section 5).
3. Feedly tokens: get, renew, rotate
3.1 Where to get the tokens
What | Where |
Token page (get or regenerate both tokens) | |
Renewal endpoint (used automatically by the server) |
|
Steps:
Sign in to Feedly in your browser.
Open the token page: https://feedly.com/v3/auth/dev
Copy the access token and the refresh token shown there.
Store them using one of these methods:
run
python scripts/setup_wizard.py(recommended), orrun
python scripts/set_feedly_token.py(prompts for both; what you type is visible), orset the user environment variables yourself:
FEEDLY_ACCESS_TOKENandFEEDLY_REFRESH_TOKEN.
Fully quit and restart your client (Claude Desktop / Codex / terminal) so it picks up the changes.
If the token page shows an error or no token, Feedly may restrict API access on your plan; contact Feedly support. Treat both tokens like passwords and never paste them into chat.
3.2 How the lifecycle works
The access token is the credential sent with every Feedly request (
Authorization: Bearer ...). It expires; in practice after about 31 days (the log records the exact expiry on each renewal).The refresh token is a longer-lived credential that can only be exchanged for new access tokens.
Expiry is implicit: nothing tells the server in advance; the first request after expiry simply returns HTTP 401.
3.3 The automatic renewal process
tool call
|
v
send request with current access token
|
+-- 200 --------------------------------------------> return result
|
+-- 401 and FEEDLY_REFRESH_TOKEN is set
|
v
POST /v3/auth/token { refresh_token, client_id, client_secret,
| grant_type: "refresh_token" }
|
+-- failure --> log TOKEN_REFRESH_FAILED, return a clear error
|
+-- success --> new access token (kept in memory)
|
+-- save it as the user-level FEEDLY_ACCESS_TOKEN
| (scripts/set_feedly_token.py --silent), replacing the old one
+-- if Feedly rotated the refresh token, save that too
+-- append a line to feedly-mcp-token.log
|
v
retry the original request once -------------> return resultDetails:
Several concurrent 401s trigger one renewal; the others reuse the new token.
With only a refresh token set (no access token), the server fetches an access token on first use.
The client credentials sent are Feedly's public developer client (
feedlydev/feedlydev); override withFEEDLY_CLIENT_ID/FEEDLY_CLIENT_SECRETif you use your own Feedly app.Saving the token never blocks or fails a request: if saving fails, the new token still works in memory and the failure is logged.
Token values are never written to the log or returned by any tool.
Force a renewal with the feedly_refresh_access_token tool; check status with feedly_auth_status.
3.4 The renewal log
feedly-mcp-token.log in the project (or installed copy) folder, one line per event, metadata only:
2026-11-19T23:47:26+01:00 TOKEN_REFRESHED persisted=user-env-updated detail=exit=0 access_len=388 refresh_rotated=False expires_at=2026-12-20_23:47:26+0100
2026-11-20T09:01:02+01:00 TOKEN_REFRESH_FAILED http_status=400 feedly_message='bad refresh_token'Field | Meaning |
|
|
| Feedly issued a new refresh token and it was saved |
| Local date/time the new access token expires |
Override the location with FEEDLY_MCP_LOG; disable saving to the environment with FEEDLY_PERSIST_TOKEN=0.
3.5 When the refresh token itself stops working
You will see Token refresh failed (HTTP ...) and a TOKEN_REFRESH_FAILED log line. Generate a new pair at https://feedly.com/v3/auth/dev and store it with the wizard or python scripts/set_feedly_token.py.
3.6 Notes on "already running" programs
Windows only gives user-environment changes to programs started afterwards. The server does not depend on that: it re-reads the user environment from the registry itself and keeps the renewed token in memory. A client that is already open just keeps its old variables until restart, which is harmless.
4. Setup wizard and support scripts
Every support script is Python in scripts/ and runs with python scripts/<name>.py (the local .venv interpreter or any Python 3.10+).
Script | What it does |
| GUI wizard: checks, dependencies, tokens, registration, live test |
| Install |
| Save the Feedly tokens as user environment variables |
| Register / |
| Register / |
| Build the distributable zip in |
4.1 The GUI wizard
Standard library + tkinter only. Five steps:
Checks - Python, server files, and whether the dependencies are installed. Offers "Install dependencies now" (source layout: creates the local
.venv; extracted zip: installsrequirements.txtinto the Python running the wizard).Feedly tokens - visible fields (untick "Show tokens" to mask them), a button that opens the token page, optional Validate (read-only call; uses the refresh token if the access token expired). Blank keeps the stored value.
Where to install - tick Claude Desktop and/or Codex; choose whether to save the tokens.
Review & apply - shows the plan (including the token values you entered), then applies it with a step log that shows what was saved.
Test & finish - starts the server, lists tools and calls Feedly (
feedly_auth_status).
4.2 What the setup scripts modify
Always after creating a <file>.bak-<timestamp> backup. Both clients get the same command: the system Python's windowless interpreter (pythonw, so no console window appears) plus the launcher. The Python chosen is the first one that has the dependencies: the system (base) Python, then - in the source layout only - the local .venv.
Target | File | Change |
Claude Desktop |
| adds/updates |
Codex |
| replaces |
Tokens | user environment (Windows registry) |
|
The Codex block is written exactly like this (no env_vars, no secrets):
[mcp_servers.feedly]
command = 'C:\Python\pythonw.exe'
args = ['C:\path\to\mcp-feedly\feedly_mcp_server.py']
startup_timeout_sec = 30
tool_timeout_sec = 120and the Claude Desktop entry is:
"feedly": {
"command": "C:\\Python\\pythonw.exe",
"args": ["C:\\path\\to\\mcp-feedly\\feedly_mcp_server.py"]
}No token is ever written into a client config: the server reads FEEDLY_* from the user environment (registry) itself, which is why neither client needs to pass variables through.
4.3 Console usage
python scripts/install_dependencies.py # install / verify (add --python PATH for another interpreter)
python scripts/setup_claude.py # register (--test: live check, --remove: undo)
python scripts/setup_codex.py # same for Codex
python scripts/set_feedly_token.py # prompts (visible input), validates, saves
python scripts/set_feedly_token.py --silent # used by the server after a renewal (reads FEEDLY_NEW_* from the environment)5. Connecting clients
The server reads FEEDLY_ACCESS_TOKEN / FEEDLY_REFRESH_TOKEN from its environment and, on Windows, falls back to the user environment in the registry, so client configs need no secrets and no env block. Easiest: run the wizard or python scripts/setup_claude.py / python scripts/setup_codex.py. Manual equivalents:
Claude Desktop
Add under mcpServers in %APPDATA%\Claude\claude_desktop_config.json (keep your other servers), then fully quit and restart Claude Desktop:
{
"mcpServers": {
"feedly": {
"command": "C:\\Python\\pythonw.exe",
"args": ["C:\\path\\to\\mcp-feedly\\feedly_mcp_server.py"]
}
}
}Codex
In %USERPROFILE%\.codex\config.toml:
[mcp_servers.feedly]
command = 'C:\Python\pythonw.exe'
args = ['C:\path\to\mcp-feedly\feedly_mcp_server.py']
startup_timeout_sec = 30
tool_timeout_sec = 120Notes for both
pythonwis the windowless Python interpreter: MCP stdio works through it and no console window pops up. Usepythoninstead if you ever need to see the server's console.The Python that
commandpoints to must have the dependencies installed. Check withpython scripts/install_dependencies.py --check, install into the system Python withpython scripts/install_dependencies.py --python C:\Python\python.exe(orC:\Python\python.exe -m pip install -r requirements.txt).argspoints at the launcher: the project root, or the folder you extracted the zip to.
Any other stdio client
Command python (or pythonw), argument the full path of feedly_mcp_server.py.
6. HTTP transport with bearer auth
export MCP_BEARER_TOKEN=$(python -c "import secrets; print(secrets.token_urlsafe(32))")
python feedly_mcp_server.py --transport http --host 127.0.0.1 --port 8000Endpoint:
http://HOST:PORT/mcp(streamable HTTP).Every request must carry
Authorization: Bearer <MCP_BEARER_TOKEN>; otherwise the answer is401withWWW-Authenticate: Bearer.MCP_BEARER_TOKEN(at least 16 characters) is mandatory; the server refuses to start without it. It is the token clients use to reach the server and is unrelated to the Feedly tokens.Binds to loopback by default. If you bind elsewhere, put TLS in front (reverse proxy): the bearer token travels in clear text over plain HTTP.
Environment equivalents:
MCP_TRANSPORT,MCP_HOST,MCP_PORT.
7. Tool reference
All tools accept response_format (markdown default, or json) unless noted. IDs for tags and categories may be given as a bare label (Research) or a full ID (user/{userId}/tag/Research). Output is truncated at 100,000 characters; use compact, limit/offset or continuation for large results. Destructive tools carry destructiveHint so clients can ask for confirmation.
Stream ID formats
Stream | ID |
Feed |
|
Category |
|
Tag |
|
All articles |
|
Saved for later |
|
Get your userId with feedly_get_profile.
Status, account and authentication
Tool | Purpose |
| Version, Python/platform, transport, uptime, tool inventory, token flags, distribution build summary (no Feedly call, no secrets, no paths) |
| Profile and user ID |
| Whether the token works and auto-renew is available (never reveals tokens) |
| Force a renewal now (normally automatic on 401) |
Reading
Tool | Purpose | Main parameters |
| List feeds |
|
| List categories/folders | - |
| List tags/boards | - |
| Unread count per stream | - |
| Articles from a feed/category/tag |
|
| One article incl. content |
|
| Many articles (batch, max 1000) |
|
| Feed metadata (subscribers, velocity, ...) |
|
| "Must read" articles of a stream |
|
| IDs recently marked read |
|
Search and discovery
Tool | Purpose | Main parameters |
| Find feeds by keyword, |
|
| Full-text search inside a stream (Feedly Pro) |
|
Read state and saved items
Tool | Purpose | Parameters |
| Mark articles read |
|
| Mark a whole feed read |
|
| Mark a whole category read |
|
| Undo mark-as-read |
|
| Save for later |
|
| Remove from saved |
|
Tags and boards
Tool | Purpose | Parameters |
| Add tags (created if missing) |
|
| Remove tags from articles |
|
| Rename a tag |
|
| Delete a tag (articles stay) |
|
Subscriptions and categories
Tool | Purpose | Parameters |
| Subscribe; also updates title and replaces categories of an existing subscription (moves a feed between folders) |
|
| Unsubscribe |
|
| Rename a category |
|
| Delete a category (feeds become uncategorized) |
|
OPML
Tool | Purpose | Parameters |
| Export all subscriptions as OPML XML | - |
| Import subscriptions from OPML |
|
Typical workflow
feedly_get_profile- note the user ID.feedly_get_unread_counts- see what has news.feedly_get_stream_contentswithcompact=true- scan titles.feedly_get_entry/feedly_get_entries- read what matters.feedly_tag_entries/feedly_save_entries- keep it;feedly_mark_as_read- clear the rest.
8. Version, status and manifest
The version has a single source, __version__ in feedly_mcp/__init__.py, and is reported everywhere:
Where | How |
Command line |
|
MCP handshake | the |
| version, Python, platform, transport, uptime, tool counts, token flags, distribution summary |
| inside every distribution zip |
File names |
|
| one |
manifest.json
Generated by the build and shipped inside the zip; it records:
Field | Content |
| identity |
| build time (UTC); |
| launcher, command/args, transports ( |
| the requirements file, the package specifiers and the install command |
| variables the server reads (required / optional) |
| count, read-only count, destructive count, sorted list of names (taken from a real |
| the support scripts shipped |
| path, size and SHA-256 of every file in the package |
9. Distribution
python scripts/build_distribution.py9.1 What is in the zip
feedly-mcp-<version>/
├── feedly_mcp_server.py launcher
├── feedly_mcp/ the MCP (Python source)
├── requirements.txt the dependencies to install (mcp, httpx, pydantic, uvicorn)
├── scripts/ the six support scripts (all Python)
├── manifest.json README.md CHANGELOG.md LICENSE assets/It contains no third-party libraries, no tests, no .venv, no build tooling, no logs, no bytecode (.pyc / __pycache__), no local paths and no credentials.
9.2 The distribution/ folder
distribution/
├── feedly-mcp-1.2.0.zip the distributable (about 70 KB)
├── feedly-mcp-1.2.0.zip.sha256
├── VERIFICATION.json result of the build checks
└── README.txt install notes for the recipientThe package is pure Python, so the same zip works with any Python 3.10 or newer on any machine; only the dependencies are installed on the target.
9.3 What the build verifies (VERIFICATION.json)
All checks must pass (the script fails otherwise); they run on the staged package, on the extracted zip, and in a clean room:
Check | Meaning |
| the package starts (isolated |
| the MCP handshake reports the package version |
|
|
| no |
| no |
| every SHA-256 in the manifest matches the file |
| no user paths/names or token-like strings in the shipped text files |
| no |
|
|
| the zip is sound and its extracted copy works and matches the manifest |
| clean room: a brand-new virtual environment gets only |
9.4 Installing from the zip
Extract the whole zip to a stable folder (the path is stored in the client configuration).
Install Python 3.10 or newer if needed.
Run
python scripts/setup_wizard.py: step 1 installs the dependencies, then it saves the tokens and registers Claude Desktop / Codex. (Console equivalents:python scripts/install_dependencies.py,python scripts/set_feedly_token.py,python scripts/setup_claude.py,python scripts/setup_codex.py.)Fully quit and restart the client.
Check the download with the .sha256 file (certutil -hashfile <zip> SHA256). Dependencies are downloaded by pip, so the target machine needs internet access (or a pip mirror) once.
9.5 On the development machine
No installation step is needed: the setup scripts register the system Python's pythonw plus the launcher in the project root, so the clients run the source directly and code changes are live after a client restart. .venv is used only for tests and builds. The zip is for other machines.
10. Configuration reference
Variable | Default | Purpose |
| - | Feedly access token (optional if a refresh token is set) |
| - | Enables automatic renewal |
|
| Client credentials for the renewal exchange |
|
|
|
|
| Renewal log path |
|
|
|
|
| HTTP bind address |
| - | Required for HTTP; min. 16 characters |
Command line: python feedly_mcp_server.py [--version] [--transport stdio|http] [--host HOST] [--port PORT].
11. Testing
.venv\Scripts\python tests\test_offline.py # 12 tests: client, renewal, persistence, tools, HTTP auth
.venv\Scripts\python tests\test_scripts.py # setup scripts, Codex/Claude entries, version, requirements, build helpers
.venv\Scripts\python scripts\setup_wizard.py --selftest # the wizard UI builds headlesslyAll tests are offline (mocked HTTP) and cannot change your real environment, log or client configs. Not covered by automated tests: live write operations (tag, save, subscribe, unsubscribe, delete, OPML import) - try those on disposable data first. The distribution build adds its own checks (section 9.3).
12. Troubleshooting
Symptom | Cause / fix |
| Token expired and no refresh token available: get a new pair at https://feedly.com/v3/auth/dev |
| Refresh token expired or wrong: generate a new pair and save it with the wizard or |
| The feature needs a higher Feedly plan (e.g. |
| Wait and retry; reduce batch sizes |
| Wrong |
| The Python in the client config lacks the dependencies: |
Client starts but the server has no token | Save the tokens with the wizard / |
|
|
Lists look cut off | Output cap of 100,000 characters: use |
HTTP: | Missing or wrong |
13. Security notes
Both Feedly tokens grant access to your account. Keep them in user environment variables (as the wizard does), never in files under version control. The log never contains token values.
The server only talks to
cloud.feedly.com.Write and delete tools act on your real account; clients should confirm destructive calls.
In HTTP mode, use a long random
MCP_BEARER_TOKEN, bind to loopback unless needed, and add TLS for anything beyond localhost.Client configs written by the setup scripts contain no secrets; backups (
*.bak-*) are copies of those config files.The distribution build refuses to ship local paths, user names or token-like strings.
License
GPL-3.0 License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Managed cloud RSS, Atom & JSON feed reader with a remote Model Context Protocol (MCP) endpoint. Zero server setup required — enables AI agents like Claude to instantly subscribe to feeds, search full-text articles, extract readable content, and access curated AI editions ("Your Newspaper") over secure streamable HTTP.
Run your social media from Claude, ChatGPT or any MCP client. Feedlio's MCP server lets your assistant list workspaces and connected accounts, add media, and create, edit, reschedule and cancel posts across 15 platforms, including Facebook, Instagram, LinkedIn, YouTube, TikTok, Pinterest, Threads, Bluesky, Mastodon, Dev.to and Google Business Profile. Sign in with OAuth on Feedlio's own page. MCP is included on every Feedlio plan, the Free plan too. Support: support@feedlio.io. Also in Claude's Connectors Directory: https://claude.ai/directory/connectors/feedlio
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that enables users to interact with their Feedbin RSS account directly through Claude. It provides tools for reading articles, managing read and starred states, and browsing subscribed feeds and tags.151-
- AlicenseCqualityCmaintenanceEnables Claude to read your Feedly subscriptions via a local stdio server, listing folders and feeds, fetching recent articles, checking unread counts, searching for new feeds, and optionally marking items as read while keeping your API token on your machine.6MIT
- AlicenseBqualityBmaintenanceEnables MCP clients such as Claude and Cursor to read timelines, search statuses, and look up users or conversations, plus optionally post, delete, favorite, and follow with explicit confirmation. It supports both local stdio launches and remote HTTP hosting with per-user authorization.15MIT
- AlicenseNot gradedqualityCmaintenanceEnables ChatGPT and other MCP clients to search and fetch articles, update read and bookmark states, and manage feeds and categories through an OAuth-secured Streamable HTTP connection.MIT