Skip to main content
Glama
@frakment/mcp

@frakment/mcp

by frakment

@frakment/mcp

npm License

Model Context Protocol server for the Frakment component registry.

Frakment-authored MCP server code is licensed under MIT, which permits commercial use, modification, distribution, and sublicensing. Third-party dependencies retain their own licenses.

Exposes registry search, component source, compositions, and CLI install commands as MCP tools.

The MCP server does not write files into a project or execute the returned commands.

The MCP server exposes the web registry only. Use the Expo registry endpoints and the CLI --expo option for native components.

Install

npx -y @frakment/mcp

Requires Node.js >= 22.18.0.

Or pin it as a dev dependency:

npm install --save-dev @frakment/mcp

Related MCP server: io.github.OnticX/open-mcp-registry

Configure your MCP client

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "frakment": {
      "command": "npx",
      "args": ["-y", "@frakment/mcp"]
    }
  }
}

For Cursor, add the same block to ~/.cursor/mcp.json.

For VS Code with GitHub Copilot, save this as .vscode/mcp.json:

{
  "servers": {
    "frakment": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@frakment/mcp"]
    }
  }
}

Tools

Tool

Input

Output

list_components

none

List of every web component with name and description.

view_component

{ "name": "button" }

Source files and dependency metadata; binary assets are labeled base64 text.

search_components

{ "query": "chat" }

Web components matching name or description.

get_install_command

{ "name": "button" }

The exact web component install command.

list_scenarios

none

Ready-made compositions of web components.

compose

{ "scenario": "chat" }

Curated components, install command, and dependency note.

get_install_command formats the supplied name without validating it; call list_components first to choose a valid slug.

Environment

Variable

Default

Purpose

FRAKMENT_REGISTRY

https://www.arrafi.dev/frakment

Registry root URL. Do not include the registry API suffix.

Development

From the repository root:

npm ci
npm test
npm run typecheck
npm run build

The server speaks JSON-RPC over stdin/stdout and works with MCP clients that support stdio subprocess servers.

Clients without MCP support can use the registry HTTPS endpoints and CLI directly.

License

The MCP server's own source is MIT licensed; see LICENSE. Third-party dependencies retain their respective licenses.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Read-only MCP server for searching and listing components in Nexus Repository Manager 3 (Docker, Maven, npm, PyPI, etc.) with tools for repositories, components, Docker tags, and latest version.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables discovering existing MCP servers for any capability by federating the official MCP Registry, Smithery, and npm, ranking remote Streamable HTTP servers first. It provides search and detail tools so agents can find, evaluate, and install a suitable server.
      2
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables any MCP client to search, read, and install free Aura components, agent skills, images/clips, and DESIGN.md systems straight from the public catalogue over stdio, with no account, OAuth, or API key needed. It also returns install plans, token starters, starter kits, and trending/category data so agents can assemble landing pages and UI sections in a few calls.
      35
      52 npm
      13
      MIT