@0xinsider/mcp 1.2.2 → 1.2.3
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 +22 -3
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @0xinsider/mcp
|
|
2
2
|
|
|
3
|
-
Official CLI and MCP server for [0xinsider](https://0xinsider.com) —
|
|
3
|
+
Official CLI and MCP server for [0xinsider](https://0xinsider.com) — advanced tools for sports and esports markets, powered by Polymarket, for AI agents and scripts.
|
|
4
4
|
|
|
5
|
-
Gives your AI agent and terminal scripts
|
|
5
|
+
Gives your AI agent and terminal scripts the same Polymarket data the tools run on: wallet grades on settled P&L, large trades, which side the profitable wallets hold on a market, daily picks on a public record, and insider-radar flags.
|
|
6
6
|
|
|
7
7
|
## CLI and MCP entry points
|
|
8
8
|
|
|
@@ -13,12 +13,31 @@ npm install --global @0xinsider/mcp
|
|
|
13
13
|
0xinsider --help
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
On macOS or Linux with Homebrew, the official tap installs the same package
|
|
17
|
+
and both commands (the formula is named `oxinsider` because Homebrew formula
|
|
18
|
+
names cannot start with a digit):
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
brew install 0xinsider/tap/oxinsider
|
|
22
|
+
0xinsider --help
|
|
23
|
+
```
|
|
24
|
+
|
|
16
25
|
The package also exposes `0xinsider-mcp` as an explicit alias. Both commands
|
|
17
26
|
run the same CLI, and `npx -y @0xinsider/mcp` remains the zero-install path.
|
|
18
27
|
|
|
28
|
+
The same CLI is published under the unscoped name `0xinsider`, so `npx 0xinsider --help`
|
|
29
|
+
and `npm install --global 0xinsider` work too.
|
|
30
|
+
|
|
31
|
+
For Python, `pip install 0xinsider` installs the official Python SDK
|
|
32
|
+
([`0xinsider-python`](https://github.com/0xinsider/0xinsider-python), import `oxinsider`).
|
|
33
|
+
For Go programs, the official Go SDK
|
|
34
|
+
([`github.com/0xinsider/0xinsider-go`](https://github.com/0xinsider/0xinsider-go))
|
|
35
|
+
is generated from the same public OpenAPI contract the CLI and MCP tools read.
|
|
36
|
+
|
|
19
37
|
## Two ways to connect
|
|
20
38
|
|
|
21
|
-
- **Remote HTTP (no install)** — `POST https://api.0xinsider.com/api/v1/mcp` with `Authorization: Bearer oxi_sk_live_...`. Implements the MCP Streamable HTTP transport (protocolVersion `2025-11-25`). Works with MCP clients that speak HTTP and can send headers. Legacy `?token=` authentication works only on exact `/api/v1/mcp`; every other protected V1 route rejects it. Prefer headers because URL secrets can leak through shell history, browser history, proxy logs, and crash reports. The retirement date is unknown until external URL-only client compatibility is checked. Remote and stdio use the same read-only public V1 tool catalog, rate limits, and billing.
|
|
39
|
+
- **Remote HTTP (no install)** — `POST https://api.0xinsider.com/api/v1/mcp` with `Authorization: Bearer oxi_sk_live_...`. Implements the MCP Streamable HTTP transport (protocolVersion `2025-11-25`). Works with MCP clients that speak HTTP and can send headers. `initialize`, `ping` and `tools/list` need no key, so a client can show the catalog first; `tools/call` without a credential answers HTTP 401 with a `WWW-Authenticate` challenge naming the RFC 9728 document at `/.well-known/oauth-protected-resource/api/v1/mcp`. Clients that implement the MCP authorization spec follow it to the OAuth 2.1 authorization server (PKCE S256, dynamic client registration), sign the user in and send the resulting access token instead of an API key; see https://0xinsider.com/auth.md. Legacy `?token=` authentication works only on exact `/api/v1/mcp`; every other protected V1 route rejects it. Prefer headers because URL secrets can leak through shell history, browser history, proxy logs, and crash reports. The retirement date is unknown until external URL-only client compatibility is checked. Remote and stdio use the same read-only public V1 tool catalog, rate limits, and billing.
|
|
40
|
+
- **Documentation server (no install, no key)** — `https://docs.0xinsider.com/mcp` searches and reads the developer documentation over MCP. Add it beside the product server so an agent can look up how an endpoint works before it calls a tool.
|
|
22
41
|
- **Stdio (this npm package)** — run `npx -y @0xinsider/mcp` locally for Claude Code / Cursor / Codex / Gemini CLI. Best when the client can launch a child process and you prefer to keep the API key out of URLs.
|
|
23
42
|
|
|
24
43
|
<!-- generated-mcp-catalog:start -->
|
package/dist/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const API_BASE_URL = "https://api.0xinsider.com";
|
|
|
2
2
|
export declare const SITE_URL = "https://0xinsider.com";
|
|
3
3
|
export declare const DEVELOPERS_URL = "https://0xinsider.com/developers";
|
|
4
4
|
export declare const PRICING_URL = "https://0xinsider.com/pricing";
|
|
5
|
-
export declare const VERSION = "1.2.
|
|
5
|
+
export declare const VERSION = "1.2.3";
|
|
6
6
|
export declare const PACKAGE_NAME = "@0xinsider/mcp";
|
|
7
7
|
export declare const SERVER_NAME = "0xinsider";
|
|
8
8
|
export declare const API_KEY_ENV_VAR = "OXINSIDER_API_KEY";
|
package/dist/constants.js
CHANGED
|
@@ -15,7 +15,7 @@ export const PRICING_URL = `${SITE_URL}/pricing`;
|
|
|
15
15
|
// flow runs `cd mcp && npm ci` from a clean checkout, where `web/node_modules` need not
|
|
16
16
|
// exist.
|
|
17
17
|
// generated-package-version:start
|
|
18
|
-
export const VERSION = "1.2.
|
|
18
|
+
export const VERSION = "1.2.3";
|
|
19
19
|
// generated-package-version:end
|
|
20
20
|
export const PACKAGE_NAME = "@0xinsider/mcp";
|
|
21
21
|
export const SERVER_NAME = "0xinsider";
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xinsider/mcp",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.2.3",
|
|
4
|
+
"mcpName": "io.github.0xinsider/mcp",
|
|
5
|
+
"description": "Official 0xinsider CLI and MCP server: advanced tools for sports and esports markets, powered by Polymarket",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"bin": {
|