You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AgentShare — AI Agent Briefing
2
2
3
-
**Repository:**[agentshare-mcp](https://github.com/anhmtk/agentshare-mcp) — stdio MCP server that proxies [Agent Price API](https://agentshare.dev) tools. **Implementation path:**`integrations/mcp_server/` (see `price_mcp.py`).
3
+
**Repository:**[agentshare-mcp](https://github.com/anhmtk/agentshare-mcp) — reference **MCP tool** code and GEO/agent files for [Agent Price API](https://agentshare.dev). **Production MCP** is served at `https://agentshare.dev/mcp`; Claude Desktop ships as **`.mcpb`** (see **agent-price-api**`mcpb-bundle/`). **Implementation path:**`integrations/mcp_server/` (`price_mcp.py` mirrors the server app).
4
4
5
5
---
6
6
@@ -70,7 +70,7 @@ These are the **registered tool names** in this codebase. They map to REST as sh
70
70
}
71
71
```
72
72
73
-
Replace `YOUR_API_KEY` with your key. For **local stdio** (no `npx`), use `python` + `integrations/mcp_server/server.py` — see [README](README.md).
73
+
Replace `YOUR_API_KEY` with your key. For **Claude Desktop**, prefer the **`.mcpb`** bundle; for **Cursor**, use **`node`** + `bridge.mjs` or optional **`python`** + `integrations/mcp_server/server.py` — see [README](README.md).
74
74
75
75
**Streamable HTTP URL:**`https://agentshare.dev/mcp` (trailing slash optional for many clients).
76
76
@@ -89,5 +89,6 @@ Replace `YOUR_API_KEY` with your key. For **local stdio** (no `npx`), use `pytho
89
89
|------|------|
90
90
|`integrations/mcp_server/price_mcp.py`| Tool definitions and REST calls |
Copy file name to clipboardExpand all lines: README.md
+9-51Lines changed: 9 additions & 51 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
## Description
10
10
11
-
**AgentShare** provides **structured marketplace prices and offers for AI agents** via a JSON **REST API** and **MCP** ([Streamable HTTP](https://agentshare.dev/mcp/)). This repository contains the **stdio MCP server** (Python) used with Claude Desktop, Cursor, and other MCP clients, plus minimal REST examples. The production API, pricing, and full docs live at **https://agentshare.dev**.
11
+
**AgentShare** provides **structured marketplace prices and offers for AI agents** via a JSON **REST API** and **MCP** ([Streamable HTTP](https://agentshare.dev/mcp/)). This repository holds **reference Python tool code** (`integrations/mcp_server/`), **GEO/agent docs** (`AGENTS.md`, `llms.txt`, …), and **REST examples**. The live **`/mcp`** implementation and **`.mcpb`** bundle are maintained in **[agent-price-api](https://github.com/anhmtk/agent-price-api)** (`mcpb-bundle/agentshare-price-mcp`).
12
12
13
13
All MCP tools are **read-only**: they fetch data from the AgentShare API and do not modify your accounts or remote marketplace listings.
14
14
@@ -43,66 +43,27 @@ All MCP tools are **read-only**: they fetch data from the AgentShare API and do
43
43
44
44
## Getting an API key
45
45
46
-
To use this MCP server or the REST API, you need an API key. Visit [https://agentshare.dev/pricing](https://agentshare.dev/pricing) to get your free tier key (**100 requests / month** on the public free plan at time of writing — always confirm on the site).
46
+
To use MCP or the REST API, you need an API key. Visit [https://agentshare.dev/pricing](https://agentshare.dev/pricing) to get your free tier key (**100 requests / month** on the public free plan at time of writing — always confirm on the site).
47
47
48
48
---
49
49
50
50
## Installation
51
51
52
-
### Quick install (pip)
52
+
**Recommended — Claude Desktop:****`.mcpb`** from **[agent-price-api](https://github.com/anhmtk/agent-price-api)** → `mcpb-bundle/agentshare-price-mcp` → `mcpb pack`.
**Cursor / IDE:** Node **`bridge.mjs`** (same as `.mcpb`) or **`npx mcp-remote`** with `--header X-API-Key:…` — see [`mcp-config.json`](mcp-config.json).
83
55
84
-
- On Windows, prefer forward slashes in `args`, e.g. `D:/code/agentshare-mcp/integrations/mcp_server/server.py`.
85
-
86
-
**Remote MCP (Streamable HTTP):** clients that support URL + API key headers can use `https://agentshare.dev/mcp/` with `X-API-Key` or `Authorization: Bearer`. Use **[`mcp-config.json`](mcp-config.json)** for **`npx mcp-remote`**. Details: [MCP Quickstart](https://agentshare.dev/docs) (section MCP).
87
-
88
-
**Advanced — HTTP via `mcp-remote` (Node / npx):** if you use [`mcp-remote`](https://github.com/geelen/mcp-remote) to bridge HTTPS → stdio, pass your key with `--header` (see troubleshooting in [Cursor MCP setup](https://agentshare.dev/docs)); this repo does **not** publish an `npx agentshare-mcp` package.
89
-
90
-
The official **Claude Desktop Extension** (`.mcpb`) uses a small Node **bridge** (see the **agent-price-api** repo, `mcpb-bundle/agentshare-price-mcp`) and does **not** rely on `mcp-remote`.
91
-
92
-
### Clone & run stdio locally
56
+
**Optional — Python stdio** (this repo), from clone root:
Same as `python integrations/mcp_server/run.py`. See [`integrations/mcp_server/README.md`](integrations/mcp_server/README.md) for tools and environment variables.
102
-
103
-
### Claude Desktop Extension (`.mcpb`)
64
+
Same as `python integrations/mcp_server/run.py`.
104
65
105
-
A packaged extension (**AgentShare — Real-time Price & Offer MCP**) can be installed from the `.mcpb` built in the main **agent-price-api** repo (`mcpb-bundle/agentshare-price-mcp`). That bundle connects to `https://agentshare.dev/mcp` via a small Node bridge. See [MCP Quickstart](https://agentshare.dev/docs) on the site.
66
+
**Glama:** use **`integrations/mcp_server/Dockerfile.glama`** (runs `server.py`).
106
67
107
68
---
108
69
@@ -112,11 +73,8 @@ A packaged extension (**AgentShare — Real-time Price & Offer MCP**) can be ins
112
73
113
74
| Variable | Required | Default | Description |
114
75
|----------|----------|---------|-------------|
115
-
|`API_KEY`| For price tools | — | Sent as `X-API-Key` to the API |
116
-
|`BASE_URL`| No |`https://agentshare.dev`| API base URL (e.g. local dev) |
117
-
|`MCP_UPSTREAM_TIMEOUT_SEC`| No |`120`| HTTP timeout for upstream API calls |
118
-
119
-
**Remote MCP (Streamable HTTP):** clients that support URL + headers can call `https://agentshare.dev/mcp/` with `X-API-Key` or `Authorization: Bearer`. Details: [docs](https://agentshare.dev/docs) (MCP section).
76
+
|`API_KEY`| For price tools (REST / some clients) | — | Sent as `X-API-Key` to the API |
77
+
|`BASE_URL`| No |`https://agentshare.dev`| API base URL |
0 commit comments