agentmail-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +25 -0
  2. package/dist/index.js +11 -0
  3. package/package.json +38 -0
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # AgentMail MCP Server
2
+
3
+ The AgentMail MCP Server provides tools for the AgentMail API.
4
+
5
+ ## Setup
6
+
7
+ ### Credentials
8
+
9
+ Get your API key from [AgentMail](https://agentmail.to)
10
+
11
+ ### Configuration
12
+
13
+ ```json
14
+ {
15
+ "mcpServers": {
16
+ "AgentMail": {
17
+ "command": "npx",
18
+ "args": ["-y", "agentmail-mcp"],
19
+ "env": {
20
+ "AGENTMAIL_API_KEY": "YOUR_API_KEY"
21
+ }
22
+ }
23
+ }
24
+ }
25
+ ```
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ import { AgentMailMcpServer } from 'agentmail-toolkit/mcp';
2
+ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
3
+ async function main() {
4
+ const server = new AgentMailMcpServer();
5
+ const transport = new StdioServerTransport();
6
+ await server.connect(transport);
7
+ }
8
+ main().catch((error) => {
9
+ console.error(error);
10
+ process.exit(1);
11
+ });
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "agentmail-mcp",
3
+ "version": "0.1.0",
4
+ "description": "AgentMail MCP Server",
5
+ "type": "module",
6
+ "bin": {
7
+ "agentmail-mcp": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "lint": "eslint .",
15
+ "prettier": "prettier --write .",
16
+ "test": "echo \"Error: no test specified\" && exit 1"
17
+ },
18
+ "keywords": [],
19
+ "author": "AgentMail <support@agentmail.to>",
20
+ "license": "MIT",
21
+ "packageManager": "pnpm@10.6.4",
22
+ "devDependencies": {
23
+ "@eslint/js": "^9.22.0",
24
+ "@types/node": "^22.13.10",
25
+ "eslint": "^9.22.0",
26
+ "eslint-config-prettier": "^10.1.1",
27
+ "globals": "^16.0.0",
28
+ "prettier": "3.5.3",
29
+ "ts-node": "^10.9.2",
30
+ "typescript": "^5.8.2",
31
+ "typescript-eslint": "^8.26.1"
32
+ },
33
+ "dependencies": {
34
+ "@modelcontextprotocol/sdk": "^1.8.0",
35
+ "agentmail": "^0.0.23",
36
+ "agentmail-toolkit": "^0.1.19"
37
+ }
38
+ }