Compare commits
3 Commits
0e057bec1a
...
e98ad038c5
Author | SHA1 | Date | |
---|---|---|---|
e98ad038c5 | |||
d1a392bb87 | |||
![]() |
ac9bd43654 |
@ -9,6 +9,8 @@
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
@ -17,6 +19,7 @@
|
||||
|
||||
一款用于 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/c17a4ad7-83b4-47ff-8627-85b57ad18940" width="100%"></video>
|
||||
|
@ -471,7 +471,8 @@ class McpClientAdapter {
|
||||
for (const item of launchSignature) {
|
||||
|
||||
// 创建一个新的客户端
|
||||
const client = reactive(new McpClient());
|
||||
// const client = reactive(new McpClient());
|
||||
const client = new McpClient();
|
||||
|
||||
// 同步连接参数
|
||||
await client.acquireConnectionSignature(item);
|
||||
|
@ -62,11 +62,11 @@ function selectServer(index: number) {
|
||||
}
|
||||
|
||||
function addServer() {
|
||||
const client = reactive(new McpClient());
|
||||
// const client = reactive(new McpClient());
|
||||
const client = new McpClient();
|
||||
mcpClientAdapter.clients.push(client);
|
||||
mcpClientAdapter.currentClientIndex = mcpClientAdapter.clients.length - 1;
|
||||
|
||||
client.handleEnvSwitch(true);
|
||||
mcpClientAdapter.clients.at(-1)!.handleEnvSwitch(true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"clientId": "83313e18-3e18-513e1883c06-813e1883c060a6b-60a6b641",
|
||||
"currentIndex": 1,
|
||||
"currentIndex": 0,
|
||||
"tabs": [
|
||||
{
|
||||
"name": "交互测试",
|
||||
|
Loading…
x
Reference in New Issue
Block a user