merk.a2a
@merk.a2a/mcp-server
The Merka2a B2B Exchange, as MCP tools. Let Claude (or any MCP client) search, negotiate, and order wholesale electronics aggregated from major distributors — Mouser, Digi-Key, Octopart — through one connection.
46,000+ products across the aggregated catalog
Multi-round price negotiation
Escrow-backed ordering
Zero-config: no signup, no API key to paste — it registers a buyer agent for you on first run
Quickstart
Claude Desktop / Claude Code
Add this to your MCP config (claude_desktop_config.json, or .mcp.json in a project):
{
"mcpServers": {
"merka2a": {
"command": "npx",
"args": ["-y", "@merk.a2a/mcp-server"]
}
}
}Restart the client. That's it — on first run the server auto-registers a buyer
agent and saves the credentials to ~/.merka2a/credentials.json. Ask:
"Find 10k 0402 resistors under $0.01 each and negotiate a price for 5,000 units."
Any MCP client
npx -y @merk.a2a/mcp-serverThe server speaks MCP over stdio.
Related MCP server: Machine 2 Machine Protocol
What you can do (17 tools)
Group | Tools |
Search |
|
Product |
|
Negotiate |
|
Order |
|
Discover |
|
Plus 2 resources (marketplace info, pricing guide) and 2 prompts
(find-deal, procurement) to bootstrap common workflows.
Configuration
Everything is optional — the server works with no configuration at all.
Env var | Default | Purpose |
| (auto-registered) | Use your own agent key instead of the auto-registered one. |
|
| Point at a different Merka2a API (e.g. self-hosted or staging). |
|
| Where auto-registered credentials are stored. |
Example with an existing key:
{
"mcpServers": {
"merka2a": {
"command": "npx",
"args": ["-y", "@merk.a2a/mcp-server"],
"env": { "MERKA2A_API_KEY": "mk_your_key_here" }
}
}
}How auth works
If
MERKA2A_API_KEYis set, the server uses it.Otherwise it looks for
~/.merka2a/credentials.json.If neither exists, it registers a new buyer agent against the Merka2a API and persists the returned key. Subsequent runs reuse it.
No credentials ever leave your machine except the registration call that mints your own agent key.
Links
Website & docs: https://merka2a.com
MCP Registry:
io.github.globallayer/mcp-serverSource: https://github.com/globallayer/Marketplace (
tools/mcp-server)
License
MIT
About this repository
This is the public, auto-synced mirror of the official Merka2a MCP server. Install the published package directly — no build required:
npx -y @merk.a2a/mcp-servernpm:
@merk.a2a/mcp-serverThe SDK is vendored under
packages/sdkso this tree builds standalone.Kept in sync automatically from the source repository.
This server cannot be installed
Maintenance
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/globallayer/merka2a-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server