feat: migrate MCP runtime to TypeScript

This commit is contained in:
nac
2026-08-15 05:02:28 +00:00
parent 7eb416ded1
commit 27672a0940
83 changed files with 6559 additions and 12057 deletions
+29 -29
View File
@@ -1,59 +1,59 @@
{
"schemaVersion": 1,
"schemaVersion": 2,
"id": "com.nocobase.crm-mcp",
"name": "NocoBase CRM MCP",
"version": "0.2.0",
"version": "0.3.0",
"distribution": {
"repository": "https://github.com/Donaldttt/nocobase-mcp.git",
"releaseRef": "v0.2.0",
"guide": "https://github.com/Donaldttt/nocobase-mcp/blob/v0.2.0/INSTALL.md",
"rawGuide": "https://raw.githubusercontent.com/Donaldttt/nocobase-mcp/v0.2.0/INSTALL.md",
"accessRequirement": "The installing agent must be able to read the guide and clone the exact release ref. A private repository requires an authenticated GitHub connection."
"repository": "https://github.com/Donaldttt/nocobase-mcp",
"releaseRef": "must-match-v<version>",
"guide": "INSTALL.md from the exact Release tag",
"assets": ["donaldttt-nocobase-crm-mcp-<version>.tgz", "SHA256SUMS"],
"accessRequirement": "Private Release download requires an authenticated user or Agent with explicit repository access."
},
"runtime": {
"location": "user-device",
"defaultTransport": "stdio",
"python": ">=3.12",
"packageManager": "uv",
"environment": ".venv",
"launcher": "project-venv-python",
"dependencyProfile": "runtime-only-no-dev",
"nocobaseCli": ">=2.1"
"node": ">=20.11",
"packageFormat": "bundled-npm-tarball",
"runtimeNpmDependencies": 0,
"nocobaseCli": false,
"python": false
},
"installation": {
"requiredTools": ["git", "uv", "python", "nb"],
"conditionalTools": {
"nodeAndNpm": "Required only when the NocoBase nb CLI is not already installed."
},
"requiredTools": ["node", "npm"],
"sourceCheckout": false,
"globalPackageInstall": false,
"persistentArtifacts": [
"release checkout",
"project .venv",
"config.json",
"nb CLI user environment",
"isolated user-data npm prefix",
"non-secret CRM config",
"private per-user credential file",
"MCP client configuration and backup"
],
"defaultBackgroundService": false
},
"authentication": {
"type": "personal-api-key",
"cliAuthType": "token",
"secretEntry": "user-controlled-private-tty",
"type": "personal-authorize-key",
"secretEntry": "user-controlled-hidden-tty",
"storage": "per-user private local credential file",
"posixFileMode": "0600",
"allowPassword": false,
"allowAgentChatSecret": false,
"allowCommandLineSecret": false
"allowCommandLineSecret": false,
"allowEnvironmentSecret": false
},
"entrypoints": {
"guide": "INSTALL.md",
"helper": "scripts/agent_install.py",
"guidedCommand": "install",
"binary": "nocobase-crm-mcp",
"guidedCommand": "setup",
"configTemplate": "config.example.json"
},
"securityDefaults": {
"readOnly": true,
"writes": false,
"uploads": false,
"rawData": false,
"sharedNocobaseCredential": false,
"networkBind": "none-stdio"
"networkBind": "none-stdio",
"remoteHttpRequiresTls": true,
"crossOriginAuthRedirect": false
}
}