Skip to main content
Glama

Nexar MCP Server

MCP server that provides search_components tool for querying Nexar Supply API. Follows Dedalus Labs MCP Server Guidelines.

Setup

  1. Install dependencies:

npm install
  1. Set environment variables:

export NEXAR_CLIENT_ID=your_client_id
export NEXAR_CLIENT_SECRET=your_client_secret
  1. Build:

npm run build
  1. Run server:

# HTTP transport (production/cloud)
npm start

# STDIO transport (local development)
npm run start:stdio

Development

# Watch mode with HTTP transport
npm run dev

# Watch mode with STDIO transport
npm run dev:stdio

Upload to Dedalus

After testing locally, upload this repository to Dedalus cloud to get a registry ID (e.g., "username/nexar-mcp").

Tool: search_components

  • Input: {query: string, limit?: number}

  • Output: Array of PartObject (components from Nexar API)

  • Description: Searches Nexar Supply API for electronic components matching the query

PartObject Format

Matches frontend types.ts:

  • Required: mpn, manufacturer, description, price

  • Optional: currency, voltage, package, interfaces[], datasheet, quantity

Architecture

Follows Dedalus Labs guidelines:

  • src/index.ts - Main entry point

  • src/server.ts - Server instance creation

  • src/client.ts - Nexar API client

  • src/tools/nexar.ts - Tool definitions

  • src/transport/http.ts - Streamable HTTP transport

  • src/transport/stdio.ts - STDIO transport (dev)

A
license - permissive license
-
quality - not tested
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Electronic component datasheets for AI agents — specs, pinouts, package data on demand.

  • Electronic component sourcing, BOM management, and PCB design workflows.

  • Hosted no-auth MCP for exact-spec packaging search, live price, stock, cart handoff, and no-match.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/phuhduong/nexar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server