MCPcopy Create free account
hub / github.com/dallay/agentsync / create_test_server

Function create_test_server

src/mcp.rs:1582–1596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1580 // ==========================================================================
1581
1582 fn create_test_server() -> McpServerConfig {
1583 McpServerConfig {
1584 command: Some("npx".to_string()),
1585 args: vec![
1586 "-y".to_string(),
1587 "@modelcontextprotocol/server-filesystem".to_string(),
1588 ".".to_string(),
1589 ],
1590 env: BTreeMap::new(),
1591 url: None,
1592 headers: BTreeMap::new(),
1593 transport_type: None,
1594 disabled: false,
1595 }
1596 }
1597
1598 fn assert_object_keys_in_order(object: &Map<String, Value>, keys: &[&str]) {
1599 let actual_keys: Vec<&str> = object.keys().map(|key| key.as_str()).collect();

Calls

no outgoing calls