diff --git a/.vitepress/config.mts b/.vitepress/config.mts
index bf3b9b5..81c51fe 100644
--- a/.vitepress/config.mts
+++ b/.vitepress/config.mts
@@ -1,33 +1,37 @@
import { defineConfig } from 'vitepress'
export default defineConfig({
- title: "OpenMCP",
- description: "为开发者和科研人员准备的MCP开发环境和SDK",
- themeConfig: {
- // https://vitepress.dev/reference/default-theme-config
- nav: [
- { text: 'Home', link: '/' },
- { text: 'Examples', link: '/markdown-examples' }
- ],
+ title: "OpenMCP",
+ description: "为开发者和科研人员准备的MCP开发环境和SDK",
+ head: [
+ ['link', { rel: 'icon', href: '/images/favicon.png' }]
+ ],
+ themeConfig: {
+ // https://vitepress.dev/reference/default-theme-config
+ nav: [
+ { text: 'Home', link: '/' },
+ { text: 'Examples', link: '/markdown-examples' }
+ ],
- sidebar: [
- {
- text: 'Examples',
- items: [
- { text: 'Markdown Examples', link: '/markdown-examples' },
- { text: 'Runtime API Examples', link: '/api-examples' }
- ]
- }
- ],
+ sidebar: [
+ {
+ text: 'Examples',
+ items: [
+ { text: 'Markdown Examples', link: '/markdown-examples' },
+ { text: 'Runtime API Examples', link: '/api-examples' }
+ ]
+ }
+ ],
- socialLinks: [
- { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
- ],
- footer: {
- message: '缩短LLM到Agent的最后一公里'
- },
-
- // 添加右侧图片配置
- logo: '/openmcp.png', // 确保图片放在public目录下
- }
+ socialLinks: [
+ { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
+ ],
+ footer: {
+ message: '缩短LLM到Agent的最后一公里',
+ copyright: 'OpenMCP All rights reserved'
+ },
+
+ // 添加右侧图片配置
+ logo: '/images/openmcp.png', // 确保图片放在public目录下
+ }
})
diff --git a/.vitepress/theme/openmcp-hero-image.vue b/.vitepress/theme/components/home/HeroImage.vue
similarity index 75%
rename from .vitepress/theme/openmcp-hero-image.vue
rename to .vitepress/theme/components/home/HeroImage.vue
index f1b38db..837ca9a 100644
--- a/.vitepress/theme/openmcp-hero-image.vue
+++ b/.vitepress/theme/components/home/HeroImage.vue
@@ -1,5 +1,7 @@
-
+
+

+
\ No newline at end of file
diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.mts
similarity index 69%
rename from .vitepress/theme/index.ts
rename to .vitepress/theme/index.mts
index deaf629..4351c65 100644
--- a/.vitepress/theme/index.ts
+++ b/.vitepress/theme/index.mts
@@ -2,7 +2,8 @@
import { h } from 'vue';
import type { Theme } from 'vitepress';
import DefaultTheme from 'vitepress/theme';
-import HeroImage from './openmcp-hero-image.vue';
+import HeroImage from './components/home/HeroImage.vue';
+import TwoSideLayout from './components/home/TwoSideLayout.vue';
import './style.css';
@@ -14,6 +15,6 @@ export default {
})
},
enhanceApp({ app, router, siteData }) {
- // ...
+ app.component('TwoSideLayout', TwoSideLayout);
}
} satisfies Theme
diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css
index 1a61cb1..e06bddf 100644
--- a/.vitepress/theme/style.css
+++ b/.vitepress/theme/style.css
@@ -137,3 +137,6 @@
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}
+.two-side-layout .image-container {
+ display: unset !important;
+}
\ No newline at end of file
diff --git a/.vscode/vue.code-snippets b/.vscode/vue.code-snippets
new file mode 100644
index 0000000..f43c10a
--- /dev/null
+++ b/.vscode/vue.code-snippets
@@ -0,0 +1,20 @@
+{
+ "Vue 3 TypeScript Component": {
+ "prefix": "vue3ts",
+ "body": [
+ "",
+ "\t$1",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "description": "Vue 3 TypeScript component template"
+ }
+}
\ No newline at end of file
diff --git a/openmcp.png b/images/favicon.png
similarity index 100%
rename from openmcp.png
rename to images/favicon.png
diff --git a/images/openmcp.chatbot.png b/images/openmcp.chatbot.png
new file mode 100644
index 0000000..6b50065
Binary files /dev/null and b/images/openmcp.chatbot.png differ
diff --git a/images/openmcp.png b/images/openmcp.png
new file mode 100644
index 0000000..a6e7815
Binary files /dev/null and b/images/openmcp.png differ
diff --git a/images/public-deploy.png b/images/public-deploy.png
new file mode 100644
index 0000000..e3b0bd4
Binary files /dev/null and b/images/public-deploy.png differ
diff --git a/index.md b/index.md
index ac7c8de..0849163 100644
--- a/index.md
+++ b/index.md
@@ -4,26 +4,45 @@ layout: home
hero:
name: "OpenMCP"
- text: "elegant mcp debuggers and sdk for developers"
- tagline: Shortening the last mile from LLM to Agent
-
+ text: "面向开发者的优雅 MCP 调试器和 SDK"
+ tagline: 缩短从大语言模型到智能体的最后一公里
+
actions:
- theme: brand
- text: OpenMCP Client
+ text: OpenMCP 客户端
link: /markdown-examples
- theme: alt
text: openmcp-sdk
link: /api-examples
- theme: alt
- text: Github
- link: /api-examples
+ text: GitHub
+ link: https://github.com/LSTM-Kirigaya/openmcp-client
features:
- - title: Integrated Debugging Environment
- details: Combines Inspector with MCP client functions for seamless development and testing
- - title: Comprehensive Project Management
- details: Offers complete project-level control panels for efficient MCP project oversight
- - title: Multi-Model Support
- details: Supports various large language models with flexible integration capabilities
+ - title: 集成调试环境
+ details: 将检查器与 MCP 客户端功能相结合,实现无缝开发和测试
+ - title: 全面的项目管理
+ details: 提供完整的项目级控制面板,实现高效的 MCP 项目监督
+ - title: 多模型支持
+ details: 支持多种大语言模型,具备灵活的集成能力
---
+
+
+
+
+# OpenMCP 为谁准备?
+
+开源社区爱好者专业软件工程师AI研发科学家
+
+