mirror of
https://github.com/aljazceru/mcp-code.git
synced 2025-12-17 04:35:19 +01:00
- Implemented the `zap` command in the CLI to allow users to send sats to a user, event, or snippet using a NIP-60 wallet. - Created a new `zap.ts` file to handle the command logic and integrated it into the MCP server. - Added wallet balance command to check the balance of a user's wallet. - Enhanced the MCP server to register the new zap command and wallet balance command. - Introduced caching for wallets to optimize performance and reduce redundant network requests. - Updated database schema to include snippets table for storing code snippets. - Improved logging functionality for better debugging and tracking of operations. - Added functionality to save snippets to the database upon retrieval. - Updated project overview documentation to reflect new features and structure. - Refactored existing commands and logic for better modularity and maintainability.
33 lines
765 B
JSON
33 lines
765 B
JSON
{
|
|
"name": "mcp-code",
|
|
"version": "0.2.0",
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"bin": {
|
|
"mcp-code": "./index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "bun build --compile --outfile mcp-code index.ts ",
|
|
"lint": "biome lint .",
|
|
"format": "biome format . --write",
|
|
"check": "biome check --write .",
|
|
"setup": "bun run index.ts setup"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@types/bun": "latest",
|
|
"@types/inquirer": "^9.0.7"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.7.0",
|
|
"@nostr-dev-kit/ndk": "2.13.1-rc2",
|
|
"@nostr-dev-kit/ndk-wallet": "0.5.3-1",
|
|
"commander": "^13.1.0",
|
|
"inquirer": "^12.5.0",
|
|
"yaml": "^2.7.0"
|
|
}
|
|
}
|