Skip to main content
Glama
prismism-dev

Prismism MCP Server

by prismism-dev

@prismism/mcp-server

Prismism 的 MCP 服务器 —— AI 代理的 DocSend。

上传任何文件 → 获取可追踪、可共享的链接。支持 PDF、HTML、Markdown、图像、视频。提供访问控制、分析、电子邮件捕获和 Webhook 功能。

快速入门

1. 获取 API 密钥

prismism.dev 创建免费账户,或在设置后使用 prismism_register 工具。

2. 连接您的客户端

托管端点(推荐)

无需安装 —— 直接连接到 Prismism API:

Claude Code

claude mcp add prismism --transport http https://prismism.dev/mcp \
  --header "x-api-key: pal_your_key_here"

Claude Desktop — 编辑 ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "prismism": {
      "url": "https://prismism.dev/mcp",
      "headers": {
        "x-api-key": "pal_your_key_here"
      }
    }
  }
}

Cursor — 编辑 .cursor/mcp.json

{
  "mcpServers": {
    "prismism": {
      "url": "https://prismism.dev/mcp",
      "headers": {
        "x-api-key": "pal_your_key_here"
      }
    }
  }
}

Windsurf — 编辑 ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "prismism": {
      "serverUrl": "https://prismism.dev/mcp",
      "headers": {
        "x-api-key": "pal_your_key_here"
      }
    }
  }
}

VS Code — 编辑 .vscode/mcp.json

{
  "servers": {
    "prismism": {
      "type": "http",
      "url": "https://prismism.dev/mcp",
      "headers": {
        "x-api-key": "pal_your_key_here"
      }
    }
  }
}

本地 (stdio) — 替代方案

如果您更喜欢本地传输,请通过 npx 运行:

{
  "mcpServers": {
    "prismism": {
      "command": "npx",
      "args": ["@prismism/mcp-server"],
      "env": {
        "PRISMISM_API_KEY": "pal_your_key_here"
      }
    }
  }
}

3. 验证是否正常工作

询问您的代理:"Use the prismism_health tool to check the connection"

工具

工具

需要授权

描述

prismism_health

检查连接和授权状态

prismism_register

创建账户 + 获取 API 密钥(一次性)

prismism_publish

发布文件、HTML 或 Markdown 并获取可共享链接

prismism_list

列出您的工件(支持分页)

prismism_get

获取工件详情 + 分析数据

prismism_update

更新标题、访问级别、门控、内容或过期时间

prismism_content

获取原始工件内容(文本或 base64)

prismism_delete

永久删除工件

prismism_account

获取账户信息、套餐和使用情况

发布

"Publish this report as a shareable link"

prismism_publish 工具支持三种模式:

  • 文件上传 — 设置 content(纯文本或 base64)+ filename。二进制文件请使用 encoding: "base64"

  • 内联 HTML — 设置 html 为原始 HTML 内容。无需文件。

  • 内联 Markdown — 设置 markdown 为原始 Markdown 内容。无需文件。

所有模式均支持可选的 accesspasswordrequireEmailallowedDomainsallowedEmailsexpiresAtallowNetwork 参数。

支持的文件格式:PDF、HTML、Markdown、图像 (PNG/JPG/GIF/SVG/WebP)、视频 (MP4)。

获取内容

"Get the content of my artifact abc123"

prismism_content 工具用于获取原始工件内容。文本格式返回 UTF-8 字符串,二进制格式返回 base64。所有者 API 密钥会自动绕过所有门控。对于非所有者的门控内容,请传入 passwordemail 参数。

访问控制

"Make this artifact private"
"Set allowlist access with alice@acme.com"

prismism_update 工具支持 access(公开/私有/允许列表)、allowedEmailspasswordrequireEmailallowedDomains。更改为私有/允许列表会自动清除密码和电子邮件门控。

无密钥注册

如果您还没有 API 密钥,prismism_register 工具可以创建一个账户:

"Register me on Prismism with my email"

它会返回一次 API 密钥 —— 代理将帮助您将其保存到配置中。

环境变量

变量

必需

默认值

描述

PRISMISM_API_KEY

大多数工具需要

您的 Prismism API 密钥

PRISMISM_BASE_URL

https://prismism.dev

API 基础 URL

响应格式

所有工具都返回一致的 JSON 信封:

{
  "ok": true,
  "data": { ... },
  "_hints": ["Actionable guidance for the agent"]
}

错误时:

{
  "ok": false,
  "error": { "code": "STORAGE_LIMIT", "message": "..." },
  "_hints": ["Upgrade at https://prismism.dev/settings/billing"]
}

要求

  • 托管端点:无要求 —— 适用于任何 MCP 客户端

  • 本地 (stdio):Node.js 18+,npm 或 npx

许可证

MIT

链接

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - A tier

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prismism-dev/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server