Infactory MCP Server
Infactory MCP Server
infactory-io
README
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 keyNF_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
- Parameters:
-
create_project: Create a new project
- Parameters:
name
(string): Project namedescription
(string, optional): Project descriptionteam_id
(string): Team ID
- Parameters:
Query Program Tools
-
list_query_programs: List query programs in a project
- Parameters:
project_id
(string): ID of the project
- Parameters:
-
execute_query_program: Execute a query program
- Parameters:
queryprogram_id
(string): ID of the query program to executeinput_data
(object, optional): Input data for the query program
- Parameters:
Datasource Tools
-
list_datasources: List datasources in a project
- Parameters:
project_id
(string): ID of the project
- Parameters:
-
get_datasource: Get details of a specific datasource
- Parameters:
datasource_id
(string): ID of the datasource
- Parameters:
-
create_datasource: Create a new datasource
- Parameters:
name
(string): Datasource nameproject_id
(string): ID of the projecttype
(string): Datasource type
- Parameters:
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
- Parameters:
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.