agent-ecosystem/mcp-server/src/index.ts
iliya bd96e3672b fix: enhance task comment functionality and improve UI interactions
- 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.
2026-03-07 21:22:49 +02:00

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',
});
}