Presscart

com.presscart由 presscart.com 发布官方发布者v1.3.1更新于 Nov 1, 2026

Browse 1,700+ publications and manage Presscart media placement campaigns, orders, and articles.

已验证Streamable HTTP可网页运行商业与电商媒体与设计

概览

AI 生成的概览

Presscart 官方 MCP 服务器,可浏览 1700 多家出版物并管理付费社论投放活动、订单与文章。

可以做什么
  • 浏览媒体目录,查询媒体、渠道、产品刊登、国家、州与城市
  • 管理产品与媒体记录,包括域名验证和授权提交
  • 创建并跟踪订单与活动,将订单项目加入活动
  • 上传、替换和提交文章,申请代写文章,查看文章与发布方协议状态
  • 查询当前用户、团队与档案,并上传文件
适用场景
当你通过 Presscart 购买或出售公开标注的付费社论投放,并希望助手代为检索出版物、起草和跟踪活动与订单,或跟进文章提交状态时使用。
运行要求
远程 Streamable HTTP 端点,无需本地安装。需要 Presscart 账户。认证方式为 OAuth(浏览器授权流程),或旧版模式下通过 X-Presscart-API-Token 请求头提供 Presscart API 令牌。创建订单或活动以及读取档案订单的工具需要显式 profile_id,可先调用 list_teams 和 list_profiles 获取。
安装前请注意
完整工具集可创建和更新媒体、产品、渠道、订单与活动,删除媒体渠道,上传文件与文章并提交文章,因此会改动真实的平台记录,且可能涉及付费投放。旧版直连令牌模式会在请求头中传递 Presscart API 令牌,建议优先使用 OAuth。目录路由仅暴露十个只读工具并限制字段,但暴露不等于授权,Presscart API 仍会对每个请求做授权校验。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Presscart,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.presscart%2Fpresscart/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "presscart": {
      "type": "http",
      "url": "https://mcp.presscart.com/mcp"
    }
  }
}

README

Presscart MCP

The official Model Context Protocol server for Presscart, a marketplace for disclosed paid editorial placements across 1,700+ publications. It lets AI assistants and agents browse the outlet catalog, manage campaigns and orders, and track article status through the Presscart API.

Hosted endpoint: https://mcp.presscart.com/mcp — see Client Setup for connecting from Claude, Cursor, VS Code, ChatGPT, and other MCP clients. A Presscart account is required.

Supports:

  • hosted Streamable HTTP mode

Hosted HTTP mode supports two auth models:

  • MCP OAuth mode: Supabase/Auth issues the OAuth token, and clients connect to /mcp with Authorization: Bearer <oauth_access_token>.
  • Legacy direct-token mode: the caller provides a Presscart API token via X-Presscart-API-Token, and the server uses that token as the upstream Presscart credential.

Environment

Required:

bash
export PRESSCART_API_URL="http://api.presscart.com/"

Optional app link settings:

bash
export PRESSCART_APP_URL="https://app.presscart.com"

Optional hosted mode settings:

bash
export MCP_HOST="0.0.0.0"export MCP_PORT="8787"export MCP_SERVER_URL="https://mcp.presscart.com/mcp"export MCP_SESSION_IDLE_TTL_MS="43200000"

Optional host/origin overrides for reverse proxies or multiple domains:

bash
export MCP_ALLOWED_HOSTS="mcp.presscart.com"export MCP_ALLOWED_ORIGINS="https://mcp.presscart.com,https://claude.ai,https://claude.com"

When MCP_ALLOWED_ORIGINS is not set, hosted mode allows the configured MCP server origin plus Claude's remote connector origins.

Optional OAuth settings:

bash
export MCP_OAUTH_ENABLED="true"export MCP_OAUTH_ISSUER_URL="https://<project-ref>.supabase.co/auth/v1"export MCP_OAUTH_AUDIENCE="https://mcp.presscart.com/mcp"export MCP_OAUTH_TRANSLATOR_ENABLED="false"export MCP_OAUTH_LEGACY_AUDIENCE="https://mcp.presscart.com"export MCP_OAUTH_UPSTREAM_TIMEOUT_MS="10000"

Optional directory integration settings:

bash
export MCP_DIRECTORY_PROFILES="openai,claude-directory"

Optional OpenAI plugin domain verification:

bash
export OPENAI_APPS_CHALLENGE_TOKEN="<challenge_token_from_openai_portal>"

