Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 59f2d12

Browse files
chore: publish final deprecated version (1.0.14)
Strips the package down to a redirect README and a deprecation script. Bin entry and postinstall both print a message pointing to https://docs.base.org/ai-agents. One-shot workflow publishes to npm and marks the package as deprecated. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 13d32d2 commit 59f2d12

3 files changed

Lines changed: 55 additions & 65 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish final deprecated version
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- '.github/workflows/publish-final.yml'
9+
10+
jobs:
11+
publish:
12+
name: Publish base-mcp@1.0.14
13+
runs-on: ubuntu-latest
14+
environment: Production
15+
permissions:
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
registry-url: 'https://registry.npmjs.org'
24+
25+
- name: Set auth token
26+
run: npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
27+
28+
- name: Publish
29+
run: npm publish --access public
30+
31+
- name: Deprecate
32+
run: npm deprecate base-mcp "This package has been deprecated. See https://docs.base.org/ai-agents for the new Base AI Agents docs."

deprecated.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env node
2+
3+
const message = `
4+
╔══════════════════════════════════════════════════════════════╗
5+
║ ║
6+
║ base-mcp has been DEPRECATED. ║
7+
║ ║
8+
║ For the new Base AI Agents docs and tools, visit: ║
9+
║ https://docs.base.org/ai-agents ║
10+
║ ║
11+
║ Do not use this package. It is no longer maintained. ║
12+
║ ║
13+
╚══════════════════════════════════════════════════════════════╝
14+
`;
15+
16+
console.warn(message);
17+
process.exit(0);

package.json

Lines changed: 6 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,24 @@
11
{
22
"name": "base-mcp",
3-
"version": "1.0.13",
4-
"description": "A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Base blockchain and Coinbase API",
3+
"version": "1.0.14",
4+
"description": "[DEPRECATED] See https://docs.base.org/ai-agents for the replacement.",
55
"bin": {
6-
"base-mcp": "build/index.js"
6+
"base-mcp": "deprecated.js"
77
},
8-
"type": "module",
98
"scripts": {
10-
"run": "tsx src/index.ts",
11-
"dev": "tsc --watch",
12-
"build": "tsc && chmod +x ./build/index.js",
13-
"lint": "eslint src",
14-
"start": "node build/index.js",
15-
"format": "prettier --write .",
16-
"ci:format": "prettier --check .",
17-
"changeset": "changeset",
18-
"version-packages": "changeset version",
19-
"release:publish": "yarn build && changeset publish"
9+
"postinstall": "node deprecated.js"
2010
},
2111
"files": [
22-
"build"
12+
"deprecated.js",
13+
"README.md"
2314
],
2415
"repository": {
2516
"type": "git",
2617
"url": "git+https://github.com/base/base-mcp.git"
2718
},
28-
"keywords": [
29-
"mcp",
30-
"claude",
31-
"base",
32-
"blockchain",
33-
"coinbase",
34-
"ethereum",
35-
"web3",
36-
"ai"
37-
],
3819
"author": "Dan Schlabach, Tina He",
3920
"license": "MIT",
40-
"packageManager": "yarn@4.5.1",
4121
"publishConfig": {
4222
"access": "public"
43-
},
44-
"dependencies": {
45-
"@clack/prompts": "^0.10.0",
46-
"@coinbase/agentkit": "^0.6.2",
47-
"@coinbase/agentkit-model-context-protocol": "^0.2.0",
48-
"@coinbase/coinbase-sdk": "^0.21.0",
49-
"@coinbase/onchainkit": "^0.37.6",
50-
"@inquirer/prompts": "^7.4.0",
51-
"@modelcontextprotocol/sdk": "^1.6.1",
52-
"@privy-io/public-api": "^2.20.5",
53-
"chalk": "^5.4.1",
54-
"dotenv": "^16.4.7",
55-
"graphql": "^16.10.0",
56-
"graphql-request": "^7.1.2",
57-
"reflect-metadata": "^0.2.2",
58-
"viem": "^2.23.9",
59-
"zod": "^3.24.2"
60-
},
61-
"devDependencies": {
62-
"@changesets/cli": "^2.28.1",
63-
"@eslint/js": "^9.22.0",
64-
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
65-
"@types/express": "^4",
66-
"@types/node": "^22.13.9",
67-
"@types/react": "^19",
68-
"@types/react-dom": "^19",
69-
"@typescript-eslint/eslint-plugin": "^8.26.1",
70-
"@typescript-eslint/parser": "^8.26.1",
71-
"eslint": "^9.22.0",
72-
"eslint-config-prettier": "^10.1.1",
73-
"eslint-plugin-import": "^2.31.0",
74-
"globals": "^16.0.0",
75-
"prettier": "^3.5.3",
76-
"react": "^19.0.0",
77-
"react-dom": "^19.0.0",
78-
"tsx": "^4.19.3",
79-
"typescript": "^5.8.2",
80-
"typescript-eslint": "^8.26.1",
81-
"zod-to-json-schema": "^3.24.4"
8223
}
8324
}

0 commit comments

Comments
 (0)