Connect your enterprise data sources and enhance your AI capabilities.
A Model Context Protocol (MCP) server that connects to Stack AI workflows, allowing you to run your Stack AI workflows directly through MCP-compatible clients.
- Run Stack AI workflows through MCP
- Pass user inputs to your workflows
- Receive workflow results as structured responses
You'll need the following Stack AI credentials:
STACK_AI_ORG_ID
: Your Stack AI organization IDSTACK_AI_PROJECT_ID
: Your Stack AI project IDSTACK_API_KEY
: Your Stack AI API key
-
Clone the repository to your local machine:
git clone https://github.com/stackai/stack-ai-mcp.git
-
Navigate to the project directory:
cd stack-ai-mcp
-
Install the dependencies:
npm install
To use the Stack AI MCP Server with Claude Desktop, add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"stack-ai-workflow": {
"command": "node",
"args": ["/absolute/path/to/stack-ai-mcp/src/main.ts"],
"env": {
"STACK_AI_ORG_ID": "your_org_id_here",
"STACK_AI_PROJECT_ID": "your_project_id_here",
"STACK_API_KEY": "your_api_key_here"
}
}
}
}
Replace /absolute/path/to/stack-ai-mcp/src/main.ts
with the actual absolute path to your cloned repository, and replace the environment variable values with your actual Stack AI credentials.
To test the MCP server locally:
npm run dev
This will start the server and you should see: "Stack AI MCP Server running on stdio"