Notes:

  • PRESSCART_API_URL must point at the app API base that exposes /teams/* routes, not a public-api-only base.
  • PRESSCART_APP_URL controls direct application links returned by tools such as list_publisher_articles. Set it per environment so staging MCP links open staging.
  • Tools that create orders/campaigns or read profile orders need an explicit profile_id. If the profile is unknown, call list_teams, then list_profiles.
  • In MCP OAuth mode, the app's Supabase OAuth Server handles authorization and consent. This MCP runtime validates the issued access token against Supabase JWKS and delegated permissions.
  • MCP_OAUTH_TRANSLATOR_ENABLED defaults to false. When enabled, the MCP origin publishes a standards-based OAuth facade while Supabase remains responsible for clients, codes, tokens, rotation, signing, and consent.
  • MCP_OAUTH_ISSUER_URL must use HTTPS. Loopback HTTP issuers are accepted only for local development.
  • MCP_OAUTH_LEGACY_AUDIENCE is an optional verifier-only migration value and must equal the configured MCP server origin (for example, https://mcp.presscart.com). It cannot duplicate the canonical /mcp resource or name another service, and it never changes the protected resource advertised to clients.
  • MCP clients store their own refresh tokens, initiate refresh automatically, and replace rotated refresh and access tokens. This server handles the refresh request statelessly and does not store refresh tokens.
  • The translator changes only MCP OAuth. It does not change ordinary Presscart browser or app sessions, and disabling MCP OAuth still preserves legacy direct-token mode.
  • In legacy direct-token mode, send X-Presscart-API-Token: <presscart_api_token> on initialize and later requests that need to confirm the active session credential.
  • OPENAI_APPS_CHALLENGE_TOKEN is the domain-verification token shown in OpenAI's plugin portal. When set, GET /.well-known/openai-apps-challenge returns it as text/plain with no authentication, on the MCP hostname's origin (the portal ignores the /mcp/openai path). Surrounding whitespace is trimmed; when unset or blank, the route returns 404. If MCP_ALLOWED_HOSTS is set, it must include the public MCP hostname.

Install

bash
cd presscart-mcpnpm install

Run

Development:

bash
npm run dev:http

Build and run:

bash
npm run buildnpm start

Build and run hosted HTTP:

bash
npm run buildnpm run start:http

Release

Releases are automated by semantic-release from Conventional Commits.

  • fix: creates a patch release.
  • feat: creates a minor release.
  • ! or BREAKING CHANGE: creates a major release.
  • docs:, test:, chore:, and other non-release commits do not publish a new version by default.

The Release workflow runs on pushes to main and staging. It runs check, test, and build, then semantic-release creates the release tag and publishes the GitHub release.

  • main publishes stable releases and commits generated release files: CHANGELOG.md, package.json, package-lock.json, and src/version.ts.
  • staging publishes release candidates with the rc prerelease channel, but does not commit generated release files. This keeps staging-to-main promotion merges from conflicting on prerelease metadata.

You can dry-run the release locally:

bash
npm run release:dry-runnpm run release:staging:dry-run

If the repository has no existing release tag yet, create the baseline tag before the first semantic-release run so the next release continues from the current version:

bash
git tag v0.2.0git push origin v0.2.0

Tools

  • get_user
  • list_teams
  • get_team
  • list_profiles
  • upload_files
  • list_outlets
  • get_outlet
  • create_outlet
  • update_outlet
  • get_outlet_statistics
  • start_outlet_domain_verification
  • verify_outlet_domain
  • get_outlet_authorization
  • submit_outlet_authorization
  • list_outlet_channels
  • create_outlet_channel
  • update_outlet_channel
  • delete_outlet_channel
  • list_product_types
  • list_product_listings
  • list_countries
  • list_states
  • list_cities
  • get_product_listing
  • list_products
  • get_product
  • create_product
  • update_product
  • set_product_active
  • create_order
  • get_order
  • list_order_items
  • list_profile_orders
  • create_campaign
  • list_campaigns
  • get_campaign
  • update_campaign
  • list_campaign_articles
  • list_publisher_articles
  • add_order_items_to_campaign
  • get_campaign_article_status
  • upload_campaign_questionnaire
  • upload_article
  • replace_article_file
  • submit_article
  • request_article_writing
  • get_publisher_agreement_status

Directory routes

/mcp keeps the full tool set. The OpenAI and Claude directory integrations connect to separate URLs whose tool exposure is fixed by server configuration:

ProfileMCP pathProtected-resource metadata
openai/mcp/openai/.well-known/oauth-protected-resource/mcp/openai
claude-directory/mcp/claude-directory/.well-known/oauth-protected-resource/mcp/claude-directory
  • A route is mounted only when its id is listed in MCP_DIRECTORY_PROFILES (comma-separated, default empty). An unknown or duplicate id stops startup. Unlisted profile paths return 404.
  • Both profiles expose the same ten read-only tools: get_user, list_teams, get_team, list_profiles, list_profile_orders, get_order, list_campaigns, get_campaign, list_campaign_articles, get_campaign_article_status. Every other tool is not registered on these routes, so calling it fails before any Presscart API request.
  • Directory tools return explicit field allowlists (no prices, payment or checkout fields, emails, writer names, internal document links, or add-ons), advertise strict output schemas, and cap limit at 25.
  • A session belongs to the route it was initialized on. Sending its Mcp-Session-Id to any other MCP route returns 404 Session not found.
  • Exposure is not authorization: the Presscart API still authorizes every request.
  • With MCP_OAUTH_ENABLED=true, each directory route has its own protected-resource metadata and WWW-Authenticate challenge, the OAuth facade accepts its resource on /oauth/authorize and /oauth/token, and its verifier accepts only that route's resource as the token audience. A token whose audience is the canonical /mcp resource (or the legacy origin) is refused there, and a directory token is refused by /mcp.
  • With MCP_OAUTH_ENABLED=false, directory routes use X-Presscart-API-Token like /mcp. Use this only for local and staging testing.
  • Rollback: remove the profile from MCP_DIRECTORY_PROFILES and redeploy. /mcp is unaffected.

Before submitting to a directory:

  1. Verify in staging that Supabase OAuth accepts the forwarded directory resource value.
  2. The Presscart API gives tokens from a directory sign-in that route's audience (presscart-app #910). Confirm this on staging before submission.

Hosted deployment shape

MCP OAuth mode

Enable OAuth:

bash
PRESSCART_API_URL=http://api.presscart.com/MCP_HOST=0.0.0.0MCP_PORT=8787MCP_SERVER_URL=https://mcp.presscart.com/mcpMCP_SESSION_IDLE_TTL_MS=43200000MCP_OAUTH_ENABLED=trueMCP_OAUTH_ISSUER_URL=https://<project-ref>.supabase.co/auth/v1MCP_OAUTH_AUDIENCE=https://mcp.presscart.com/mcpMCP_OAUTH_TRANSLATOR_ENABLED=falseMCP_OAUTH_LEGACY_AUDIENCE=https://mcp.presscart.comMCP_OAUTH_UPSTREAM_TIMEOUT_MS=10000

The canonical resource and JWT audience must match MCP_SERVER_URL, allowing only a trailing-slash difference. Both public OAuth URLs and the upstream issuer must use HTTPS except for loopback-only local development. MCP_OAUTH_LEGACY_AUDIENCE is needed only during the migration window, must match the MCP server origin exactly, and should otherwise be unset.

With the translator disabled, the server exposes direct-Supabase protected-resource metadata (advertising only the profile scope, because Presscart's access token hook refuses any code exchange that asks for openid) at:

  • /.well-known/oauth-protected-resource
  • /.well-known/oauth-protected-resource/mcp

With the translator enabled, those routes advertise https://mcp.presscart.com as the authorization server, and the server also exposes:

  • /.well-known/oauth-authorization-server
  • /oauth/authorize
  • /oauth/register
  • /oauth/token

The facade accepts the standard authorization-code and refresh-token flows and proxies only to the configured Supabase issuer. It does not derive upstream targets from request hosts, forwarded headers, query parameters, or client-supplied URLs.

The facade does not expose or advertise an RFC token-revocation endpoint. Revocation stays in the existing Presscart app/admin flow: revoking the Presscart OAuth grant makes the next refresh fail. An access token that was already issued is not actively revoked by this MCP verifier and can remain cryptographically valid until its normal expiry. After it expires, the client cannot obtain a replacement, access ends, and the user must reauthorize.

Hosted MCP clients should connect to https://mcp.presscart.com/mcp and use normal MCP OAuth discovery. After the browser flow completes, they send Authorization: Bearer <oauth_access_token> to /mcp. Clients own refresh-token storage, automatically initiate refresh, and persist each rotated refresh token returned by Supabase through the facade.

ChatGPT, Claude, Cursor, and Codex consume the same MCP and OAuth standards. The server has no vendor-specific authentication branches. Labels and prompts such as Connect or Authenticate are controlled by each client platform, not by this server.

OAuth rollout and rollback

Deploy the audience migration and translator in this order:

  1. Deploy this MCP server with MCP_OAUTH_TRANSLATOR_ENABLED=false, canonical MCP_OAUTH_AUDIENCE=https://mcp.presscart.com/mcp, and temporary MCP_OAUTH_LEGACY_AUDIENCE=https://mcp.presscart.com dual-audience verification.
  2. Deploy the Presscart app access-token hook so initial and refreshed MCP tokens use the canonical /mcp audience.
  3. Wait at least one full access-token lifetime, then confirm legacy-audience use has drained.
  4. Enable MCP_OAUTH_TRANSLATOR_ENABLED=true in non-production and run discovery, authorization-code, and refresh smoke tests. Revoke a Presscart OAuth grant through the existing app/admin flow and verify that the next refresh fails. Do not expect an already-issued access token to fail immediately: let it reach its normal expiry, then verify that the client cannot replace it and requires reauthorization before enabling the translator in production.
  5. Create and publish a replacement ChatGPT workspace app. Keep the old app available during the reconnection window.
  6. Verify ChatGPT, Claude, Cursor, and Codex before and after access-token expiry, then remove the old app and MCP_OAUTH_LEGACY_AUDIENCE only after telemetry confirms they are unused.

To roll back the facade, set MCP_OAUTH_TRANSLATOR_ENABLED=false; direct Supabase metadata returns without changing legacy direct-token MCP or ordinary Presscart sessions. Keep canonical audience issuance and temporary legacy verification in place until the rollback window is complete. Clients registered against the facade may need to reconnect through the direct Supabase flow.

Legacy direct-token mode

If MCP_OAUTH_ENABLED is unset or false, hosted clients can still connect to /mcp directly and provide the user's Presscart API token via X-Presscart-API-Token.

For Railway:

bash
PRESSCART_API_URL=http://api.presscart.com/MCP_HOST=0.0.0.0MCP_PORT=8787MCP_SERVER_URL=https://mcp.presscart.com/mcp

Start command:

bash
npm run start:http

Example initialize request in legacy direct-token mode:

bash
curl -X POST https://mcp.presscart.com/mcp \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -H 'X-Presscart-API-Token: pc_...' \  --data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example","version":"1.0.0"}}}'

Client Setup

Claude and Claude Desktop

Remote MCP servers for Claude and Claude Desktop are added in the product UI, not via claude_desktop_config.json.

  1. Open Settings > Connectors.
  2. Add a custom remote MCP connector.
  3. Enter your MCP server URL:
text
https://mcp.presscart.com/mcp
  1. Start the OAuth flow when prompted.
  2. Approve or deny the delegated access request in the Presscart consent UI.

Claude Code

Add the remote server from the CLI:

bash
claude mcp add --transport http presscart https://mcp.presscart.com/mcp

Then run Claude Code and use /mcp if it prompts you to complete OAuth authentication.

Codex

Add the remote server from the CLI:

bash
codex mcp add presscart --url https://mcp.presscart.com/mcpcodex mcp login presscart

Codex supports remote Streamable HTTP MCP servers with OAuth. The configured MCP URL and the WWW-Authenticate resource_metadata URL should both use the MCP public hostname. With MCP_OAUTH_TRANSLATOR_ENABLED=true, protected-resource metadata advertises the MCP-origin facade as its authorization server; with the translator disabled, it advertises the direct Supabase/Auth issuer.

Quick verification:

bash
curl -i https://mcp.presscart.com/mcpcurl -s https://mcp.presscart.com/.well-known/oauth-protected-resource/mcp | jq

Cursor

Add the server in .cursor/mcp.json for a project, or ~/.cursor/mcp.json for your user profile:

json
{  "mcpServers": {    "presscart": {      "url": "https://mcp.presscart.com/mcp"    }  }}

Cursor supports OAuth for remote HTTP MCP servers. Once added, use Cursor’s MCP UI to connect/authenticate.

VS Code / GitHub Copilot Chat

Add the server in .vscode/mcp.json for a workspace, or in your user mcp.json:

json
{  "servers": {    "presscart": {      "type": "http",      "url": "https://mcp.presscart.com/mcp"    }  }}

Then open Copilot Chat in Agent mode and complete the OAuth flow when VS Code prompts you.

GitHub Copilot Coding Agent on GitHub.com

GitHub’s coding agent currently does not support remote MCP servers that use OAuth. If you need GitHub-hosted Copilot integration today, use the legacy direct-token mode instead of MCP_OAUTH_ENABLED=true, or use VS Code/Copilot Chat locally.

ChatGPT

ChatGPT uses remote MCP servers through Developer Mode and Apps settings rather than a local config file.

  1. Enable Developer Mode in ChatGPT.
  2. Go to Settings > Apps and create a new app for your remote MCP server.
  3. Enter:
text
https://mcp.presscart.com/mcp
  1. Choose OAuth as the authentication mechanism.
  2. Complete the OAuth flow and approve the delegated access request in Presscart.

Notes:

  • ChatGPT currently supports remote servers only, not local MCP servers.
  • Business and Enterprise/Edu have the fullest MCP app support; availability differs by plan.

OpenAI plugin

plugins/openai/ holds the skills-only Presscart Placement Advisor 0.1.1 package for the OpenAI plugin directory. It has no MCP connection yet. Test and package it with cd plugins/openai && npm test && npm run package (output goes to the gitignored dist/). To rebuild, run rm -rf dist && npm run package; the packager intentionally refuses to overwrite an existing archive. Release blockers and portal submission notes are in plugins/openai/SUBMISSION.md.

来源:README.md,提交 6ea61f9

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v1.3.1最新Oct 25, 2026
  2. v1.1.1Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分