Add gitignor
This commit is contained in:
31
mcp_servers/traveller_map/dist/server.js
vendored
Normal file
31
mcp_servers/traveller_map/dist/server.js
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
||||
import * as getSubsectorMap from './tools/get_subsector_map.js';
|
||||
import * as renderCustomMap from './tools/render_custom_map.js';
|
||||
import * as getWorldInfo from './tools/get_world_info.js';
|
||||
import * as searchWorlds from './tools/search_worlds.js';
|
||||
import * as getJumpMap from './tools/get_jump_map.js';
|
||||
import * as findRoute from './tools/find_route.js';
|
||||
import * as getWorldsInJumpRange from './tools/get_worlds_in_jump_range.js';
|
||||
import * as getSectorList from './tools/get_sector_list.js';
|
||||
import * as getSectorData from './tools/get_sector_data.js';
|
||||
import * as getSectorMetadata from './tools/get_sector_metadata.js';
|
||||
import * as getAllegianceList from './tools/get_allegiance_list.js';
|
||||
export function createServer() {
|
||||
const server = new McpServer({
|
||||
name: 'traveller-map',
|
||||
version: '1.0.0',
|
||||
});
|
||||
server.registerTool(getSubsectorMap.name, { description: getSubsectorMap.description, inputSchema: getSubsectorMap.inputSchema.shape }, (args) => getSubsectorMap.handler(args));
|
||||
server.registerTool(renderCustomMap.name, { description: renderCustomMap.description, inputSchema: renderCustomMap.inputSchema.shape }, (args) => renderCustomMap.handler(args));
|
||||
server.registerTool(getWorldInfo.name, { description: getWorldInfo.description, inputSchema: getWorldInfo.inputSchema.shape }, (args) => getWorldInfo.handler(args));
|
||||
server.registerTool(searchWorlds.name, { description: searchWorlds.description, inputSchema: searchWorlds.inputSchema.shape }, (args) => searchWorlds.handler(args));
|
||||
server.registerTool(getJumpMap.name, { description: getJumpMap.description, inputSchema: getJumpMap.inputSchema.shape }, (args) => getJumpMap.handler(args));
|
||||
server.registerTool(findRoute.name, { description: findRoute.description, inputSchema: findRoute.inputSchema.shape }, (args) => findRoute.handler(args));
|
||||
server.registerTool(getWorldsInJumpRange.name, { description: getWorldsInJumpRange.description, inputSchema: getWorldsInJumpRange.inputSchema.shape }, (args) => getWorldsInJumpRange.handler(args));
|
||||
server.registerTool(getSectorList.name, { description: getSectorList.description, inputSchema: getSectorList.inputSchema.shape }, (args) => getSectorList.handler(args));
|
||||
server.registerTool(getSectorData.name, { description: getSectorData.description, inputSchema: getSectorData.inputSchema.shape }, (args) => getSectorData.handler(args));
|
||||
server.registerTool(getSectorMetadata.name, { description: getSectorMetadata.description, inputSchema: getSectorMetadata.inputSchema.shape }, (args) => getSectorMetadata.handler(args));
|
||||
server.registerTool(getAllegianceList.name, { description: getAllegianceList.description, inputSchema: getAllegianceList.inputSchema.shape }, (args) => getAllegianceList.handler(args));
|
||||
return server;
|
||||
}
|
||||
//# sourceMappingURL=server.js.map
|
||||
Reference in New Issue
Block a user