New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@osaas/mcp-server

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osaas/mcp-server - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

dist/resources/minio_minio.js

3

dist/schemas.js

@@ -6,1 +6,4 @@ import { z } from 'zod';

});
export const CreateBucketSchema = z.object({
name: z.string().describe('Name of the bucket')
});
import { zodToJsonSchema } from 'zod-to-json-schema';
import { z } from 'zod';
import { CreateDatabaseSchema } from '../schemas.js';
import { CreateBucketSchema, CreateDatabaseSchema } from '../schemas.js';
import { createValkeyInstance } from '../resources/valkey_io_valkey.js';
import { createMinioInstance } from '../resources/minio_minio.js';
export function listOscTools() {

@@ -11,2 +12,7 @@ return [

inputSchema: zodToJsonSchema(CreateDatabaseSchema)
},
{
name: 'osc_create_bucket',
description: 'Create an S3 compatible bucket in Eyevinn Open Source Cloud',
inputSchema: zodToJsonSchema(CreateBucketSchema)
}

@@ -26,2 +32,7 @@ ];

}
case 'osc_create_bucket': {
const args = CreateBucketSchema.parse(request.params.arguments);
const { endpoint, accessKeyId, secretAccessKey } = await createBucket(args.name, context);
return { toolResult: { endpoint, accessKeyId, secretAccessKey } };
}
default:

@@ -50,1 +61,4 @@ throw new Error(`Unknown tool: ${request.params.name}`);

}
export async function createBucket(name, context) {
return await createMinioInstance(context, name);
}

8

package.json
{
"name": "@osaas/mcp-server",
"version": "0.1.1",
"version": "0.2.0",
"description": "MCP server for using the Eyevinn Open Source Cloud API",

@@ -18,2 +18,5 @@ "license": "MIT",

"watch": "tsc --watch",
"lint": "eslint .",
"pretty": "prettier --check --ignore-unknown .",
"typecheck": "tsc --noEmit -p tsconfig.json",
"postversion": "git push && git push --tags"

@@ -23,4 +26,5 @@ },

"@modelcontextprotocol/sdk": "0.6.0",
"@osaas/client-core": "^0.12.0",
"@osaas/client-core": "^0.13.0",
"dotenv": "^16.4.5",
"minio": "^8.0.2",
"zod-to-json-schema": "^3.23.5"

@@ -27,0 +31,0 @@ },

@@ -8,2 +8,3 @@ # Eyevinn Open Source Cloud MCP Server

- **Database Setup**: Create and setup an SQL-, NoSQL- or memory-database based on open source made available as an open web service.
- **Storage Setup**: Create an S3 compatible storage bucket based on open source made available as an open web service.

@@ -14,3 +15,3 @@ ![screenshot](screenshot.png)

1. `create_db`
1. `osc_create_db`
- Create a new database instance

@@ -21,2 +22,7 @@ - Inputs:

- Returns: Connection string to database
2. `osc_create_bucket`
- Create a storage bucket
- Inputs:
- `name` (string): Name of bucket
- Returns: Endpoint and credentials to bucket

@@ -38,2 +44,3 @@ ## Setup

### Usage with Claude Desktop
To use this with Claude Desktop, add the following to your `claude_desktop_config.json`:

@@ -45,3 +52,4 @@

"eyevinn-osc": {
"command": "mcp-eyevinn-osc",
"command": "npx",
"args": ["-y", "@osaas/mcp-server"],
"env": {

@@ -54,2 +62,3 @@ "OSC_ACCESS_TOKEN": "<YOUR_TOKEN>"

```
## Development

@@ -56,0 +65,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc