note-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@note-mcp list my recent drafts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
note-mcp-community
Unofficial, community-maintained stdio MCP server for note.com. It uses cookie-based access to note.com's internal APIs.
This project is unofficial and not affiliated with note.com. Internal APIs can change without notice. Keep cookies local and never commit them to GitHub, npm, logs, or issue reports.
Quick start
Local/desktop agents
Use browser login first:
npx note-mcp-community authAfter you log in to note.com in the opened browser, note-mcp-community saves the cookie locally and prints the saved file path:
{
"authenticated": true,
"saved": true,
"configPath": "/Users/you/.config/note-mcp-community/config.json",
"cookiePreview": "fp=b…5948",
"message": "note.com authentication configured from browser login. Cookie saved to /Users/you/.config/note-mcp-community/config.json."
}Then configure your MCP client without putting cookies in the config:
{
"mcpServers": {
"note": {
"command": "npx",
"args": ["-y", "note-mcp-community"]
}
}
}Some MCP clients only load newly added tools when a process or conversation starts. After authentication or config changes, restart the client or open a new thread/session if note_* tools do not appear immediately.
Quick setup check:
npx note-mcp-community authnpx note-mcp-community auth --statusAdd
npx -y note-mcp-communityto your MCP client configRestart the client or open a new thread/session
Run
note_auth_statusfrom the MCP client
Servers, containers, and CI
Do not rely on browser login in headless/container environments. Provide a cookie through env or a mounted config file instead:
NOTE_COOKIE='your note.com Cookie header' npx note-mcp-communityOr mount a config file and point NOTE_MCP_COMMUNITY_CONFIG at it:
docker run \
-v ~/.config/note-mcp-community/config.json:/run/secrets/note-mcp-community-config.json:ro \
-e NOTE_MCP_COMMUNITY_CONFIG=/run/secrets/note-mcp-community-config.json \
your-agent-imageRelated MCP server: note-post-mcp
Install / run
npx note-mcp-communityFor local development:
npm install
npm run build
node dist/index.jsMCP client configuration
Recommended desktop setup after npx note-mcp-community auth:
{
"mcpServers": {
"note": {
"command": "npx",
"args": ["-y", "note-mcp-community"]
}
}
}Advanced env-based setup:
{
"mcpServers": {
"note": {
"command": "npx",
"args": ["-y", "note-mcp-community"],
"env": {
"NOTE_COOKIE": "your note.com Cookie header"
}
}
}
}Codex CLI
For Codex, add note-mcp-community as a stdio MCP server with npx:
codex mcp add note -- npx -y note-mcp-community
codex mcp list
npx -y note-mcp-community auth --statusRecommended verification flow:
npx note-mcp-community authnpx note-mcp-community auth --statuscodex mcp add note -- npx -y note-mcp-communityRestart Codex or create a new thread
Run
note_auth_status
If the server is listed but note_* tools are not available in the current thread, restart Codex or start a new thread so the MCP tools are loaded from the new configuration.
Authentication
note-mcp-community supports two authentication paths.
1. Local/desktop: browser login
For local desktop agents, ask the agent to call:
note_auth_login
Or run it directly:
npx note-mcp-community authThis opens a browser, lets you log in to note.com normally, then stores note.com cookies in:
~/.config/note-mcp-community/config.jsonThe CLI and MCP tool response include the actual configPath used.
If the browser executable is not installed yet, install Playwright's Chromium once on the same machine/user account, then retry:
npx playwright install chromiumWhen using note-mcp-community only through npx and Playwright is not otherwise installed globally/in the project, this form is often more reliable:
npx -p playwright playwright install chromiumFor remote servers, containers, or CI, prefer the secret/env/config-file path below instead of browser login.
Useful CLI commands:
npx note-mcp-community auth --status
npx note-mcp-community auth --clear
npx note-mcp-community auth --headless
npx note-mcp-community auth --headed2. Advanced/server/CI: secret, env, or config file
For remote agents, servers, containers, CI, and secret managers, provide a Cookie header via:
NOTE_COOKIENOTE_SESSION_COOKIENOTE_MCP_COMMUNITY_CONFIGpointing to a config JSON fileMCP tool
note_set_cookie
Example config file:
{
"cookie": "your note.com Cookie header",
"updatedAt": "2026-06-21T00:00:00.000Z"
}Cookie lookup priority:
NOTE_COOKIENOTE_SESSION_COOKIEconfig file cookie
Default config path:
~/.config/note-mcp-community/config.jsonOverride config path:
NOTE_MCP_COMMUNITY_CONFIG=/path/to/config.json npx note-mcp-communityTools
Authentication/setup tools:
note_auth_status— inspect whether auth is configured and which config path is usednote_auth_login— open a browser login flow and save cookies locally; response includesconfigPathnote_set_cookie— save a Cookie header to the local config file, optionally verifying it firstnote_clear_cookie— delete the stored config-file cookienote_login_help— explain supported setup paths
note.com tools:
note_auth_check— verify configured cookie-based access to note.com internal APIsnote_list_my_notes— list notes for the authenticated account viaGET /v2/note_list/contents?limit={limit}&page={page}. Defaults to LLM-friendly summary output; passfields: "full"for the raw internal API payload.note_list_drafts— list drafts for the authenticated account viaGET /v2/note_list/contents?limit={limit}&page={page}&status=draft&without_magazines=true. Defaults to LLM-friendly summary output; passfields: "full"for the raw internal API payload.note_get_note— fetch a note by note key, e.g.n1a0b26f944f4. Defaults to compact fields (id,key,status,name,noteUrl,eyecatch,bodyPreview,bodyLength,isDraft,canUpdate); passresponseFormat: "full"for the raw payload,includeBody: truefor body content, orfields: [...]to pick specific fields.note_get_draft— fetch authenticated draft detail by note key viaGET /v3/notes/{noteKey}?draft=true&draft_reedit=falsenote_create_draft— create a draft by first callingPOST /v1/text_noteswith an empty-body editor payload to obtaindata.id/data.key, then saving content viadraft_save. By default returns an LLM-friendly summary withid/noteId,key/noteKey,editUrl,publicUrl, andnextActions; passresponseFormat: "full"for raw responses.note_update_draft— update a draft by numericdraftIdor bynoteKey(the tool resolves numeric id internally). By default returns a compact summary; passresponseFormat: "full"for raw responses.note_publish_draft— publicly publish a draft by note key; internally resolves the numeric id from draft detail, then callsPUT /v1/text_notes/{id}with note.com's current publish payload. By default returnsstatus,key,noteUrl,eyecatch, andpublishedAt; passresponseFormat: "full"for raw responses.note_upload_eyecatch— upload an eyecatch/cover image viaPOST /v1/image_upload/note_eyecatch. Provide numericnoteIdornoteKey;noteKeyis resolved internally. ProvideimagePathorimageUrl; width/height default to note.com's recommended1280x670. The tool checks the 10MB upload limit and can read back compact state withverify: truewhennoteKeyis supplied.note_prepare_draft— high-level agent tool: create draft, optionally upload eyecatch, and return compactstatus,noteId,noteKey,noteUrl, and eyecatch result.note_update_draft_bundle— high-level agent tool: update an existing draft bynoteKey, optionally upload eyecatch, and return compact ids/URLs.note_markdown_to_note_html— optional helper that converts simple Markdown headings, paragraphs, bullet lists, emphasis, and links to conservative note-compatible HTML.note_delete_draft— delete an unpublished draft by numeric draft/note id viaDELETE /v1/text_notes/draft_delete?id={draftId}note_delete_note— delete a published/deletable note by note key viaDELETE /v1/notes/n/{noteKey}
If authentication is missing, note tools return an auth_required error suggesting note_auth_login or note_set_cookie.
Body format for AI agents
note_create_draft and note_update_draft send body directly to note.com's internal editor API. note.com does not automatically render Markdown in this field.
If you want headings, lists, links, or emphasis to appear formatted, pass note-compatible HTML:
<h2>テスト内容</h2>
<ul>
<li>下書き作成</li>
<li>公開</li>
</ul>Do not pass Markdown if visual formatting is expected:
## テスト内容
- 下書き作成
- 公開AI agents should generate or convert content to note-compatible HTML before calling the tool. note-mcp-community intentionally stays a thin bridge to note.com's API; Markdown-to-HTML conversion belongs in the caller or a future optional helper, not in the core draft tools.
Recommended body HTML:
<h2>,<h3>for headings<p>for paragraphs<ul><li>/<ol><li>for lists<strong>,<em>for emphasis<a href="...">for links
Avoid:
Full HTML documents (
<html>,<head>,<body>)Inline scripts/styles
Unsupported custom attributes
Troubleshooting
id is missing when saving a draft
POST /v1/text_notes/draft_save is an update/save endpoint and requires a numeric draft id in the query string. New draft creation should use the two-step editor flow:
POST /v1/text_notesto create an empty draft shell and readdata.id/data.key.POST /v1/text_notes/draft_save?id={draftId}&is_temp_saved=trueto save the title and body.
If an agent reports a fallback from draft_save without an id, first check that the running MCP server is using the current package/build and not a cached or stale npx install. For existing drafts, call note_update_draft with either draftId or noteKey; do not call draft_save as a create endpoint.
API basis
The initial endpoints are based on public, unofficial note API references, including:
Known endpoint basis:
Base URL:
https://note.com/apiNote detail:
GET /v3/notes/{noteKey}Draft detail:
GET /v3/notes/{noteKey}?draft=true&draft_reedit=false&ts={timestamp}Authenticated note list:
GET /v2/note_list/contents?limit=20&page=1Authenticated draft list:
GET /v2/note_list/contents?limit=20&page=1&status=draft&without_magazines=trueDraft shell create/id lookup:
POST /v1/text_noteswith{ "body": "", "body_length": 0, "name": "...", "index": false, "is_lead_form": false }; response includes numericdata.idand notedata.key. Mutating editor requests should includeOrigin: https://editor.note.com,Referer: https://editor.note.com/,X-Requested-With: XMLHttpRequest, andContent-Type: application/json.Draft save/update:
POST /v1/text_notes/draft_save?id={draftId}&is_temp_saved=truewithbody,body_length,name,index, andis_lead_formDraft publish:
PUT /v1/text_notes/{draftId}withfree_body,pay_body,body_length, andstatus: "published"Eyecatch upload:
POST /v1/image_upload/note_eyecatchas multipart/form-data withnote_id, binaryfile,width, andheight. The default/recommended image dimensions are1280x670.Draft delete:
DELETE /v1/text_notes/draft_delete?id={draftId}Published/deletable note delete:
DELETE /v1/notes/n/{noteKey}Auth smoke test:
GET /v3/notice_counts
note_list_my_notes and note_list_drafts intentionally expose the authenticated note list endpoints above. The response shape is determined by note.com's internal API and typically returns items under data.notes; summary mode is the default to reduce agent token usage, and fields: "full" is available when debugging endpoint behavior. Summary mode does not invent public URLs for drafts unless note.com returns an explicit URL/path.
Release
Releases are handled by GitHub Actions + semantic-release.
Push or merge Conventional Commits into
main.GitHub Actions runs CI.
The release workflow creates GitHub tags/releases and publishes to npm.
npm publishing uses npm Trusted Publishing with GitHub Actions OIDC. Configure new-village/note-mcp-community and .github/workflows/release.yml as a trusted publisher on npmjs.com. No NPM_TOKEN repository secret is required.
Development
npm run typecheck
npm test
npm run build
npm run lintLicense
MIT
Available Tools
19 toolsnote_auth_checkCheck note.com authenticationA
Checks whether configured note.com cookies can access note.com internal APIs.
Inputs: no named parameters.
note_auth_loginLog in to note.com with a browserA
Opens a local Playwright browser login flow and saves note.com cookies to the note-mcp-community config file. Intended for desktop/local agents; remote/headless servers should use env or note_set_cookie.
Inputs: headless.
note_auth_statusGet note.com authentication statusB
Checks whether note-mcp-community has a note.com cookie from env or config file.
Inputs: no named parameters.
note_clear_cookieClear stored note.com cookieA
Deletes the note-mcp-community config file cookie. Environment cookies are not modified.
Inputs: no named parameters.
note_create_draftCreate note.com draftA
Creates a note.com draft with title/body/hashtags using an unofficial internal API. The body should be HTML compatible with note.com editor content. Do not pass Markdown if visual formatting is expected; convert Markdown to HTML before calling this tool. By default returns an LLM-friendly summary with id/noteId/key/noteKey/editUrl/publicUrl/nextActions; pass responseFormat: "full" for the raw API payload.
Inputs: body (required), title (required), hashtags, responseFormat.
note_delete_draftDelete note.com draftA
Deletes a note.com draft by numeric draft/note id via DELETE /v1/text_notes/draft_delete?id={draftId}. note keys like n... are not accepted by this endpoint; use the id field from note_create_draft, note_list_drafts full output, or note_get_draft.
Inputs: draftId (required).
note_delete_noteDelete note.com noteA
Deletes a published or deleted-capable note by note key via DELETE /v1/notes/n/{noteKey}. This is destructive; use only when the caller explicitly wants deletion.
Inputs: noteKey (required).
note_get_draftGet note.com draft detailA
Fetches an authenticated draft detail by note key via GET /v3/notes/{noteKey}?draft=true&draft_reedit=false. Use note_list_drafts to find the draft key first.
Inputs: noteKey (required).
note_get_noteGet note.com noteA
Fetches a note by note key, e.g. n1a0b26f944f4. Defaults to compact summary fields; pass responseFormat: "full" or includeBody: true when the full body/internal payload is needed.
Inputs: noteKey (required), fields, includeBody, responseFormat.
note_list_draftsList note.com draftsA
Lists drafts for the authenticated note.com account via GET /v2/note_list/contents?limit=20&page=1&status=draft&without_magazines=true. Defaults to lightweight summary output; pass fields: "full" for the raw internal API payload.
Inputs: page, limit, fields, includeBody.
note_list_my_notesList my note.com notesA
Lists notes for the authenticated note.com account via GET /v2/note_list/contents?limit=20&page=1. Defaults to lightweight summary output; pass fields: "full" for the raw internal API payload.
Inputs: page, limit, fields, includeBody.
note_login_helpGet note-mcp-community login helpA
Explains the supported note-mcp-community authentication setup paths.
Inputs: no named parameters.
note_markdown_to_note_htmlConvert Markdown to simple note.com HTMLA
Converts common Markdown headings, paragraphs, lists, emphasis, and links to conservative note-compatible HTML. This is a helper, not a full Markdown engine.
Inputs: markdown (required).
note_prepare_draftPrepare note.com draft bundleA
Creates a draft, optionally uploads an eyecatch, and returns compact ids/URLs for AI agents.
Inputs: title (required), bodyHtml (required), verify, hashtags, +3 more.
note_publish_draftPublish note.com draftA
Publicly publishes a draft by note key. Internally fetches draft detail via /v3/notes/{noteKey}?draft=true, then publishes with PUT /v1/text_notes/{id}. The saved draft body is sent to note.com as editor HTML; Markdown is not converted during publish. By default returns an LLM-friendly summary with status/key/noteUrl/eyecatch/publishedAt; pass responseFormat: "full" for the raw API payload.
Inputs: noteKey (required), responseFormat.
note_set_cookieSet note.com cookieB
Stores a note.com Cookie header in the local note-mcp-community config file. By default, verifies the cookie before saving.
Inputs: cookie (required), verify.
note_update_draftUpdate note.com draftA
Updates a note.com draft by numeric draft/note id via POST /v1/text_notes/draft_save?id={draftId}&is_temp_saved=true. The body should be HTML compatible with note.com editor content. Do not pass Markdown if visual formatting is expected; convert Markdown to HTML before calling this tool. By default returns a compact summary; pass responseFormat: "full" for the raw API payload.
Inputs: body (required), title (required), draftId, noteKey, +2 more.
note_update_draft_bundleUpdate note.com draft bundleB
Updates a draft by noteKey, optionally uploads an eyecatch, and returns compact ids/URLs for AI agents.
Inputs: title (required), noteKey (required), bodyHtml (required), verify, +4 more.
note_upload_eyecatchUpload note.com eyecatch imageA
Uploads an eyecatch/cover image for a note via POST /v1/image_upload/note_eyecatch. Provide numeric noteId or noteKey; noteKey is resolved internally through draft detail. Provide imagePath or imageUrl. note.com recommends 1280x670px; width/height default to 1280/670. Set verify: true with noteKey to read back compact note state after upload.
Inputs: fit, width, height, noteId, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Several tool pairs overlap: note_prepare_draft vs note_create_draft, note_update_draft_bundle vs note_update_draft, and note_auth_status vs note_auth_check. While descriptions clarify differences, the naming and function similarity create ambiguity for agents selecting tools.
All tools share the note_ prefix and most follow a verb_noun pattern (e.g., publish_draft, delete_note). However, auth-related tools use noun-like names such as note_auth_status, note_auth_check, and note_login_help, breaking the otherwise consistent pattern.
With 19 tools, this is on the heavier side. While the domain (note.com management) justifies many operations, the presence of both simple and bundled versions (create_draft/prepare_draft, update_draft/update_draft_bundle) adds redundancy and makes the count feel slightly inflated.
The toolset covers the full draft lifecycle (create, read, update, delete, publish), published note listing/retrieval/deletion, eyecatch upload, and authentication flows. Minor gaps include no magazine management or published-note editing, but core workflows are well covered.
Maintenance
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that used to create notes
Private journal MCP server to search, analyze, and create Dabble Me entries securely via OAuth.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Related MCP Servers
- AlicenseAqualityCmaintenanceUnofficial Notion MCP server built on Notion's private API (token_v2 cookie). Gives LLM agents full read/write access to the entire workspace — no integration token and no per-page sharing.1118 npm4MIT
- AlicenseAqualityCmaintenanceMCP server for automating article posting to note.com from Markdown files using Playwright.225 npm2MIT
- AlicenseAqualityDmaintenanceThe Universal MCP Server exposes tools for automated posting and draft saving to note.com. It reads Markdown files containing titles, body text, and tags, then publishes them to your note.com account using Playwright automation.225 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server for a JWT-authenticated note-taking API, exposing CRUD tools for notes.-