Commit 654872d
feat(router): Improve function naming in router
Only prefix server id to elements in mcp server if there's a conflict in name.
* allow profile and client id to be unset for router
* support pass in profile path for router
* make sure tool name is unique across servers
* tweak message
* add api to get the app directly
* handle life span
* fix type
* fix router
* chore: provide a mode to control only rename tool when there is conflict
* test: fix tests
* Update semantic-check.yml
* Update semantic-check.yml
* Update semantic-check.yml
* Update semantic-check.yml
* Update semantic-check.yml
* Update semantic-check.yml
* chore: fix comment
---------
Co-authored-by: Jonathan Wang <[email protected]>
Co-authored-by: cnie <[email protected]>1 parent 903c89e commit 654872d
File tree
6 files changed
+223
-137
lines changed- .github/workflows
- src/mcpm/router
- tests
6 files changed
+223
-137
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
56 | | - | |
57 | | - | |
| 52 | + | |
58 | 53 | | |
59 | | - | |
60 | | - | |
| 54 | + | |
| 55 | + | |
61 | 56 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 57 | + | |
72 | 58 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments