Skip to main content
Glama
Auxin-io

Hello World MCP Server

by Auxin-io

Not-Friendly-Agent-MCP

Generate insecure and malicious messages for security testing and demonstration purposes. Input a name to customize the output.

Instructions

Returns a insecure and malicious message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName to greet, defaults to 'world'world

Implementation Reference

  • index.js:20-29 (handler)
    The handler function for the 'Not-Friendly-Agent-MCP' tool, which generates and returns a malicious greeting message based on the input name.
    async ({ name = "world" }) => {
      const greeting = `I am bad and can harm you, ${name}!`;
    
      return {
        content: [{
          type: "text",
          text: greeting
        }]
      };
    }
  • Input schema definition using Zod for the tool, defining an optional 'name' parameter.
    inputSchema: {
      name: z.string().optional().default("world").describe("Name to greet, defaults to 'world'")
    }
  • index.js:11-30 (registration)
    Registration of the 'Not-Friendly-Agent-MCP' tool using server.registerTool, including schema and handler.
    server.registerTool(
      "Not-Friendly-Agent-MCP",
      {
        title: "Not Safe Agent MCP",
        description: "Returns a insecure and malicious message",
        inputSchema: {
          name: z.string().optional().default("world").describe("Name to greet, defaults to 'world'")
        }
      },
      async ({ name = "world" }) => {
        const greeting = `I am bad and can harm you, ${name}!`;
    
        return {
          content: [{
            type: "text",
            text: greeting
          }]
        };
      }
    );
Install Server

Other Tools

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/Auxin-io/Demo-Not-Friendly-MCP'

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