Easily run glif.app AI workflows inside your LLM: image generators, memes, selfies, and more. Glif supports all major multimedia AI models inside one app
Documentation
glif-mcp-server
MCP server for running AI workflows from glif.app.
For more info check out https://glif.app or join our Discord server: https://discord.gg/glif
Features
- Run workflows with inputs
- Get detailed information about workflows, runs, and users
- Search and discover workflows
- Browse and load agents
Setup
Running via npx (recommended)
If you have nodejs installed, you can run our @glifxyz/glif-mcp-server package via npx:
1. Get your API token from https://glif.app/settings/api-tokens
2. Add the server in your Claude Desktop config file. On macOS this is: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"glif": {
"command": "npx",
"args": ["-y", "@glifxyz/glif-mcp-server@latest"],
"env": {
"GLIF_API_TOKEN": "your-token-here"
}
}
}
}Running from a local checkout
git clone https://github.com/glifxyz/glif-mcp-server
cd glif-mcp-server
npm install
npm run buildThen configure your MCP client:
{
"mcpServers": {
"glif": {
"command": "node",
"args": ["/path/to/glif-mcp/build/index.js"],
"env": {
"GLIF_API_TOKEN": "your-token-here"
}
}
}
}You can also specify workflow IDs (comma-separated) which will be loaded automatically:
{
"mcpServers": {
"glif": {
"command": "node",
"args": ["/path/to/glif-mcp/build/index.js"],
"env": {
"GLIF_API_TOKEN": "your-token-here",
"GLIF_IDS": "cm2v9aiga00008vfqdiximl2m,cm2v98jk6000r11afslqvooil"
}
}
}
}Configuration
Environment variables:
GLIF_API_TOKEN- Required. Your API token from https://glif.app/settings/api-tokensGLIF_IDS- Optional. Comma-separated workflow IDs to load as tools automaticallyIGNORE_DISCOVERY_TOOLS- Set totrueto disable discovery toolsAGENT_TOOLS- Set totrueto enable agent tools
Tools
Core Tools
run_workflow- Run a workflow with the specified ID and inputsworkflow_info- Get detailed information about a workflow
Discovery Tools (enabled by default)
list_featured_workflows- Get a curated list of featured workflowssearch_workflows- Search for workflows by name or descriptionmy_workflows- Get a list of your workflowsmy_user_info- Get detailed information about your account
Agent Tools (disabled by default, enable with AGENT_TOOLS=true)
list_agents- Get a list of agents with optional filteringload_agent- Load an agent and get its details including personality and workflows
Resources
glif://{id}- Get workflow metadataglifRun://{id}- Get run detailsglifUser://{id}- Get user profile
Development
npm install
npm run build
npm run dev # auto-rebuild
npm run test # run testsDebugging
npm run inspectorReleasing
1. Edit package.json and src/index.ts and bump the version
2. Run npm install to update lockfile
3. Commit and push to main
4. Run npm run release (requires gh CLI)
License
MIT - see LICENSE
Similar MCP
Based on tags & features
Trending MCP
Most active this week