@gravity-ai/index-mcp 1.1.0 → 1.1.2

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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +2 -2
  3. package/package.json +2 -10
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  An [MCP](https://modelcontextprotocol.io/) server that lets AI coding agents
4
4
  **discover developer services and get install instructions** from the
5
- [Gravity Index](https://index.trygravity.ai).
5
+ [Gravity Index](https://index.trygravity.com).
6
6
 
7
7
  Zero dependencies, zero build step — a single Node.js file that speaks
8
8
  JSON-RPC 2.0 over stdio.
@@ -80,7 +80,7 @@ Docker, etc.) are required.
80
80
 
81
81
  | Var | Default | Notes |
82
82
  |---|---|---|
83
- | `GRAVITY_INDEX_URL` | `https://index.trygravity.ai` | Override for self-hosted or staging |
83
+ | `GRAVITY_INDEX_URL` | `https://index.trygravity.com` | Override for self-hosted or staging |
84
84
  | `GRAVITY_PUBLISHER_KEY` | *(required)* | Your Gravity publisher API key — requests and integrations attribute to your account |
85
85
  | `GRAVITY_INDEX_MONETIZATION_MODE` | *(unset)* | Optional private publisher ranking mode: `boost_cpa`, `cpa_only`, or `cpa_desc`. Not exposed to the calling agent. |
86
86
 
@@ -99,7 +99,7 @@ agent uses gravity_index_search → returns Neon with:
99
99
  - npm install @neondatabase/serverless
100
100
  - lib/db.ts stub
101
101
  - DATABASE_URL env var
102
- - https://index.trygravity.ai/go/abc123 ← setup link
102
+ - https://index.trygravity.com/go/abc123 ← setup link
103
103
  - search_id: s_0f9...
104
104
  agent: Here's the setup. Open the link above, paste your DATABASE_URL
105
105
  back, and I'll wire it up.
@@ -112,6 +112,6 @@ agent uses gravity_index_report_integration(search_id=s_0f9..., integrated_slug=
112
112
 
113
113
  ## See also
114
114
 
115
- - Gravity Index REST API: <https://index.trygravity.ai>
116
- - Docs: <https://docs.trygravity.ai/gravity-index/introduction>
115
+ - Gravity Index REST API: <https://index.trygravity.com>
116
+ - Docs: <https://docs.trygravity.com/gravity-index/introduction>
117
117
  - Python MCP (identical tools, requires `python3`): `index/mcp/gravity_index_mcp.py` in the Gravity monorepo
package/bin/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  // Gravity Index MCP Server — bare stdio JSON-RPC, zero dependencies.
3
- // Wraps https://index.trygravity.ai as a Model Context Protocol tool server.
3
+ // Wraps https://index.trygravity.com as a Model Context Protocol tool server.
4
4
  //
5
5
  // Install per-project: npm install -g @gravity-ai/index-mcp
6
6
  // One-shot: npx -y @gravity-ai/index-mcp
@@ -10,7 +10,7 @@ import readline from "node:readline";
10
10
  import process from "node:process";
11
11
 
12
12
  const API_URL =
13
- process.env.GRAVITY_INDEX_URL || "https://index.trygravity.ai";
13
+ process.env.GRAVITY_INDEX_URL || "https://index.trygravity.com";
14
14
  const PUBLISHER_KEY = process.env.GRAVITY_PUBLISHER_KEY || "";
15
15
  const MONETIZATION_MODE = (process.env.GRAVITY_INDEX_MONETIZATION_MODE || "").trim();
16
16
  const UA = "GravityIndex-MCP-JS/1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ai/index-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "MCP server for the Gravity Index — lets AI agents discover developer services (DBs, auth, payments, hosting, etc.) and get install instructions.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,15 +26,7 @@
26
26
  ],
27
27
  "author": "Gravity Team",
28
28
  "license": "MIT",
29
- "homepage": "https://docs.trygravity.ai/gravity-index/introduction",
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/Try-Gravity/gravity.git",
33
- "directory": "sdk-js/packages/index-mcp"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/Try-Gravity/gravity/issues"
37
- },
29
+ "homepage": "https://docs.trygravity.com/gravity-index/introduction",
38
30
  "publishConfig": {
39
31
  "access": "public"
40
32
  },