Skip to content

Commit 0d22362

Browse files
yigitkonurclaude
andcommitted
Add Smithery configuration for MCP calculator server
- Add smithery.yaml with STDIO transport configuration - Add smithery.json with comprehensive server manifest - Enable deployment to Smithery registry with 7 tools, 3 prompts, and 4 resources 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4997c74 commit 0d22362

File tree

2 files changed

+133
-0
lines changed

2 files changed

+133
-0
lines changed

smithery.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"version": "1.0.0",
3+
"mcpVersion": "2024-11-05",
4+
"name": "Calculator Learning Demo (STDIO)",
5+
"description": "A comprehensive learning-edition MCP calculator server showcasing STDIO transport with educational features including batch operations, progress tracking, and mathematical problem solving",
6+
"author": "MCP Examples Team",
7+
"license": "MIT",
8+
"homepage": "https://github.com/yigit/mcp-server-examples",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/yigit/mcp-server-examples.git",
12+
"directory": "stdio"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/yigit/mcp-server-examples/issues"
16+
},
17+
"keywords": [
18+
"calculator",
19+
"math",
20+
"learning",
21+
"education",
22+
"stdio",
23+
"demo",
24+
"mcp",
25+
"model-context-protocol",
26+
"tools",
27+
"batch-operations",
28+
"progress-tracking"
29+
],
30+
"categories": [
31+
"productivity",
32+
"education",
33+
"development-tools"
34+
],
35+
"transport": {
36+
"type": "stdio"
37+
},
38+
"capabilities": {
39+
"tools": [
40+
{
41+
"name": "calculate",
42+
"description": "Perform basic arithmetic operations (add, subtract, multiply, divide, power, modulo)"
43+
},
44+
{
45+
"name": "batch_calculate",
46+
"description": "Perform multiple calculations in a single request with progress tracking"
47+
},
48+
{
49+
"name": "advanced_calculate",
50+
"description": "Advanced mathematical operations including trigonometry, logarithms, and more"
51+
},
52+
{
53+
"name": "demo_progress",
54+
"description": "Demonstrate progress notifications for long-running operations"
55+
},
56+
{
57+
"name": "solve_math_problem",
58+
"description": "Solve complex mathematical word problems with step-by-step explanations"
59+
},
60+
{
61+
"name": "explain_formula",
62+
"description": "Provide detailed explanations of mathematical formulas and concepts"
63+
},
64+
{
65+
"name": "calculator_assistant",
66+
"description": "Interactive calculator assistant for educational guidance"
67+
}
68+
],
69+
"resources": [
70+
{
71+
"name": "calculator://constants",
72+
"description": "Mathematical constants like PI, E, and others"
73+
},
74+
{
75+
"name": "calculator://stats",
76+
"description": "Server usage statistics and performance metrics"
77+
},
78+
{
79+
"name": "formulas://library",
80+
"description": "Library of common mathematical formulas"
81+
},
82+
{
83+
"name": "calculator://history/{id}",
84+
"description": "Access calculation history by ID"
85+
}
86+
],
87+
"prompts": [
88+
{
89+
"name": "explain-calculation",
90+
"description": "Generate educational explanations for calculations"
91+
},
92+
{
93+
"name": "generate-problems",
94+
"description": "Create math problems for practice"
95+
},
96+
{
97+
"name": "calculator-tutor",
98+
"description": "Act as a math tutor using calculator capabilities"
99+
}
100+
]
101+
},
102+
"runtime": {
103+
"node": ">=18.0.0"
104+
}
105+
}

smithery.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 1
2+
id: calculator-learning-demo-stdio
3+
name: Calculator Learning Demo (STDIO)
4+
description: A learning-edition MCP calculator server demonstrating STDIO transport with 7 tools, 3 prompts, and 4 resources for educational purposes
5+
author: MCP Examples Team
6+
homepage: https://github.com/yigit/mcp-server-examples
7+
tags:
8+
- calculator
9+
- math
10+
- learning
11+
- education
12+
- stdio
13+
- demo
14+
15+
configSchema:
16+
type: object
17+
properties: {}
18+
required: []
19+
additionalProperties: false
20+
21+
startCommand:
22+
type: stdio
23+
commandFunction: |
24+
(cfg) => ({
25+
command: 'node',
26+
args: ['dist/server-stdio.js'],
27+
env: {}
28+
})

0 commit comments

Comments
 (0)