Skip to content

Commit e67bf99

Browse files
committed
Remove obsolete release notes and update homepage features for MCP Database Server. Added support for multiple databases and improved UI elements. Updated styles and SVG assets for better presentation.
1 parent 5d0f4b5 commit e67bf99

File tree

15 files changed

+257
-172
lines changed

15 files changed

+257
-172
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Deploy Docusaurus documentation to GH Pages
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches: ["main"]
7+
paths:
8+
- 'docs/**' # Only trigger when docs directory changes
9+
pull_request:
10+
branches: ["main"]
11+
paths:
12+
- 'docs/**' # Only trigger when docs directory changes
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: false
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '18'
40+
cache: 'npm'
41+
cache-dependency-path: 'docs/package-lock.json'
42+
- name: Install dependencies
43+
working-directory: docs
44+
run: npm ci
45+
- name: Build site
46+
working-directory: docs
47+
run: npm run build
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: docs/build
52+
53+
# Deployment job for main branch
54+
deploy-main:
55+
environment:
56+
name: github-pages
57+
url: ${{ steps.deployment.outputs.page_url }}
58+
runs-on: ubuntu-latest
59+
needs: build
60+
if: github.ref == 'refs/heads/main' # Only deploy on main branch
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v4
65+
66+
# Deployment job for PR branches (will deploy to a PR-specific subdomain)
67+
deploy-preview:
68+
runs-on: ubuntu-latest
69+
needs: build
70+
if: github.event_name == 'pull_request' # Only deploy on PR
71+
environment:
72+
name: preview-${{ github.event.pull_request.number }}
73+
url: ${{ steps.deployment.outputs.page_url }}
74+
steps:
75+
- name: Deploy PR Preview
76+
id: deployment
77+
uses: actions/deploy-pages@v4
78+
with:
79+
preview: true
80+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

docs/.DS_Store

0 Bytes
Binary file not shown.

docs/docs/.DS_Store

0 Bytes
Binary file not shown.

docs/docs/release.mdx

Lines changed: 0 additions & 137 deletions
This file was deleted.

docs/src/.DS_Store

0 Bytes
Binary file not shown.

docs/src/components/HomepageFeatures/index.tsx

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@ const FeatureList: FeatureItem[] = [
1414
Svg: require('@site/static/img/easy-to-use.svg').default,
1515
description: (
1616
<>
17-
Playwright MCP Server is easy to use, just change the Claude config file and you are done.
17+
MCP Database Server is easy to configure. Just update your Claude Desktop config file, and you're ready to start querying your databases!
1818
</>
1919
),
2020
},
2121
{
22-
title: 'Test UI and APIs',
23-
Svg: require('@site/static/img/playwright.svg').default,
22+
title: 'Multiple Database Support',
23+
Svg: require('@site/static/img/mcp-database.svg').default,
2424
description: (
2525
<>
26-
Test both UI and API of your application with plain English text. No <code>code</code> required.
26+
Seamlessly connect to <code>SQLite</code>, <code>SQL Server</code>, and <code>PostgreSQL</code> databases with a consistent interface for all your data needs.
2727
</>
2828
),
2929
},
3030
{
31-
title: 'Powered by NodeJS',
31+
title: 'Powered by Node.js',
3232
Svg: require('@site/static/img/node.svg').default,
3333
description: (
3434
<>
35-
Playwright MCP Server is built on top of NodeJS, making it fast and efficient.
35+
Built with Node.js for high performance and reliability. Benefit from connection pooling, async operations, and efficient memory management.
3636
</>
3737
),
3838
},
@@ -41,12 +41,14 @@ const FeatureList: FeatureItem[] = [
4141
function Feature({title, Svg, description}: FeatureItem) {
4242
return (
4343
<div className={clsx('col col--4')}>
44-
<div className="text--center">
45-
<Svg className={styles.featureSvg} role="img" />
46-
</div>
47-
<div className="text--center padding-horiz--md">
48-
<Heading as="h3">{title}</Heading>
49-
<p>{description}</p>
44+
<div className={styles.featureItem}>
45+
<div className="text--center">
46+
<Svg className={styles.featureSvg} role="img" />
47+
</div>
48+
<div className="text--center">
49+
<Heading as="h3" className={styles.featureTitle}>{title}</Heading>
50+
<p className={styles.featureDescription}>{description}</p>
51+
</div>
5052
</div>
5153
</div>
5254
);
@@ -56,6 +58,12 @@ export default function HomepageFeatures(): JSX.Element {
5658
return (
5759
<section className={styles.features}>
5860
<div className="container">
61+
<div className="row">
62+
<div className="col col--12 text--center">
63+
<Heading as="h2">Key Features</Heading>
64+
<p style={{marginBottom: '3rem'}}>Powerful capabilities to enhance your Claude interactions with databases</p>
65+
</div>
66+
</div>
5967
<div className="row">
6068
{FeatureList.map((props, idx) => (
6169
<Feature key={idx} {...props} />

docs/src/components/HomepageFeatures/styles.module.css

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,39 @@
33
align-items: center;
44
padding: 2rem 0;
55
width: 100%;
6+
background-color: var(--ifm-color-emphasis-100);
67
}
78

89
.featureSvg {
9-
height: 200px;
10-
width: 200px;
10+
height: 140px;
11+
width: 140px;
12+
margin-bottom: 1.5rem;
13+
transition: transform 0.3s ease;
14+
}
15+
16+
.featureItem {
17+
padding: 2rem;
18+
border-radius: 8px;
19+
transition: all 0.3s ease;
20+
height: 100%;
21+
}
22+
23+
.featureItem:hover {
24+
transform: translateY(-5px);
25+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
26+
}
27+
28+
.featureItem:hover .featureSvg {
29+
transform: scale(1.05);
30+
}
31+
32+
.featureTitle {
33+
font-size: 1.5rem;
34+
font-weight: 600;
35+
margin-bottom: 1rem;
36+
}
37+
38+
.featureDescription {
39+
font-size: 1rem;
40+
line-height: 1.5;
1141
}

docs/src/css/custom.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
9+
--ifm-color-primary: #3578e5;
10+
--ifm-color-primary-dark: #2160c4;
11+
--ifm-color-primary-darker: #1a56b9;
12+
--ifm-color-primary-darkest: #144098;
13+
--ifm-color-primary-light: #4889e8;
14+
--ifm-color-primary-lighter: #5a96eb;
15+
--ifm-color-primary-lightest: #80aff0;
1616
--ifm-code-font-size: 95%;
1717
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
2121
[data-theme='dark'] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
22+
--ifm-color-primary: #4e89e8;
23+
--ifm-color-primary-dark: #3077e4;
24+
--ifm-color-primary-darker: #226fe3;
25+
--ifm-color-primary-darkest: #1957c0;
26+
--ifm-color-primary-light: #6c9bec;
27+
--ifm-color-primary-lighter: #7ca6ee;
28+
--ifm-color-primary-lightest: #a8c4f4;
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}

0 commit comments

Comments
 (0)