Skip to main content
Glama

Claude File Management Server

by vipin1000
bulk_insert.py726 B
import sqlite3 import json # Connect to database conn = sqlite3.connect('mcp2.db') cursor = conn.cursor() # Read the JSON data with open('student_data.json', 'r') as file: student_data = json.load(file) # Insert all records for student in student_data: cursor.execute(""" INSERT INTO students (name, roll_no, age, gender, address, contact_info) VALUES (?, ?, ?, ?, ?, ?) """, ( student['name'], student['roll_no'], student['age'], student['gender'], student['address'], student['contact_info'] )) # Commit changes and close connection conn.commit() conn.close() print(f"Successfully inserted {len(student_data)} records into the database!")

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vipin1000/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server