To obtain your Perspective API key and configure the Perspective MCP Server, follow these steps:
Create a Google Cloud Project:
- Sign in to the Google Cloud Console with your Google Account.
- Click on the project dropdown in the top navigation bar and select "New Project."
- Enter a project name and click "Create."
Request Access to the Perspective API:
- Complete the Perspective API Access Request Form to request access.
- Provide your Google Cloud Project ID (found in your project's settings) in the form.
- Wait for an email confirmation from Google approving your access.
Enable the Perspective API:
Generate an API Key:
- In the Google Cloud Console, navigate to "APIs & Services" > "Credentials."
- Click on "Create Credentials" and select "API Key."
- Copy the generated API key.
Configure the Perspective MCP Server:
In your MCP settings file, add the following configuration:
{
"mcpServers": {
"perspective": {
"command": "npx",
"args": [
"-y",
"@mtane0412/perspective-mcp-server"
],
"env": {
"PERSPECTIVE_API_KEY": "your-api-key"
}
}
}
}
Replace "your-api-key"
with the API key you obtained in the previous step.
Fill in the FastMCP Connection Interface:
- Open the FastMCP connection interface.
- Enter the API key in the appropriate field to establish the connection.
By following these steps, you'll successfully obtain and configure your Perspective API key for use with the Perspective MCP Server.