- Updated the addTaskComment method to include the author as 'user' for better context in task comments. - Enhanced error handling in TeamProvisioningService during MCP config file writing to ensure proper cleanup on failure. - Improved user interface elements in TeamDetailView and AddMemberDialog for better accessibility and responsiveness. - Refined mention handling in MentionableTextarea to allow for smoother user interactions with task references. - Adjusted CSS styles for better visual contrast in light theme, enhancing overall user experience.
24 lines
482 B
JavaScript
24 lines
482 B
JavaScript
#!/usr/bin/env node
|
|
import { pathToFileURL } from 'node:url';
|
|
|
|
import { FastMCP } from 'fastmcp';
|
|
|
|
import { registerTools } from './tools';
|
|
|
|
export function createServer() {
|
|
const server = new FastMCP({
|
|
name: 'agent-teams-mcp',
|
|
version: '1.0.0',
|
|
});
|
|
|
|
registerTools(server);
|
|
|
|
return server;
|
|
}
|
|
|
|
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
|
|
const server = createServer();
|
|
void server.start({
|
|
transportType: 'stdio',
|
|
});
|
|
}
|