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.

コメント

「その他」の他のコンテンツ