Infactory MCP Servidor - MCP Server segur per ALMC Security 2025

Infactory MCP Servidor

Veure a GitHub

Infactory MCP Server

Un servidor MCP (Model Context Protocol) per interactuar amb les API d'Infactory utilitzant Claude i altres LLMs. Aquest servidor permet als models de llenguatge accedir i manipular dades en el vostre entorn Infactory.

Funcionalitats

  • Project Management: List, retrieve, and create projects
  • Query Programs: List and execute query programs
  • Datasources: List, retrieve, and create datasources
  • User & Team Management: Get current user information and list teams

Com començar

Prerequisits

  • An Infactory API key
  • Node.js 18+ (for local installation)

Instal·lació

Usant NPX (Recomanat)

npx -y @infactory/infactory-mcp

Usant Docker

docker run -i --rm \
  -e NF_API_KEY="your_api_key_here" \
  @infactory/infactory-mcp

Variables d'entorn

  • NF_API_KEY (required): Your Infactory API key
  • NF_BASE_URL (optional): Custom API endpoint if using a different environment

Eines disponibles

Eines de Projecte

  • list_projects: List all available projects

    • No parameters required
  • get_project: Get details of a specific project

    • Parameters:
      • project_id (string): ID of the project to retrieve
  • create_project: Create a new project

    • Parameters:
      • name (string): Project name
      • description (string, optional): Project description
      • team_id (string): Team ID

Eines de Programas de Consulta

  • list_query_programs: List query programs in a project

    • Parameters:
      • project_id (string): ID of the project
  • execute_query_program: Execute a query program

    • Parameters:
      • queryprogram_id (string): ID of the query program to execute
      • input_data (object, optional): Input data for the query program

Eines de Datasources

  • list_datasources: List datasources in a project

    • Parameters:
      • project_id (string): ID of the project
  • get_datasource: Get details of a specific datasource

    • Parameters:
      • datasource_id (string): ID of the datasource
  • create_datasource: Create a new datasource

    • Parameters:
      • name (string): Datasource name
      • project_id (string): ID of the project
      • type (string): Datasource type

Eines d'Usuari i Equip

  • get_current_user: Get information about the current user

    • No parameters required
  • list_teams: List teams in an organization

    • Parameters:
      • organization_id (string): ID of the organization

Ús amb Claude Desktop + Windsurf + Cursor

Aquí es troba la probable ubicació del vostre fitxer de configuració MCP:

  • Claude Desktop - Afegiu això al vostre claude_desktop_config.json:
  • Windsurf - Afegiu això al vostre ~/.codeium/windsurf/mcp_config.json:
  • Cursor - Afegiu això al vostre ~/.cursor/mcp.json:

Afegiu això a la vostra configuració MCP:

{
  "version": "0.1",
  "mcpServers": {
    "infactory-mcp": {
      "command": "npx",
      "args": ["-y", "@infactory/infactory-mcp"],
      "env": {
        "NF_API_KEY": "nf-************************"
      }
    }
  }
}
{
  "version": "0.1",
  "mcpServers": {
    "infactory-mcp": {
      "command": "npx",
      "args": ["-y", "@infactory/infactory-mcp@0.6.1"],
      "env": {
        "NF_API_KEY": "nf-2FEUOhBAeMOtzyTqK1VEMFc7D-AMsL89gQOTsDURJn0",
        "NF_BASE_URL": "http://localhost:8000"
      }
    }
  }
}
{
  "version": "0.1",
  "mcpServers": {
    "infactory-mcp": {
      "command": "node",
      "args": ["FULL_PATH_TO/infactory-mcp/dist/index.js"],
      "env": {
        "NF_API_KEY": "nf-************************"
      }
    }
  }
}

Exemples de prompts

  • "Show me a list of all my Infactory projects"
  • "Get the details for project proj-123abc"
  • "Create a new project called 'Data Analysis' in team team-456xyz"
  • "List all query programs in project proj-123abc"
  • "Execute query program qp-789def"
  • "Tell me about myself (my user account)"

Construcció des de la font

# Clone the repository
git clone https://github.com/yourusername/mcp-server-infactory.git
cd mcp-server-infactory

# Install dependencies
npm install

# Build
npm run build

# Start the server
npm start

# Optional - start inspector (for debugging)
npx @modelcontextprotocol/inspector -e "NF_API_KEY=$NF_API_KEY" node -- dist/index.js

Llicència

MIT License

Instal\u00b7lem i gestionem el teu servidor MCP

El nostre equip configura, desplega i manté servidors MCP adaptats a la teva infraestructura.

  • Instal\u00b7lació i configuració professional
  • Integració amb els teus sistemes existents
  • Suport tècnic i manteniment continu
  • Seguretat i auditoria personalitzada

Resposta en menys de 24h · Sense compromís

Consulta ràpida sobre MCP

Relacionats a Servei en núvol - MCP Servers segurs