Model Context Protocol

PowerLibs MCP

Connect your AI assistant to PowerLibs. It browses components, generates YAML, and writes Power Fx for you. No more tab-switching and copy-pasting.

Connect to Claude

Using another AI tool? Copy the URL, or see the setup steps below.

https://www.powerlibs.com/api/mcp

What is MCP?

MCP (Model Context Protocol) is an open standard that lets AI assistants talk to external tools. Think of it like a USB port for AI.

Once connected, your AI can browse PowerLibs components, pull up settings, generate YAML, and look up Power Fx formulas. All from inside your editor.

You tell it what you need. It grabs the right component with the right config. Done.

What your AI can do

Real answers from the PowerLibs MCP. Pick one.

Add a navigation bar to my app with the project name and the user’s photo on the right.

Used PowerLibssearch_componentsgenerate_yaml

Here is the Navigation Bar from PowerLibs. Select your screen in Power Apps Studio and press Ctrl+V. The photo already reads User().Image.

- conNavbar:
    Control: GroupContainer@1.5.0
    Variant: ManualLayout
    Properties:
      Height: =50
      Width: =Parent.Width
    Children:
      - lblTitle:
          Control: Label@2.5.1
          Properties:
            Text: ="Project Name"
            FontWeight: =FontWeight.Bold
      - imgUserProfilePicture:
          Control: Image@2.2.3
          Properties:
            Image: =User().Image
            X: =Parent.Width - Self.Width - 15

Shortened. The full result is 48 lines, ready to paste.

Behind these answers are 17 tools, from searching components and icons to reviewing a screenshot of your app. See them all.

Works with

Claude
Cursor
VS Code
GitHub Copilot

Get connected

Claude

One click, no API key needed
  1. 1Click Connect to Claude. Claude opens with PowerLibs already filled in
  2. 2Click Add, then Connect
  3. 3Sign in with your PowerLibs account when prompted
Connect to Claude

Claude Code

Sign in, no API key needed
  1. 1Run this command in your terminal
  2. 2In Claude Code, type /mcp, pick powerlibs and choose Authenticate
  3. 3Sign in with your PowerLibs account in the browser window that opens
claude mcp add --transport http powerlibs https://www.powerlibs.com/api/mcp

VS Code / GitHub Copilot

API Key
  1. 1Generate an API key in the section below
  2. 2Click Install in VS Code next to your new key
  3. 3Or create .vscode/mcp.json yourself and paste the config snippet with your key
{
  "servers": {
    "powerlibs": {
      "type": "http",
      "url": "https://www.powerlibs.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Cursor

API Key
  1. 1Generate an API key in the section below
  2. 2Click Install in Cursor next to your new key
  3. 3Or create .cursor/mcp.json yourself and paste the config snippet with your key
{
  "mcpServers": {
    "powerlibs": {
      "type": "http",
      "url": "https://www.powerlibs.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

API Keys

Power Apps MCP Server for AI Assistants | PowerLibs