kvstore
3.5
KVStore is a simple and flexible storage service based on a 'key/value' data model, allowing you to organize data into dictionaries where keys map to values.
KVStore is a versatile storage service that uses a key/value data model, enabling users to organize data into dictionaries. It supports simple string-based data storage, making it adaptable to various applications without strict data format requirements. This service is ideal for scenarios such as publishing static websites, collecting form data, sharing runtime variables in distributed environments, storing app data centrally, reading hardware sensors, and logging events or statuses externally.
Features
- Data Organization: Easily organize data using collections, which are essentially dictionaries of key/value pairs.
- Flexibility: The service supports simple string-based data storage, which can be adapted to various applications without strict data format requirements.
- Use Cases: Ideal for scenarios like publishing static websites and needing to collect form data, sharing runtime variables in distributed environments, storing app data centrally, reading hardware sensors, and logging events or statuses externally.
MCP Tools
- Collection List: Retrieve a list of all collections.
- Create Collection: Create a new collection.
- Delete Collection: Remove a collection.
- Get Collection Info: Retrieve details about a specific collection.
- Update Collection Settings: Modify collection details.
- Get a Value: Retrieve a specific value by key.
- Get Items: Obtain key/value pairs ordered by descending creation time.
- Delete Key: Remove a specific key/value pair.
- Store Value: Store a new key/value pair.
- Sign Up: Register for KVStore.
- Update Storage Attributes: Modify storage settings.
- Get Storage Info: View storage status and information.
Usage with Different Platforms
RESTful API
{
"method": "POST",
"url": "https://api.kvstore.io/v1/collections",
"headers": {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
"body": {
"name": "myCollection"
}
}
Client-Side
html
<script>
fetch('https://api.kvstore.io/v1/collections/myCollection/items', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({ key: 'myKey', value: 'myValue' })
})
.then(response => response.json())
.then(data => console.log(data));
</script>