MCP Tools Ecosystem: 58+ Integrations
Since: v7.0.0 | Status: Production Ready | MCP Version: 2024-11-05
Overview
NeuroLink's Model Context Protocol (MCP) integration provides a universal plugin system that transforms the SDK from a simple AI interface into a complete AI development platform. With 6 built-in core tools and access to 58+ community MCP servers, you can extend AI capabilities to interact with filesystems, databases, APIs, cloud services, and custom enterprise systems.
What is MCP?
The Model Context Protocol is an open standard (like USB-C for AI) that enables AI models to securely interact with external tools and data sources through a unified interface. Think of it as:
- For Developers: A standardized way to connect AI to any external system
- For AI Models: A tool registry with discoverable, executable functions
- For Enterprises: A controlled, auditable way to extend AI capabilities
Why MCP Matters
| Traditional Approach | MCP Approach | Benefit |
|---|---|---|
| Custom tool integrations per provider | One MCP tool works everywhere | 10x faster integration |
| Manual tool discovery and configuration | Automatic tool registry | Zero-config tool usage |
| Provider-specific tool formats | Universal JSON-RPC protocol | Provider portability |
| Limited to SDK-defined tools | 58+ community servers + custom | Unlimited extensibility |
| Static tool set | Dynamic runtime addition | Adapt to changing needs |
NeuroLink's Deep MCP Integration
Factory-First Architecture: MCP tools work internally while users see simple factory methods:
// Same simple interface
const result = await neurolink.generate({
input: { text: "List files and create a summary document" },
});
// But internally powered by:
// ✅ Context tracking across tool chains
// ✅ Permission-based security
// ✅ Tool registry and discovery
// ✅ Pipeline execution with error recovery
// ✅ Rich analytics and monitoring
Key Features:
- 99% Lighthouse Compatible: Existing MCP tools work with minimal changes
- Dynamic Server Management: Add/remove MCP servers programmatically
- Rich Context: 15+ fields including session, user, permissions, metadata
- Performance Optimized: 0-11ms tool execution (target: <100ms)
- Enterprise Grade: Comprehensive error handling, audit logging, security
Quick Start
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink();
// Add the GitHub MCP server
await neurolink.addExternalMCPServer("github", {
command: "npx",
args: ["-y", "@modelcontextprotocol/server-github"],
env: { GITHUB_PERSONAL_ACCESS_TOKEN: process.env.GITHUB_TOKEN! },
});
// The AI can now use GitHub tools automatically
const result = await neurolink.generate({
input: { text: "List open issues in my-org/my-repo" },
});
console.log(result.content);
Built-in Core Tools (6)
NeuroLink ships with 6 essential tools that require zero configuration:
1. getCurrentTime
Purpose: Real-time clock with timezone support
Auto-Available: Yes (always enabled)
Use Cases:
- Timestamp generation
- Timezone conversions
- Scheduling and reminders
- Time-based calculations
Example:
const result = await neurolink.generate({
input: { text: "What time is it in Tokyo?" },
});
// AI uses getCurrentTime tool automatically
Tool Schema:
{
name: "getCurrentTime",
description: "Get current time in specified timezone",
parameters: {
timezone: {
type: "string",
description: "IANA timezone (e.g., 'America/New_York', 'Asia/Tokyo')",
optional: true
}
}
}
2. readFile
Purpose: Read file contents from filesystem
Auto-Available: Yes (with filesystem access)
Use Cases:
- Document analysis
- Code review
- Configuration reading
- Log file processing
Example:
const result = await neurolink.generate({
input: { text: "Summarize the README.md file" },
});
// AI reads and summarizes automatically
Tool Schema:
{
name: "readFile",
description: "Read contents of a file",
parameters: {
path: {
type: "string",
description: "Absolute or relative file path",
required: true
},
encoding: {
type: "string",
description: "File encoding (default: utf-8)",
optional: true
}
}
}
3. writeFile
Purpose: Write content to filesystem
Auto-Available: Yes (with HITL approval recommended)
Use Cases:
- Generated content saving
- Report creation
- Configuration updates
- Code generation output
Example:
const result = await neurolink.generate({
input: { text: "Generate a README and save it to README.md" },
hitl: {
enabled: true,
requireApproval: ["writeFile"],
},
});
// AI generates content and requests approval to save
Tool Schema:
{
name: "writeFile",
description: "Write content to a file",
parameters: {
path: {
type: "string",
description: "File path to write",
required: true
},
content: {
type: "string",
description: "Content to write",
required: true
},
overwrite: {
type: "boolean",
description: "Overwrite if exists (default: false)",
optional: true
}
}
}
4. listDirectory
Purpose: List files and directories
Auto-Available: Yes (with filesystem access)
Use Cases:
- Project structure analysis
- File discovery
- Directory traversal
- Asset inventory
Example:
const result = await neurolink.generate({
input: { text: "What TypeScript files are in the src directory?" },
});
// AI lists directory and filters for .ts files
Tool Schema:
{
name: "listDirectory",
description: "List contents of a directory",
parameters: {
path: {
type: "string",
description: "Directory path",
required: true
},
recursive: {
type: "boolean",
description: "Recursive listing (default: false)",
optional: true
},
filter: {
type: "string",
description: "File extension filter (e.g., '.ts')",
optional: true
}
}
}
5. calculateMath
Purpose: Complex mathematical calculations
Auto-Available: Yes (always enabled)
Use Cases:
- Financial calculations
- Statistical analysis
- Unit conversions
- Scientific computations
Example:
const result = await neurolink.generate({
input: { text: "Calculate compound interest: $10,000 at 5% for 10 years" },
});
// AI uses calculateMath for precise calculation
Tool Schema:
{
name: "calculateMath",
description: "Evaluate mathematical expressions",
parameters: {
expression: {
type: "string",
description: "Mathematical expression to evaluate",
required: true
},
precision: {
type: "number",
description: "Decimal precision (default: 2)",
optional: true
}
}
}
6. websearchGrounding
Purpose: Web search with result grounding
Auto-Available: Only with Google Vertex AI provider
Use Cases:
- Real-time information lookup
- Fact verification
- Current events
- Research augmentation
Example:
const result = await neurolink.generate({
input: { text: "What are the latest developments in quantum computing?" },
provider: "google-vertex", // Required for web search
});
// AI searches web and grounds response in search results
Tool Schema:
{
name: "websearchGrounding",
description: "Search the web and ground responses in results",
parameters: {
query: {
type: "string",
description: "Search query",
required: true
},
maxResults: {
type: "number",
description: "Maximum results to return (default: 5)",
optional: true
}
}
}
Note: This tool is provider-specific (Google Vertex AI only) and leverages Google's grounding capabilities.
External MCP Servers (58+)
NeuroLink integrates with the growing MCP ecosystem of 58+ external servers across 6 major categories.
Quick Integration Example
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink();
// Add external MCP servers dynamically
await neurolink.addExternalMCPServer("github", {
command: "npx",
args: ["-y", "@modelcontextprotocol/server-github"],
env: {
GITHUB_PERSONAL_ACCESS_TOKEN: process.env.GITHUB_TOKEN,
},
});
await neurolink.addExternalMCPServer("postgres", {
command: "npx",
args: ["-y", "@modelcontextprotocol/server-postgres"],
env: {
POSTGRES_CONNECTION_STRING: process.env.DATABASE_URL,
},
});
// Now AI can use GitHub and PostgreSQL tools
const result = await neurolink.generate({
input: {
text: "Query the users table and create a GitHub issue summarizing active users",
},
});
Productivity Tools (8 Servers)
Enterprise collaboration and workflow automation
GitHub - Complete Repository Management
Install: npx @modelcontextprotocol/server-github
Tools (15):
create_issue- Create GitHub issuescreate_pull_request- Create PRs with difflist_repos- List repositoriessearch_code- Search code across reposget_file_contents- Read file from repocreate_branch- Create new branchlist_commits- View commit historyget_issue- Get issue detailsupdate_issue- Update issue statuscomment_on_issue- Add commentslist_pull_requests- List PRsmerge_pull_request- Merge PRcreate_repository- Create new repofork_repository- Fork repostar_repository- Star repo
Use Cases:
- Automated code reviews
- Issue management from AI chat
- Repository analysis
- CI/CD integration
- Team collaboration
Example:
await neurolink.addExternalMCPServer("github", {
command: "npx",
args: ["-y", "@modelcontextprotocol/server-github"],
env: {
GITHUB_PERSONAL_ACCESS_TOKEN: process.env.GITHUB_TOKEN,
},
});
const result = await neurolink.generate({
input: {
text: "Create an issue in my repo 'neurolink-examples' titled 'Add HITL example'",
},
});
// AI creates issue automatically