Skip to main content
Glama
beaglesecurity

Beagle Security MCP Server

Official

beagle_create_application

Create a new application for security testing in Beagle Security projects. Specify name, URL, project key, and type (WEB or API) to initiate security assessments.

Instructions

Create a new application in a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesApplication name
urlYesApplication URL
projectKeyYesProject key
typeYesApplication type

Implementation Reference

  • The handler function 'createApplication' that performs the API call to create an application.
    private async createApplication(args: any) {
      const result = await this.makeRequest("/applications", {
        method: "POST",
        body: JSON.stringify({
          name: args.name,
          url: args.url,
          projectKey: args.projectKey,
          type: args.type,
        }),
      });
    
      return {
        content: [
          {
            type: "text",
            text: `Application created successfully:\n${JSON.stringify(result, null, 2)}`,
          },
        ],
      };
    }
  • Definition of the 'beagle_create_application' tool including its input schema.
    {
      name: "beagle_create_application",
      description: "Create a new application in a project",
      inputSchema: {
        type: "object",
        properties: {
          name: { type: "string", description: "Application name" },
          url: { type: "string", description: "Application URL" },
          projectKey: { type: "string", description: "Project key" },
          type: { type: "string", enum: ["WEB", "API"], description: "Application type" },
        },
        required: ["name", "url", "projectKey", "type"],
      },
    },
  • src/index.ts:294-295 (registration)
    Registration of the 'beagle_create_application' tool in the request handler switch statement.
    case "beagle_create_application":
      return await this.createApplication(args);

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/beaglesecurity/beagle-security-mcp-server'

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