|
3 | 3 |
|
4 | 4 | def register_destination_connectors(mcp: FastMCP): |
5 | 5 | """Register all destination connector tools with the MCP server.""" |
6 | | - from .astra import ( |
7 | | - create_astradb_destination, |
8 | | - delete_astradb_destination, |
9 | | - update_astradb_destination, |
| 6 | + from connectors.destination.mongo import ( |
| 7 | + create_mongodb_destination, |
| 8 | + update_mongodb_destination, |
10 | 9 | ) |
| 10 | + |
| 11 | + from .astra import create_astradb_destination, update_astradb_destination |
11 | 12 | from .databricks_vdt import ( |
12 | 13 | create_databricks_delta_table_destination, |
13 | | - delete_databricks_delta_table_destination, |
14 | 14 | update_databricks_delta_table_destination, |
15 | 15 | ) |
16 | 16 | from .databricksvolumes import ( |
17 | 17 | create_databricks_volumes_destination, |
18 | | - delete_databricks_volumes_destination, |
19 | 18 | update_databricks_volumes_destination, |
20 | 19 | ) |
21 | | - from .mongo import ( |
22 | | - create_mongodb_destination, |
23 | | - delete_mongodb_destination, |
24 | | - update_mongodb_destination, |
25 | | - ) |
26 | | - from .neo4j import ( |
27 | | - create_neo4j_destination, |
28 | | - delete_neo4j_destination, |
29 | | - update_neo4j_destination, |
30 | | - ) |
31 | | - from .pinecone import ( |
32 | | - create_pinecone_destination, |
33 | | - delete_pinecone_destination, |
34 | | - update_pinecone_destination, |
35 | | - ) |
36 | | - from .s3 import create_s3_destination, delete_s3_destination, update_s3_destination |
37 | | - from .weaviate import ( |
38 | | - create_weaviate_destination, |
39 | | - delete_weaviate_destination, |
40 | | - update_weaviate_destination, |
41 | | - ) |
| 20 | + from .neo4j import create_neo4j_destination, update_neo4j_destination |
| 21 | + from .pinecone import create_pinecone_destination, update_pinecone_destination |
| 22 | + from .s3 import create_s3_destination, update_s3_destination |
| 23 | + from .weaviate import create_weaviate_destination, update_weaviate_destination |
42 | 24 |
|
43 | 25 | # Register S3 destination connector tools |
44 | 26 | mcp.tool()(create_s3_destination) |
45 | 27 | mcp.tool()(update_s3_destination) |
46 | | - mcp.tool()(delete_s3_destination) |
47 | 28 |
|
48 | 29 | # Register Weaviate destination connector tools |
49 | 30 | mcp.tool()(create_weaviate_destination) |
50 | 31 | mcp.tool()(update_weaviate_destination) |
51 | | - mcp.tool()(delete_weaviate_destination) |
52 | 32 |
|
53 | 33 | # Register AstraDB destination connector tools |
54 | 34 | mcp.tool()(create_astradb_destination) |
55 | 35 | mcp.tool()(update_astradb_destination) |
56 | | - mcp.tool()(delete_astradb_destination) |
57 | 36 |
|
58 | 37 | # Register Neo4j destination connector tools |
59 | 38 | mcp.tool()(create_neo4j_destination) |
60 | 39 | mcp.tool()(update_neo4j_destination) |
61 | | - mcp.tool()(delete_neo4j_destination) |
62 | 40 |
|
63 | 41 | # Register MongoDB destination connector tools |
64 | 42 | mcp.tool()(create_mongodb_destination) |
65 | 43 | mcp.tool()(update_mongodb_destination) |
66 | | - mcp.tool()(delete_mongodb_destination) |
67 | 44 |
|
68 | 45 | # Register databricks destination connector tools |
69 | 46 | mcp.tool()(create_databricks_volumes_destination) |
70 | 47 | mcp.tool()(update_databricks_volumes_destination) |
71 | | - mcp.tool()(delete_databricks_volumes_destination) |
72 | 48 |
|
73 | 49 | # Register databricks delta table destination connector tools |
74 | 50 | mcp.tool()(create_databricks_delta_table_destination) |
75 | 51 | mcp.tool()(update_databricks_delta_table_destination) |
76 | | - mcp.tool()(delete_databricks_delta_table_destination) |
77 | 52 |
|
78 | 53 | # Register Pinecone destination connector tools |
79 | 54 |
|
80 | 55 | mcp.tool()(create_pinecone_destination) |
81 | 56 | mcp.tool()(update_pinecone_destination) |
82 | | - mcp.tool()(delete_pinecone_destination) |
0 commit comments