spacetimedb-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SPACETIMEDB_HOST | No | The base URL of your SpacetimeDB instance. | http://localhost:3000 |
| SPACETIMEDB_TOKEN | Yes | Authentication token (Bearer token) for SpacetimeDB. | |
| SPACETIMEDB_DEFAULT_DATABASE | No | Default database name to use when not specified in tool calls. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| test_connectionB | Test the connection to the SpacetimeDB instance. |
| get_schemaC | Get the tables and reducers (functions) of a database. |
| sql_queryC | Run a SQL query against the database to inspect or modify data. |
| publish_databaseC | Publish or update a database using the spacetime CLI. |
| describe_databaseC | Get metadata about a database. |
| get_database_identityC | Get the identity for a database name. |
| delete_databaseC | Delete a database. |
| list_databasesB | List databases owned by an identity. |
| add_database_aliasC | Add a friendly alias to a database identity. |
| get_database_aliasesC | List aliases for a database identity. |
| call_reducerC | Call a reducer function on the database. |
| get_logsC | Get recent logs from the database. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools target clearly distinct actions or resources, such as publishing, deleting, listing, testing connection, and calling reducers. The main overlap is between describe_database and get_schema/get_database_identity, since 'metadata about a database' could be read broadly enough to include structure or identity details. Descriptions mostly resolve this, but the boundary is not perfectly sharp.
The tool set uses snake_case throughout and almost every name follows a verb_noun pattern, such as list_databases, delete_database, and get_logs. The main deviation is sql_query, which is a noun-style name rather than a strict verb_noun form like run_sql_query. This is a minor inconsistency in an otherwise predictable naming scheme.
Twelve tools is well within a reasonable range for a database management MCP server. Each tool appears to earn its place by covering a distinct administrative action, including connection testing, schema inspection, querying, publishing, access metadata, aliases, reducers, and logs. There is no obvious padding or missing major capability at this count.
The surface covers most of the SpacetimeDB lifecycle: publish/update, describe, list, delete, inspect schema, query data, call reducers, manage aliases, and retrieve logs. The main minor gap is alias lifecycle symmetry, since aliases can be added and listed but not removed. Overall the core workflows are covered with only small omissions.