
Notra
io.github.usenotra由 GitHub 帳號 usenotra 發布v1.1.0更新於 Oct 24, 2026
Access the Notra API for posts, brand identities, integrations, schedules, and GEO.
概覽
Notra 託管 MCP 伺服器讓助理透過 OAuth 或 API 金鑰管理 Notra 的文章、品牌識別、整合、排程與 GEO 能見度資料。
- 可以做什麼
- 讀取與管理文章:列出、查看、建立、更新、刪除,依 GitHub 活動生成,並排程或取消發佈到 Notra、GitHub、X 或 LinkedIn
- 管理品牌識別及其規範色,支援從網站網址以 AI 生成
- 管理整合、內容生成排程、事件觸發器、Webhook 與可重複使用的寫作技能
- 依專案進行 GEO 工作:設定、追蹤提示詞與序列、競爭對手、能見度掃描、情緒、引用來源與競品聲量佔比
- 規劃並核准 GEO 內容簡報,檢視代理就緒度與 AI 爬蟲及推薦流量
- 查看目前工作區並列出帳號可存取的工作區
- 適用情境
- 適合已在 Notra 進行內容與 GEO 工作、希望助理在對話中起草與排程文章,或直接查詢能見度、情緒與 AI 流量結果的使用者。可依需求只載入內容或只載入 GEO 工具集以節省上下文。
- 執行需求
- 遠端 streamable HTTP 端點 mcp.usenotra.com,使用 OAuth 登入(WorkOS AuthKit),或在 Notra 後台產生的靜態 Bearer API 金鑰。需要 Notra 帳號與工作區;多工作區帳號需透過工作區限定網址、NOTRA_ORGANIZATION_ID 或 X-Notra-Organization-Id 標頭選定一個。GEO 工具需要組織層級金鑰與 GEO 方案。另有本機 npm 套件,需要 Node.js 20 或更新版本。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Notra,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.usenotra%2Fnotra/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"notra": {
"type": "http",
"url": "https://mcp.usenotra.com/mcp"
}
}
}README
Notra MCP Server
An MCP (Model Context Protocol) server for the Notra API. It manages posts, brand identities, integrations, schedules, GEO visibility scans, competitors, content briefs, and AI traffic analytics.
Setup
You can generate an API key from your Notra workspace dashboard under Developer > API Keys.
Node.js 20 or newer is required.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Claude Code
Then set the NOTRA_API_KEY environment variable in your shell before launching Claude Code.
Codex
Run codex mcp list to verify the connection. The Codex CLI, desktop app, and IDE extension share this MCP configuration.
OpenCode
Set NOTRA_API_KEY in your shell, then add the server to your project-level opencode.json or the global ~/.config/opencode/opencode.json:
Amp
Run amp config edit and add the following to your settings, or place it in .amp/settings.json for a workspace-specific configuration:
Set NOTRA_API_KEY in the environment before launching Amp. Workspace MCP servers may require approval with amp mcp approve notra.
Account API keys
An account API key belongs to you rather than one workspace, so it works in every workspace you're a member of. If you belong to more than one, choose the workspace this server acts on with NOTRA_ORGANIZATION_ID:
Without it, tools fail with a message asking you to pick a workspace. list_workspaces works without a selection and shows the ids. Organization API keys ignore NOTRA_ORGANIZATION_ID.
Remote MCP (OAuth)
The hosted streamable HTTP server at https://mcp.usenotra.com/mcp uses OAuth as the primary authentication method. It supports the current 2026-07-28 MCP protocol as well as legacy 2025 clients. MCP clients should discover protected resource metadata at:
That metadata points to the Notra authorization server (WorkOS AuthKit) at https://oauth.usenotra.com, which supports dynamic client registration (RFC 7591). The MCP server also mirrors the authorization server metadata at https://mcp.usenotra.com/.well-known/oauth-authorization-server.
Workspace-scoped URL
Add a workspace id or slug to the URL to pin a connection to one workspace: https://mcp.usenotra.com/mcp/<workspace>. This is the way to pick a workspace in clients that only accept a URL and can't send custom headers.
-
Claude: Settings > Connectors > Add custom connector, URL
https://mcp.usenotra.com/mcp/acme -
Claude Code:
claude mcp add --transport http notra https://mcp.usenotra.com/mcp/acme -
Cursor (
~/.cursor/mcp.json):
On a scoped URL:
- API keys act in that workspace. The URL wins over an
X-Notra-Organization-Idheader. An organization key only works on its own workspace's URL; any other workspace is rejected with HTTP 403 by the Notra API. - OAuth works the same as on
/mcp, but the workspace you authorize must be the one in the URL. Otherwise requests are rejected with HTTP 403 instead of silently acting on another workspace. The OAuth challenge announces the same resource as/mcp, so clients get a normal Notra token; the workspace in the URL is enforced through the workspace you authorize. list_workspacesis hidden, since the connection can't switch workspaces.whoamistill shows the current one.- Legacy 2025 sessions belong to the URL they were opened on; using the session id on another URL returns HTTP 401.
API key alternative
Remote connections also accept a Notra API key as a static Authorization: Bearer … header. Generate one from your Notra workspace dashboard under Developer > API Keys. OAuth-capable clients should prefer the OAuth flow instead of manual key configuration.
With an account API key that can reach several workspaces, use a workspace-scoped URL or add an X-Notra-Organization-Id: <workspace-id-or-slug> header (X-Organization-Id also works). The server forwards it to the Notra API on every call. A legacy 2025 session stays bound to the workspace it was initialized with; a request on that session that names a different workspace is rejected with HTTP 401, so open a new session to switch. OAuth connections ignore the header because each token is bound to the workspace chosen at consent.
For self-hosted HTTP deployments, OAuth validation can be configured with:
The issuer is https://{WORKOS_AUTHKIT_DOMAIN} and must match the iss claim in tokens minted by AuthKit; a mismatch causes every bearer token to be rejected. Token signatures are verified against https://{WORKOS_AUTHKIT_DOMAIN}/oauth2/jwks.
When NODE_ENV=development, the default AuthKit domain is essential-berry-67-development-2.authkit.app; production defaults to oauth.usenotra.com. auth.usenotra.com is the WorkOS Authentication API domain and serves none of the OAuth endpoints, so it does not work here.
Legacy 2025 sessions expire after 30 minutes of inactivity. Each OAuth user or API key can hold NOTRA_MCP_MAX_SESSIONS_PER_PRINCIPAL sessions (default 50); beyond that, its own least recently used session closes. When the server holds NOTRA_MCP_MAX_SESSIONS sessions (default 1000), new sessions are rejected with HTTP 503 and Retry-After instead of closing other users' sessions.
Hosted usage statistics
The HTTP server tracks usage exclusively in PostHog, sending one mcp_tool_called event per dispatched tool call, including calls that fail tool input/output validation or return isError: true with HTTP 200. Initialization, discovery, health checks, and requests rejected before tool dispatch are not counted. Local stdio servers do not emit usage events or contact PostHog.
Set the PostHog project token on the hosted deployment to enable tracking:
POSTHOG_HOST defaults to https://us.i.posthog.com; set it to https://eu.i.posthog.com for an EU project. Without a project token, tracking is disabled. There is no alternative collector or JSON usage-log fallback.
Events include tool_name, outcome (success, error, or cancelled), duration_ms, server_version, protocol_version, client_name, client_version, and auth_kind. OAuth events also include the verified WorkOS organization_id and user_id; API-key calls have no user/workspace attribution and share the PostHog distinct ID mcp:api-key, which must not be counted as a unique user. Client identity is self-reported, bucketed into known client names, and unknown names are recorded as other; versions are only retained in numeric major.minor.patch form. Unknown tool names are recorded as unknown.
Arguments, results, prompts, error messages, headers, IP addresses, tokens, API keys, and token hashes are never included in usage events. Delivery is asynchronous and best-effort, with a five-second timeout and at most 64 pending PostHog requests per process. Failed or dropped deliveries produce a credential-free warning without failing tool calls. Events are not sampled, but PostHog delivery is not an audit or billing ledger.
In PostHog, filter on mcp_tool_called and break down by tool_name, client_name, or outcome. Count distinct organization_id/user_id only for OAuth calls, and use duration_ms for latency percentiles.
Toolsets
All 96 tools are exposed by default, which costs roughly 20k tokens of agent context. To load only what you need, pick toolsets with NOTRA_MCP_TOOLSETS (stdio and HTTP) or the toolsets query parameter on the remote endpoint:
Workspace tools and submit_feedback are always available.
Tools
Workspace
Each MCP connection operates in the workspace bound to its bearer token, or for account API keys the workspace selected with NOTRA_ORGANIZATION_ID or the X-Notra-Organization-Id header. To act in another workspace, authorize or configure a separate connection for that workspace; list_workspaces discovers access but does not switch workspaces.
Posts
Post publishing schedules are separate from the content-generation schedules below. schedule_post requires an ISO 8601 scheduledAt timestamp, accepts an optional IANA timeZone (default UTC), and supports at most two external destinations. GitHub destinations use repositoryId from list_integrations and an optional merge flag (default true); social destinations use a connected X or LinkedIn accountId. Omitting destinations schedules publishing in Notra only.
Brand Identities
Integrations
Schedules
Event Triggers
Webhooks
Skills
Projects
GEO features are scoped to a project. Most GEO tools take a projectId; call list_projects first to find it. GEO tools require an organization-scoped API key and the GEO plan.
GEO settings
GEO prompts and sequences
GEO competitors
GEO scans and visibility
GEO content briefs
Agent readiness
AI traffic
Feedback
Review and data boundaries
All supported operations are listed upfront by tools/list. General-purpose agent execution and approval tools are not exposed because they can run dynamically discovered third-party operations. Chat history and agent sessions are available through the dashboard and API. Use the Notra dashboard for agent conversations, private-repository authentication, webhook signing secrets, and traffic tracking credentials.
Tool inputs are for task-specific business content. Do not send health records, biometric data, government identifiers, payment card information, credentials, or unrelated conversation history. Authenticate through OAuth or local configuration, never through tool arguments. Feedback accepts only the user-approved message, optional title, and feedback kind.
Development
Use Node 22.12+ (Node 22) or Node 24 and the pnpm version pinned in package.json:
Tool output schemas in src/schemas/api-responses.ts are generated from the Notra OpenAPI spec. Run pnpm run generate:output-schemas after the API changes; CI fails when the file is stale.
Vitest runs directly against the source with Zod compilation enabled. CI runs tests, typechecking, formatting checks, and the build on pull requests and pushes to main.
來源:README.md,提交 4db6257
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分