Cover image
Try Now
2025-04-05

Infactory MCP服务器

3 years

Works with Finder

2

Github Watches

0

Github Forks

1

Github Stars

Infactory MCP Server

An MCP (Model Context Protocol) server for interacting with Infactory APIs using Claude and other LLMs. This server enables language models to access and manipulate data in your Infactory environment.

Features

  • 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

Getting Started

Prerequisites

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

Installation

Using NPX (Recommended)

npx -y @infactory/infactory-mcp

Using Docker

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

Environment Variables

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

Available Tools

Project Tools

  • 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

Query Program Tools

  • 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

Datasource Tools

  • 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

User and Team Tools

  • 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

Usage with Claude Desktop + Windsurf + Cursor

Here is the likely location of your MCP configuration file:

  • Claude Desktop - Add this to your claude_desktop_config.json:
  • Windsurf - Add this to your ~/.codeium/windsurf/mcp_config.json:
  • Cursor - Add this to your ~/.cursor/mcp.json:

Add this to your MCP configuration:

{
  "version": "0.1",
  "mcpServers": {
    "infactory-mcp": {
      "command": "npx",
      "args": ["-y", "@infactory/infactory-mcp"],
      "env": {
        "NF_API_KEY": "nf-************************"
      }
    }
  }
}

Or if you are doing development:

{
  "version": "0.1",
  "mcpServers": {
    "infactory-mcp": {
      "command": "node",
      "args": ["FULL_PATH_TO/infactory-mcp/dist/index.js"],
      "env": {
        "NF_API_KEY": "nf-************************"
      }
    }
  }
}

Example Prompts

Once your MCP server is configured, you can use prompts like these with Claude:

  • "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)"

Building from Source

# 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

License

MIT License

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    4 (1)
    Avatar
    user_MFIyTxuU
    2025-04-16

    I've been using infactory-mcp for a while now, and it's been a game-changer for managing my projects. The intuitive interface and robust features provided by infactory-io make it easy to streamline workflows and boost productivity. Highly recommended for anyone looking to improve their project management processes! Check it out on GitHub: https://github.com/infactory-io/infactory-mcp.