About Presentation
Presentation is an MCP server published by sankettank66 in the Developer Tools category: this Repo, walks you through setting up a Model Context Protocol (MCP) server using the Javascript SDK.
The repository has 5 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/sankettank66/MCP-PresentationThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Presentation
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
MCP Server Setup with JavaScript
This guide walks you through setting up a Model Context Protocol (MCP) server using JavaScript.
Prerequisites
- Node.js (v16 or higher)
- npm or yarn package manager
- latest VS Code
Setup Instructions
1. Initialize Your Project
npm init -y
2. Install Dependencies
npm install @modelcontextprotocol/sdk zod
3. Create Project Structure
mkdir src
# or on Windows: md src
touch src/index.js
# or on Windows: new-item src\index.js
4. Create Your MCP Server
Add the following code to src/index.js:
#!/usr/bin/env node
const { McpServer } = require("@modelcontextprotocol/sdk/server/mcp.js");
const { StdioServerTransport } = require("@modelcontextprotocol/sdk/server/stdio.js");
const { z } = require("zod");
// Create an MCP server
const server = new McpServer({
name: "demo-server",
version: "1.0.0"
});
// Add an addition tool
server.registerTool(
"add",
{
title: "Addition Tool",
description: "Add two numbers",
inputSchema: { a: z.number(), b: z.number() }
},
async ({ a, b }) => ({
content: [{ type: "text", text: String(a + b) }]
})
);
// Start receiving messages on stdin and sending messages on stdout
const transport = new StdioServerTransport();
server.connect(transport);
Running Your Server
Run your MCP server with:
node src/index.js
Project Structure
your-project/
├── src/
│ └── index.js # Main server implementation
├── package.json # Project configuration
└── README.md # This file
Next Steps
- Add more tools to your MCP server using
server.registerTool() - Implement resources using
server.registerResource() - Add error handling and logging
- Test your server with an MCP client
Additional Resources
Troubleshooting
Common Issues
- Permission denied on Linux/macOS: Make sure your script file is executable:
chmod 755 src/index.js - Module resolution errors: Ensure you are using the correct file extensions in your require/import statements
- Import errors: Use
.jsextensions in your require/import statements
README fetched from the repository 1 hours ago. The original is authoritative.