@stophy/mcp 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -5
- package/dist/index.js +31 -31
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://smithery.ai/servers/stophy/mcp)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Web scraping API for AI agents, as an MCP server. One API to search the web, read what people say, and look up products, places, jobs and homes. Pay only for answers. Your agent reaches every Stophy endpoint through three MCP tools.
|
|
6
6
|
|
|
7
|
-
[](https://cursor.com/en/install-mcp?name=stophy&config=
|
|
7
|
+
[](https://cursor.com/en/install-mcp?name=stophy&config=eyJ1cmwiOiJodHRwczovL21jcC5zdG9waHkuZGV2L21jcCJ9)
|
|
8
8
|
|
|
9
9
|
## Connect to the hosted server
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ Most apps can connect to the hosted server directly. There is nothing to install
|
|
|
12
12
|
|
|
13
13
|
| URL | How you connect | What your agent can use |
|
|
14
14
|
| --- | --- | --- |
|
|
15
|
-
| `https://api.stophy.dev/mcp` | No key |
|
|
15
|
+
| `https://api.stophy.dev/mcp` | No key | The endpoints marked `keyless: true` in the [endpoint list](https://api.stophy.dev/v1/endpoints), within a free allowance |
|
|
16
16
|
| `https://api.stophy.dev/mcp` | `Authorization: Bearer <key>` header | Every endpoint |
|
|
17
17
|
| `https://mcp.stophy.dev/mcp` | Sign in with your browser | Every endpoint |
|
|
18
18
|
|
|
@@ -82,7 +82,7 @@ Some apps can only start a local MCP server. For those, use this package. It run
|
|
|
82
82
|
npx -y @stophy/mcp
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
With `STOPHY_API_KEY` set, your agent can use every endpoint. Without it, your agent can use
|
|
85
|
+
With `STOPHY_API_KEY` set, your agent can use every endpoint. Without it, your agent can use the endpoints that need no key, within a free allowance.
|
|
86
86
|
|
|
87
87
|
### Claude Desktop
|
|
88
88
|
|
|
@@ -119,7 +119,16 @@ The package needs Node.js 18 or later.
|
|
|
119
119
|
|
|
120
120
|
Your agent usually searches, then describes, then calls. Endpoint ids are camelCase, such as `googleSearch` or `youtubeSearch`. Lists come back as `results`, and `fields` keeps only the keys you name on each row. Each result says how many credits it used.
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
To point at one thing, send its link or its id, never both: `videoUrl` or `videoId`, `placeUrl` or `placeId`, `userUrl` or `username`. The endpoint description lists the pair.
|
|
123
|
+
|
|
124
|
+
One call returns one page from the site at the price shown for that endpoint. Most calls cost 1 credit, some cost 2, and long lists cost 1 credit per 10 results. Some list endpoints take `page` and return `page`: ask for the next number, and stop when `results` comes back empty. Others return a `cursor` when there is more: pass it back unchanged as `cursor` to get the next page.
|
|
125
|
+
|
|
126
|
+
## Network and credentials
|
|
127
|
+
|
|
128
|
+
- The hosted server lives at `https://mcp.stophy.dev/mcp` (sign in) and `https://api.stophy.dev/mcp` (no key or an API key). Your client sends requests only there.
|
|
129
|
+
- Credentials: browser sign-in handled by your MCP client, or an optional `STOPHY_API_KEY` that you set yourself. The local package also reads an optional `STOPHY_MCP_URL`.
|
|
130
|
+
- The plugin manifests (`.mcp.json`, `.grok-plugin/plugin.json`, `mcp.json`, `plugin.json`) only point at the hosted server. They run no code on your machine.
|
|
131
|
+
- No telemetry.
|
|
123
132
|
|
|
124
133
|
## More
|
|
125
134
|
|