Feature Engineering MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Feature Engineering MCP ServerProfile dataset at data/train.csv"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Feature Engineering MCP Server
An MCP (Model Context Protocol) server that exposes the existing
ahutosh173/automated-feature-engineering LangGraph agent as reusable tools.
The original agent takes a CSV, a fraud/modus-operandi objective, schema metadata, ID column and label column, then:
analyzes the modeling objective,
proposes candidate features,
generates pandas feature-engineering code,
executes that code, and
writes an Excel feature file.
This project adds an MCP interface on top of that workflow.
Architecture
MCP Host / LLM Client
|
| MCP
v
+-----------------------+
| Feature Engineering |
| MCP Server |
+-----------+-----------+
|
+-----------+-----------+
| |
v v
Dataset profiling Existing LangGraph
Feature Engineering Agent
|
+--------------+--------------+
| | |
Analyze MO Propose features Generate code
|
v
Execute features
|
v
Excel outputRelated MCP server: skillsmcp
MCP tools
Tool | Purpose |
| Inspect a CSV before running the agent |
| Run the complete existing LangGraph agent |
| Run the agent and return its analysis, candidate features and generated code |
| Verify server configuration |
Important design decision
The MCP layer does not replace the existing agent.
It is an adapter around the existing agent so that an MCP-compatible host can discover and call the feature-engineering workflow as a tool.
The original repository is:
https://github.com/ahutosh173/automated-feature-engineering
1. Prerequisites
Python 3.10+
Git
Access to the original feature-engineering agent repository
The LLM configuration required by the original agent
The MCP Python SDK currently requires Python 3.10+.
2. Clone both repositories
Recommended layout:
projects/
├── automated-feature-engineering/
└── feature-engineering-mcp/Clone the original repository:
git clone https://github.com/ahutosh173/automated-feature-engineering.gitClone this repository:
git clone <YOUR-MCP-REPO-URL>3. Create a virtual environment
From this repository:
python -m venv .venvWindows:
.venv\Scripts\activateLinux/macOS:
source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtInstall the original agent's dependencies:
pip install -r ../automated-feature-engineering/requirements.txt4. Configure the original agent
The original repository currently expects its own .env configuration,
including HF_TOKEN.
Configure that repository exactly as described in its README.
Do not commit API keys or tokens.
5. Configure this MCP server
Copy:
cp .env.example .envWindows PowerShell:
Copy-Item .env.example .envSet:
FEATURE_ENGINEERING_REPO=../automated-feature-engineeringIf the two repositories are somewhere else, use an absolute path.
Example:
FEATURE_ENGINEERING_REPO=C:/projects/automated-feature-engineering6. Run the MCP server
For local stdio usage:
python server.pyThe process will wait for an MCP client over stdin/stdout.
For MCP Inspector development:
mcp dev server.pyThe official MCP Python SDK provides the Inspector development workflow and supports defining tools directly from typed Python functions.
7. Test without an external MCP host
Run:
pytest -qThe tests use the MCP Python client's in-memory connection and therefore test the MCP tool definitions without starting a subprocess.
Example: profile a dataset
An MCP client can call:
{
"name": "profile_dataset",
"arguments": {
"csv_path": "../automated-feature-engineering/data/train.csv"
}
}Example response:
{
"success": true,
"rows": 10000,
"columns": 25,
"columns_info": [
{
"name": "amount",
"dtype": "float64",
"missing": 0,
"missing_pct": 0.0,
"unique": 9000
}
]
}Example: run the agent
{
"name": "run_feature_engineering",
"arguments": {
"csv_path": "../automated-feature-engineering/data/train.csv",
"mo_name": "Fraud Detection",
"mo_description": "Identify fraudulent transactions based on account behavior",
"data_schema": [
{
"name": "txn_id",
"dtype": "object",
"description": "Transaction ID"
},
{
"name": "amount",
"dtype": "float64",
"description": "Transaction amount"
}
],
"id_column": "txn_id",
"label_column": "fraud"
}
}Why MCP is useful here
Without MCP, the feature-engineering workflow is primarily a Python application.
With MCP, an MCP-compatible host can discover the feature-engineering tools and decide when to invoke them.
For example:
User:
"Analyze my fraud dataset and create account-level features."
LLM:
-> profile_dataset
-> run_feature_engineering
-> inspect result
-> explain generated featuresSecurity note
The original agent generates Python code with an LLM and executes it using
exec(). That is a high-risk operation if untrusted model output or untrusted
users can reach the server.
For production:
run the agent in an isolated container,
use a restricted filesystem,
validate generated code,
restrict imports,
restrict input/output paths,
use resource and CPU/time limits,
do not expose arbitrary filesystem access,
add authentication/authorization before remote deployment.
This repository intentionally does not claim that the existing generated-code execution is production-safe.
Suggested next upgrades
Add a feature evaluation tool.
Add model-performance comparison.
Add feature lineage metadata.
Add approval/review before generated code executes.
Add Streamable HTTP deployment.
Add authentication.
Add LangGraph checkpoint/session IDs instead of the fixed thread ID used by the original workflow.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceExposes Great Expectations data-quality checks as MCP tools for LLM agents, enabling data loading, expectation definition, validation, and result interpretation.74MIT
- AlicenseAqualityDmaintenanceExposes Agent Skills to AI agents as MCP tools, enabling discovery and activation of skill instructions for coding agents.327MIT
- FlicenseAqualityDmaintenanceExposes two MCP tools (discover and execute) that enable agents to query an OpenAPI schema via natural language and execute matched API operations.2
- FlicenseNot gradedqualityCmaintenanceExposes task management (add, list, complete tasks) and document search (RAG) as MCP tools for AI agents.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
Package intelligence MCP for AI agents — 22 tools, 19 ecosystems, AGPL SDK, free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ahutosh173/automated-feature-engineering-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server