Compare commits

..

No commits in common. "e98ad038c5d880bd9953c13c23fe1e047ec3ba09" and "0e057bec1a418f42f808450c83522ed87241c61e" have entirely different histories.

4 changed files with 5 additions and 9 deletions

View File

@ -9,8 +9,6 @@
<a href="https://discord.gg/af5cfB9a" target="_blank" style="display: inline-block; padding: 8px 16px; background-color: rgb(84, 176, 84); color: white; border-radius: .5em; text-decoration: none;"> 加入 OpenMCP Discord频道</a> <a href="https://discord.gg/af5cfB9a" target="_blank" style="display: inline-block; padding: 8px 16px; background-color: rgb(84, 176, 84); color: white; border-radius: .5em; text-decoration: none;"> 加入 OpenMCP Discord频道</a>
<a href="https://github.com/LSTM-Kirigaya/openmcp-document" target="_blank" style="display: inline-block; padding: 8px 16px; background-color: rgb(84, 176, 84); color: white; border-radius: .5em; text-decoration: none;"> 📄OpenMCP 文档仓库</a>
</div> </div>
@ -19,7 +17,6 @@
一款用于 MCP 服务端调试的一体化 vscode/trae/cursor 插件。 一款用于 MCP 服务端调试的一体化 vscode/trae/cursor 插件。
<video src="https://github.com/user-attachments/assets/ab214d58-b77c-4bd3-8b6e-55552f4036ff" width="100%"></video> <video src="https://github.com/user-attachments/assets/ab214d58-b77c-4bd3-8b6e-55552f4036ff" width="100%"></video>
<video src="https://github.com/user-attachments/assets/c17a4ad7-83b4-47ff-8627-85b57ad18940" width="100%"></video> <video src="https://github.com/user-attachments/assets/c17a4ad7-83b4-47ff-8627-85b57ad18940" width="100%"></video>

View File

@ -471,8 +471,7 @@ class McpClientAdapter {
for (const item of launchSignature) { for (const item of launchSignature) {
// 创建一个新的客户端 // 创建一个新的客户端
// const client = reactive(new McpClient()); const client = reactive(new McpClient());
const client = new McpClient();
// 同步连接参数 // 同步连接参数
await client.acquireConnectionSignature(item); await client.acquireConnectionSignature(item);

View File

@ -62,11 +62,11 @@ function selectServer(index: number) {
} }
function addServer() { function addServer() {
// const client = reactive(new McpClient()); const client = reactive(new McpClient());
const client = new McpClient();
mcpClientAdapter.clients.push(client); mcpClientAdapter.clients.push(client);
mcpClientAdapter.currentClientIndex = mcpClientAdapter.clients.length - 1; mcpClientAdapter.currentClientIndex = mcpClientAdapter.clients.length - 1;
mcpClientAdapter.clients.at(-1)!.handleEnvSwitch(true);
client.handleEnvSwitch(true);
} }

View File

@ -1,6 +1,6 @@
{ {
"clientId": "83313e18-3e18-513e1883c06-813e1883c060a6b-60a6b641", "clientId": "83313e18-3e18-513e1883c06-813e1883c060a6b-60a6b641",
"currentIndex": 0, "currentIndex": 1,
"tabs": [ "tabs": [
{ {
"name": "交互测试", "name": "交互测试",