# Metatextai — MCP server on mcp.ai > Connect your Metatextai account and use 13 tools for artificial intelligence straight from your AI agent. Connect with your own API key. Metatext AI specializes in natural language processing and text generation, helping organizations automate writing tasks, sentiment analysis, or content moderation. By: mcp.ai · official Page: https://mcp.ai/metatextai ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_metatextai?ms=1787291400000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/metatextai/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/metatextai/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/metatextai/skill.md Postman collection (v2.1): https://mcp.ai/metatextai/postman.json ## Tools - metatextai_chat_completions(stop?: string, model: string, prompt?: string, project?: string, messages?: object[], max_tokens?: integer, temperature?: number) — Tool to generate chat completions. Use when you need OpenAI-compatible conversational responses. - metatextai_classify(text: string, model?: string, options?: object, project_id: string) — Tool to classify text. Use when you need to obtain labels and confidence scores from a trained MetatextAI model for given text. - metatextai_create_policy_guardrails(id: string, rules: object[], target: string|string[], definition?: string, application_id: string, override_response?: string) — Tool to create a policy guardrail. Use when you need to define automated guardrails for content in a specific application. - metatextai_delete_policy_guardrails(policy_id: string, application_id: string) — Tool to delete a guardrail policy. Use when you need to remove a policy by ID for a specific application after confirming valid application and policy IDs. - metatextai_evaluate(messages: object[], policies?: object[], fail_fast?: boolean, policy_ids?: string[], application?: string, override_response?: string, correction_enabled?: boolean) — Tool to evaluate LLM messages against policies/guardrails. Use after generating model output to get violation details or corrections. - metatextai_extract(text: string, model?: string, options?: object, project_id: string) — Tool to run information extraction. Use when you need to extract structured data from text. - metatextai_generate(stop?: string, model: string, prompt?: string, messages?: object[], max_tokens?: integer, project_id: string, temperature?: number) — Tool to generate text for a project model. Use when you need LLM completions or chat responses. Supports both prompt and message-based inputs with temperature, stop-sequence, and token limits. - metatextai_list_applications(tag?: string, limit?: integer, offset?: integer, search?: string) — Tool to retrieve a list of all existing applications. Use when you need to view application IDs, names, and descriptions. - metatextai_list_models() — Tool to retrieve a list of all available models and their supported tasks. Use when you need to choose an appropriate model for chat completions. - metatextai_list_policies_guardrails(application_id: string) — Tool to list all guardrail policies for a specific application. Use after obtaining an application ID to inspect its configured policies. - metatextai_list_red_team_test_probes() — Tool to list all available red team test probes. Use when you need to discover available probes for red teaming. - metatextai_run_red_team_test_scan(probes?: string[], application: string) — Tool to run a vulnerability red-team test scan. Use when you need to execute probes against an application. - metatextai_update_policy_guardrails(id: string, rules: object[], target: string|string[], policy_id: string, definition?: string, application_id: string, override_response?: string) — Tool to update an existing policy's guardrails. Use when you need to modify a policy's rules after confirming it exists. ## Example prompts - "What can I do in Metatextai?" - "Show me a summary of my Metatextai account" ## Links Docs: https://mcp.ai/docs/mcps/metatextai Website: https://mcp.ai/mcps/metatextai