wp_born_mcp_oauth_clients
StaticStores born mcp oauth clients data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| 🔑id | BIGINT UNSIGNED | NO |
| client_id | VARCHAR(128) | NO |
| client_secret_hash | VARCHAR(255) | YES |
| client_name | VARCHAR(255) | NO |
| redirect_uris | LONGTEXT | NO |
| grant_types | VARCHAR(255) | NO |
| created_at | DATETIME | NO |
| updated_at | DATETIME | NO |
| code | VARCHAR(255) | NO |
| client_id | VARCHAR(128) | NO |
| user_id | BIGINT UNSIGNED | NO |
| redirect_uri | TEXT | NO |
| scope | VARCHAR(255) | NO |
| code_challenge | VARCHAR(255) | YES |
| code_challenge_method | VARCHAR(10) | YES |
| expires_at | DATETIME | NO |
| used_at | DATETIME | YES |
| created_at | DATETIME | NO |
| access_token_hash | VARCHAR(255) | NO |
| refresh_token_hash | VARCHAR(255) | YES |
| client_id | VARCHAR(128) | NO |
| user_id | BIGINT UNSIGNED | NO |
| scope | VARCHAR(255) | NO |
| access_token_expires_at | DATETIME | NO |
| refresh_token_expires_at | DATETIME | YES |
| revoked | TINYINT(1) | NO |
| created_at | DATETIME | NO |
| session_id | VARCHAR(255) | NO |
| user_id | BIGINT UNSIGNED | NO |
| token_id | BIGINT UNSIGNED | NO |
| created_at | DATETIME | NO |
| last_activity_at | DATETIME | NO |
| expires_at | DATETIME | NO |
CREATE TABLE Statement
CREATE TABLE IF NOT EXISTS `wp_born_mcp_oauth_clients` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `client_id` VARCHAR(128) NOT NULL, `client_secret_hash` VARCHAR(255) DEFAULT NULL, `client_name` VARCHAR(255) NOT NULL DEFAULT '', `redirect_uris` LONGTEXT NOT NULL, `grant_types` VARCHAR(255) NOT NULL DEFAULT 'authorization_code,refresh_token', `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `client_id` (`client_id`) ) $charset_collate;"; // Authorization codes $sql[] = "CREATE TABLE IF NOT EXISTS `wp_born_mcp_oauth_codes` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `code` VARCHAR(255) NOT NULL, `client_id` VARCHAR(128) NOT NULL, `user_id` BIGINT UNSIGNED NOT NULL, `redirect_uri` TEXT NOT NULL, `scope` VARCHAR(255) NOT NULL DEFAULT '', `code_challenge` VARCHAR(255) DEFAULT NULL, `code_challenge_method` VARCHAR(10) DEFAULT NULL, `expires_at` DATETIME NOT NULL, `used_at` DATETIME DEFAULT NULL, `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `code` (`code`), KEY `client_id` (`client_id`) ) $charset_collate;"; // Access and refresh tokens $sql[] = "CREATE TABLE IF NOT EXISTS `wp_born_mcp_oauth_tokens` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `access_token_hash` VARCHAR(255) NOT NULL, `refresh_token_hash` VARCHAR(255) DEFAULT NULL, `client_id` VARCHAR(128) NOT NULL, `user_id` BIGINT UNSIGNED NOT NULL, `scope` VARCHAR(255) NOT NULL DEFAULT '', `access_token_expires_at` DATETIME NOT NULL, `refresh_token_expires_at` DATETIME DEFAULT NULL, `revoked` TINYINT(1) NOT NULL DEFAULT 0, `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `access_token_hash` (`access_token_hash`), KEY `refresh_token_hash` (`refresh_token_hash`), KEY `client_id` (`client_id`) ) $charset_collate;"; // MCP sessions $sql[] = "CREATE TABLE IF NOT EXISTS `wp_born_mcp_sessions` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `session_id` VARCHAR(255) NOT NULL, `user_id` BIGINT UNSIGNED NOT NULL, `token_id` BIGINT UNSIGNED NOT NULL, `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_activity_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `expires_at` DATETIME NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `session_id` (`session_id`), KEY `user_id` (`user_id`) ) $charset_collate;"; require_once ABSPATH . 'wp-admin/includes/upgrade.php'; foreach ( $sql as $query ) { dbDelta( $query );Safe to delete?
If you have uninstalled Born Creative MCP Server, this table is generally safe to remove. However, always back up your database first.
Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.
How to remove this table
DROP TABLE IF EXISTS `wp_born_mcp_oauth_clients`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from Born Creative MCP Server