tokrepo-mcp-server 2.3.0 → 2.4.0
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 +2 -2
- package/bin/server.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ gemini settings mcp add tokrepo -- npx -y tokrepo-mcp-server
|
|
|
35
35
|
|
|
36
36
|
Once connected, your AI assistant can:
|
|
37
37
|
|
|
38
|
-
- **Search** 200+ curated AI assets by keyword or category
|
|
38
|
+
- **Search** 200+ curated AI assets by keyword or category with Codex-first `agent_fit` ranking
|
|
39
39
|
- **Browse** trending assets, filter by type (MCP, Skill, Prompt, Agent, Script)
|
|
40
40
|
- **Get details** — full documentation, install instructions, and metadata
|
|
41
41
|
- **Plan before install** — get install plan v2 with policy decisions, rollback, and verification
|
|
@@ -47,7 +47,7 @@ Once connected, your AI assistant can:
|
|
|
47
47
|
|
|
48
48
|
| Tool | Description |
|
|
49
49
|
|------|-------------|
|
|
50
|
-
| `tokrepo_search` | Search assets by keyword
|
|
50
|
+
| `tokrepo_search` | Search assets by keyword/tag with `agent_fit` ranking |
|
|
51
51
|
| `tokrepo_detail` | Get full asset details by UUID |
|
|
52
52
|
| `tokrepo_install_plan` | Get agent-native install plan v2 |
|
|
53
53
|
| `tokrepo_codex_install` | Dry-run, stage, or install a Codex skill safely |
|
package/bin/server.js
CHANGED
|
@@ -19,7 +19,7 @@ const API_BASE = process.env.TOKREPO_API || 'https://api.tokrepo.com';
|
|
|
19
19
|
const TOKREPO_URL = 'https://tokrepo.com';
|
|
20
20
|
const TOKREPO_TOKEN = process.env.TOKREPO_TOKEN || '';
|
|
21
21
|
const TOKREPO_CLI = process.env.TOKREPO_CLI || '';
|
|
22
|
-
const SERVER_VERSION = '2.
|
|
22
|
+
const SERVER_VERSION = '2.4.0';
|
|
23
23
|
|
|
24
24
|
// ─── MCP Protocol (JSON-RPC over stdio) ───
|
|
25
25
|
|
|
@@ -55,8 +55,9 @@ const TOOLS = [
|
|
|
55
55
|
},
|
|
56
56
|
target: {
|
|
57
57
|
type: 'string',
|
|
58
|
-
description: '
|
|
58
|
+
description: 'Agent target filter. Defaults to codex so results include agent_fit ranking for installable Codex assets.',
|
|
59
59
|
enum: ['codex'],
|
|
60
|
+
default: 'codex',
|
|
60
61
|
},
|
|
61
62
|
kind: {
|
|
62
63
|
type: 'string',
|
|
@@ -536,7 +537,7 @@ function jsonText(title, data) {
|
|
|
536
537
|
// ─── Tool Handlers ───
|
|
537
538
|
|
|
538
539
|
async function handleSearch(args) {
|
|
539
|
-
const { query, tag, limit = 10, target = '', kind = '', policy = '' } = args;
|
|
540
|
+
const { query, tag, limit = 10, target = 'codex', kind = '', policy = '' } = args;
|
|
540
541
|
if (target || kind || policy) {
|
|
541
542
|
const cliArgs = ['search', query, '--json', '--page-size', String(Math.min(limit, 20))];
|
|
542
543
|
if (target) cliArgs.push('--target', target);
|
package/package.json
CHANGED