drizzle-mcp 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/src/server.ts +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://mcprush.com/to/drizzle-mcp?ref=badge)
|
|
4
4
|
|
|
5
|
+
[](https://glama.ai/mcp/servers/Fredobumma/drizzle-mcp)
|
|
6
|
+
|
|
5
7
|
Drizzle Studio for agents. An [MCP](https://modelcontextprotocol.io) server that lets Claude Code, Cursor and other coding agents see your database through your Drizzle schema.
|
|
6
8
|
|
|
7
9
|
A generic database MCP sees tables and columns. This one reads the schema your code uses: TypeScript names next to SQL names, relations, enums and defaults. An agent can then answer "what's actually in the database?" and write Drizzle code that matches it.
|
package/dist/server.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
6
6
|
import { type DriverName } from './database.js';
|
|
7
7
|
import { type LoadOptions } from './project.js';
|
|
8
|
-
export declare const VERSION = "0.1.
|
|
8
|
+
export declare const VERSION = "0.1.4";
|
|
9
9
|
export interface ServerOptions extends LoadOptions {
|
|
10
10
|
/** A connection string or file that overrides the config's `dbCredentials`. */
|
|
11
11
|
url?: string;
|
package/dist/server.js
CHANGED
|
@@ -12,7 +12,7 @@ import { DEFAULT_REDACT, describeSchema, describeTable, isSecret, markdownTable,
|
|
|
12
12
|
import { describeMigrations, migrationStatus } from './migrations.js';
|
|
13
13
|
import { findColumn, findTable, readSchema } from './model.js';
|
|
14
14
|
import { loadProject } from './project.js';
|
|
15
|
-
export const VERSION = '0.1.
|
|
15
|
+
export const VERSION = '0.1.4';
|
|
16
16
|
const INSTRUCTIONS = `This server shows the project's database through its Drizzle schema, like Drizzle Studio.
|
|
17
17
|
|
|
18
18
|
Start with \`schema\` to see the tables, then \`schema\` with a table for its columns and relations. Tables and columns can be named by their TypeScript key (createdAt) or SQL name (created_at); results use TypeScript keys, as \`db.query\` does.
|
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { describeMigrations, migrationStatus } from './migrations.js';
|
|
|
23
23
|
import { findColumn, findTable, readSchema, type SchemaModel, type TableModel } from './model.js';
|
|
24
24
|
import { type LoadOptions, loadProject, type Project } from './project.js';
|
|
25
25
|
|
|
26
|
-
export const VERSION = '0.1.
|
|
26
|
+
export const VERSION = '0.1.4';
|
|
27
27
|
|
|
28
28
|
export interface ServerOptions extends LoadOptions {
|
|
29
29
|
/** A connection string or file that overrides the config's `dbCredentials`. */
|