drio
Open app

Xircuits MCP Component Library

Source

A Xircuits component library for defining MCP servers.

Catalog onlyCatalog onlySTDIO

Overview

Xircuits MCP Component Library is a library designed for implementing Model Context Protocol (MCP) servers, allowing users to create, configure, and run MCP servers using the Xircuits visual programming interface.

To use this library, ensure you have Xircuits installed and run the command: xircuits install https://github.com/xpressai/xai-mcp. You can also clone the repository and install the required packages manually.

  • Provides components for creating and managing MCP servers. - Supports defining tools, resources, and prompts for LLM interactions. - Includes utility components for managing server lifecycle and operations.
  1. Building servers that expose data to LLM applications.
  2. Creating interactive tools for LLMs to perform computations.
  3. Managing server lifecycle events for better control over operations.

Add to your AI client

Use these steps to connect Xircuits MCP Component Library in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "xai-mcp-xpressai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "xai-mcp-xpressai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "xai-mcp-xpressai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "xai-mcp-xpressai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xai-mcp-xpressai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "xai-mcp-xpressai": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-xai-mcp-xpressai"
      ]
    }
  }
}

FAQ

What is Model Context Protocol (MCP)?

MCP is a protocol that allows building servers to expose data and functionality to LLM applications securely.

What are the prerequisites for using this library?

You need Python 3.8 or higher, Xircuits, and the MCP Python SDK.

Is there documentation available?

Yes, detailed documentation is available on the Model Context Protocol website and the GitHub repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1713,"uuid":"e1fabed1-ba72-4ce1-837a-79374d4b9362","name":"xai-mcp","title":"Xircuits MCP Component Library","description":"A Xircuits component library for defining MCP servers.","avatar_url":"https://avatars.githubusercontent.com/u/66524448?v=4","created_at":"2025-03-05T04:58:32.163Z","updated_at":"2025-03-12T10:20:31.146Z","status":"created","author_name":"XpressAI","author_avatar_url":"https://avatars.githubusercontent.com/u/66524448?v=4","tags":"xai-mcp,mcp-servers,xircuits","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/XpressAI/xai-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"Apache-2.0 license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-05 13:19:00\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]