glif-mcp-server logo

glif-mcp-server

by glifxyz

The glif-mcp-server allows running AI workflows from glif.app. It provides tools for running glifs, managing bots, and accessing glif metadata through the Model Context Protocol (MCP).

View on GitHub

Last updated: N/A

What is glif-mcp-server?

The glif-mcp-server is a server that enables the execution of AI workflows defined as Glifs. It facilitates interaction with Glifs, bot management, and access to Glif metadata using the Model Context Protocol (MCP). It also allows for customizing available tools, including integrating full Glif agents as sets of tools.

How to use glif-mcp-server?

The server can be run via npx or from a local checkout. Configuration involves setting the GLIF_API_TOKEN and specifying the server in your MCP client (e.g., Claude Desktop). You can also specify GLIF_IDS to load specific Glifs on startup. It can also be installed via Smithery.

Key features of glif-mcp-server

  • Run glifs with inputs

  • Get detailed information about glifs, runs, and users

  • Access glif metadata through URI-based resources

  • Customize available tools via meta-tools

Use cases of glif-mcp-server

  • Running AI workflows in Claude Desktop

  • Managing and interacting with AI bots

  • Accessing glif metadata programmatically

  • Creating custom tools from existing glifs

FAQ from glif-mcp-server

How do I get an API token?

You can obtain your API token from https://glif.app/settings/api-tokens.

How do I configure Claude Desktop to use this server?

Add the server configuration to your Claude Desktop config file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json) with the appropriate command, arguments, and environment variables.

What are the available resources?

The server provides access to glif metadata (glif://{id}), run details (glifRun://{id}), and user profiles (glifUser://{id}).

How can I turn glifs into custom tools?

Use the meta-tools like save_glif_as_tool to create custom tools from existing glifs. You can then list and remove these tools as needed.

How do I debug the server?

It is recommended to use the MCP Inspector for debugging. You can also check the glif-mcp logs inside the Claude logs directory if you're using Claude Desktop.