+
+
+
+
+
+
\ No newline at end of file
diff --git a/.vitepress/theme/index.mts b/.vitepress/theme/index.mts
index 2da69bf..bf401d4 100644
--- a/.vitepress/theme/index.mts
+++ b/.vitepress/theme/index.mts
@@ -2,17 +2,21 @@
import { h } from 'vue';
import type { Theme } from 'vitepress';
import DefaultTheme from 'vitepress/theme';
+
+import CustomLayout from './Layout.vue';
+
import HeroImage from './components/home/HeroImage.vue';
import TwoSideLayout from './components/home/TwoSideLayout.vue';
import KTab from './components/KTab/index.vue';
import BiliPlayer from './components/bilibli-player/index.vue';
+import KNavItem from './components/nav-item/index.vue';
import './style.css';
export default {
extends: DefaultTheme,
Layout: () => {
- return h(DefaultTheme.Layout, null, {
+ return h(CustomLayout, null, {
'home-hero-image': () => h(HeroImage)
})
},
@@ -20,5 +24,6 @@ export default {
app.component('TwoSideLayout', TwoSideLayout);
app.component('KTab', KTab);
app.component('BiliPlayer', BiliPlayer);
+ app.component('KNavItem', KNavItem);
}
} satisfies Theme
diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css
index 5d8fb2c..d0acdf1 100644
--- a/.vitepress/theme/style.css
+++ b/.vitepress/theme/style.css
@@ -129,6 +129,11 @@
--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);
}
+:root {
+ --vp-home-hero-name-color: transparent;
+ --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe, #41d1ff);
+}
+
/**
* Component: Algolia
* -------------------------------------------------------------------------- */
@@ -143,6 +148,8 @@
.VPHero .image-container img {
box-shadow: unset !important;
+ max-width: 290px !important;
+ max-height: 290px !important;
}
iframe {
diff --git a/images/icons/ai.svg b/images/icons/ai.svg
new file mode 100644
index 0000000..5386a79
--- /dev/null
+++ b/images/icons/ai.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/images/icons/group.svg b/images/icons/group.svg
new file mode 100644
index 0000000..ab4c8b4
--- /dev/null
+++ b/images/icons/group.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/images/icons/monitor.svg b/images/icons/monitor.svg
new file mode 100644
index 0000000..f605195
--- /dev/null
+++ b/images/icons/monitor.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/images/icons/openmcp-sdk.svg b/images/icons/openmcp-sdk.svg
new file mode 100644
index 0000000..60f824f
--- /dev/null
+++ b/images/icons/openmcp-sdk.svg
@@ -0,0 +1,34 @@
+
+
\ No newline at end of file
diff --git a/images/icons/openmcp.svg b/images/icons/openmcp.svg
new file mode 100644
index 0000000..8a81d2f
--- /dev/null
+++ b/images/icons/openmcp.svg
@@ -0,0 +1,21 @@
+
+
\ No newline at end of file
diff --git a/images/icons/vscode.svg b/images/icons/vscode.svg
new file mode 100644
index 0000000..c453e63
--- /dev/null
+++ b/images/icons/vscode.svg
@@ -0,0 +1,41 @@
+
diff --git a/images/openmcp.png b/images/openmcp.png
index a6e7815..a0647be 100644
Binary files a/images/openmcp.png and b/images/openmcp.png differ
diff --git a/index.md b/index.md
index 675cf89..6fc8849 100644
--- a/index.md
+++ b/index.md
@@ -6,33 +6,51 @@ hero:
name: "OpenMCP"
text: "面向开发者的优雅 MCP 调试器和 SDK"
tagline: 缩短从大语言模型到智能体的最后一公里
+ image:
+ src: /images/openmcp.png
+ alt: VitePress
actions:
- theme: brand
- text: OpenMCP 客户端
+ text: OpenMCP 插件
link: /markdown-examples
- theme: alt
text: openmcp-sdk
- link: /api-examples
+ link: /sdk-tutorial
- theme: alt
text: GitHub
link: https://github.com/LSTM-Kirigaya/openmcp-client
+features:
+ - icon:
+ src: /images/icons/vscode.svg
+ height: 48px
+ alt: 集成调试环境
+ title: 集成调试环境
+ details: 将检查器与 MCP 客户端功能相结合,实现无缝开发和测试
+ - icon:
+ src: /images/openmcp.png
+ height: 48px
+ alt: 提供完整的项目级控制面板
+ title: 全面的项目管理
+ details: 提供完整的项目级控制面板,实现高效的 MCP 项目监督
+ - icon:
+ src: /images/icons/openmcp-sdk.svg
+ height: 48px
+ alt: 提供完整的项目级控制面板
+ title: 完整的部署方案
+ details: 将测试完成的 agent 通过 openmcp-sdk 部署到您的应用或者服务器上
---
+
-
-
-
-
-
-# OpenMCP 为谁准备?
+## OpenMCP 为谁准备?
@@ -48,7 +66,6 @@ hero:
]"
image="/images/openmcp.chatbot.png"
/>
-
-
-
+
diff --git a/api-examples.md b/plugin-tutorial/index.md
similarity index 100%
rename from api-examples.md
rename to plugin-tutorial/index.md
diff --git a/preview/changelog.md b/preview/changelog.md
new file mode 100644
index 0000000..ff97b7c
--- /dev/null
+++ b/preview/changelog.md
@@ -0,0 +1,3 @@
+---
+layout: page
+---
\ No newline at end of file
diff --git a/preview/channel.md b/preview/channel.md
new file mode 100644
index 0000000..ff97b7c
--- /dev/null
+++ b/preview/channel.md
@@ -0,0 +1,3 @@
+---
+layout: page
+---
\ No newline at end of file
diff --git a/preview/join.md b/preview/join.md
new file mode 100644
index 0000000..f225708
--- /dev/null
+++ b/preview/join.md
@@ -0,0 +1,62 @@
+---
+layout: page
+---
+
+
+
+
+
+
+ OpenMCP 贡献者列表
+
+
+ OpenMCP 是一个非盈利的开源项目,它由对编程和AI技术热爱的开发者共同开发。我们欢迎任何有兴趣参与的开发者加入我们的项目中,一起努力提高AI技术的应用水平。
+
+
+
+
\ No newline at end of file
diff --git a/sdk-tutorial/index.md b/sdk-tutorial/index.md
new file mode 100644
index 0000000..6bd8bb5
--- /dev/null
+++ b/sdk-tutorial/index.md
@@ -0,0 +1,49 @@
+---
+outline: deep
+---
+
+# Runtime API Examples
+
+This page demonstrates usage of some of the runtime APIs provided by VitePress.
+
+The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
+
+```md
+
+
+## Results
+
+### Theme Data
+
{{ theme }}
+
+### Page Data
+
{{ page }}
+
+### Page Frontmatter
+
{{ frontmatter }}
+```
+
+
+
+## Results
+
+### Theme Data
+
{{ theme }}
+
+### Page Data
+
{{ page }}
+
+### Page Frontmatter
+
{{ frontmatter }}
+
+## More
+
+Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).