MCP.so
登录

Perspective MCP Server

@mtane0412

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

mtane0412

关于 Perspective MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with Perspective API

#perspective-mcp-server#mcp#perspective-api

Perspective MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "perspective": {
      "command": "npx",
      "args": [
        "-y",
        "@mtane0412/perspective-mcp-server"
      ],
      "env": {
        "PERSPECTIVE_API_KEY": "your-api-key"
      }
    }
  }
}

Perspective MCP Server 工具

2

テキストを分析し、有害性などのスコアを返します

テキストに対する新しいスコアを提案します

概览

What is Perspective MCP Server?

A Model Context Protocol (MCP) server that provides tools for interacting with the Perspective API. It enables text toxicity analysis, score suggestions, and supports multiple attributes and languages. Built for developers integrating content moderation into AI assistants or applications.

How to use Perspective MCP Server?

Add the server to your MCP settings file with the command npx -y @mtane0412/perspective-mcp-server and set the PERSPECTIVE_API_KEY environment variable to your Perspective API key. The server communicates over stdio.

Key features of Perspective MCP Server

  • Text toxicity analysis using Perspective API
  • Score suggestions for moderation decisions
  • Support for multiple attributes (TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, THREAT)
  • Multi-language support

Use cases of Perspective MCP Server

  • Analyze toxicity in user-generated comments or messages
  • Suggest moderation scores for content review workflows
  • Integrate content safety checks into AI chat interfaces
  • Support multilingual toxicity detection in global applications

常见问题

1

What API key is needed?

You need a Perspective API key from Google Cloud. Set it as the `PERSPECTIVE_API_KEY` environment variable in the MCP server configuration.

2

What attributes does the server support?

It supports TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, PROFANITY, and THREAT.

3

Does it support multiple languages?

Yes, Perspective API’s multi-language support is available through this server.

4

How do I debug the server?

Use the MCP Inspector. Run `npm run inspect` to get a URL for debugging tools in your browser.

5

What transport does it use?

The server communicates over stdio, as is standard for MCP servers.

评论

其他 分类下的更多 MCP 服务器