merk.a2a
a2a b2b protocol
README
@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-server
The server speaks MCP over stdio.
What you can do (17 tools)
| Group | Tools |
|---|---|
| Search | search_products, browse_categories |
| Product | get_product |
| Negotiate | start_negotiation, counter_offer, accept_deal |
| Order | place_order, check_order, list_orders, cancel_order, request_refund |
| Discover | discover_agents, get_agent_capabilities, get_agent_did, list_capability_types, get_discovery_stats, resolve_did |
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 |
|---|---|---|
MERKA2A_API_KEY |
(auto-registered) | Use your own agent key instead of the auto-registered one. |
MERKA2A_API_URL |
https://pretty-nurturing-production.up.railway.app |
Point at a different Merka2a API (e.g. self-hosted or staging). |
MERKA2A_CONFIG_DIR |
~/.merka2a |
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
- API: https://pretty-nurturing-production.up.railway.app
- Website & docs: https://merka2a.com
- MCP Registry:
io.github.globallayer/mcp-server - Source: https://github.com/globallayer/Marketplace (
tools/mcp-server)
License
MIT
<!-- mirror-notice -->
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-server
- npm:
@merk.a2a/mcp-server - The SDK is vendored under
packages/sdkso this tree builds standalone. - Kept in sync automatically from the source repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.